View Single Post
Old 02-08-2009, 07:19 AM   #42
ghostwheel
Zealot
ghostwheel has learned how to buy an e-book online
 
Posts: 133
Karma: 93
Join Date: May 2006
Device: DBoox Max,Galaxy note 10.1 & 3,LE1700 tablet,sony PRS-500,iRex DR1000S
Quote:
Originally Posted by thomega View Post
Yep: either ocamlc -custom -ccopt -static (assuming that the C compiller / linker understands -static) to create a custom bytecode interpreter including all the libs or ocamlopt -ccopt -static for native binaries that include everything. The latter is usually the way to go.

Just edit the definitions of OCAMLC and OCAMLOPT in the Makefile and recompile from scratch.
I tried both, and couldn't get them to work. The latter has this error
Code:
Cannot find file sqlite3.cmxa
when I did "make ism.opt"
just "make all" did not use ocamlopt at all.

The first complained about lcrt.0 or so.

So, I tried to do without....:
Attached is a small app I made from irextools. You can drop one or more PDFs into it, and it will join the scribbles, or you can drop a directory or a metadata.db file into it, and it will list all the files to see which ones have scribbles.
It also contains the binaries for irext and ism if you want to use it from the command line.


I included also the libraries that are needed, but I'm not sure if it will work. I haven't managed to change the location where the binaries look for libraries.
If it doesn't work, but you'd like it to, you can install fink, and then install
sqlite3-shlibs and libncurses5-shlibs
(either from FinkCommander or by doing
sudo apt-get install sqlite3-shlibs libncurses5-shlibs)


Quote:
Originally Posted by thomega View Post
Is there a danger that commercial libraries will be linked that may not be redistributed?
In the current version, no. It only includes non-comercial libs.
Attached Files
File Type: zip irextool.app.zip (953.0 KB, 517 views)

Last edited by ghostwheel; 02-08-2009 at 04:17 PM.
ghostwheel is offline   Reply With Quote