View Single Post
Old 11-25-2008, 02:16 PM   #4
thomega
Connoisseur
thomega began at the beginning.
 
Posts: 56
Karma: 22
Join Date: Oct 2008
Location: Würzburg, Germany
Device: iRex DR1000S
Quote:
Originally Posted by adi View Post
I did not install any of the ocaml libraries (since I do not know how to, and the install file says that configure script can do that for me). However, I get an error with ./configure

Code:
configure: checking for CamlPDF installation...
File "conftest.ml", line 2, characters 18-37:
Unbound value Pdfdoc.add_pagetree
configure: error: compilation of CamlPDF test program failed
See `config.log' for more details.
Any ideas on what is going on?
configure doesn't find the CamlPDF library. You have to invoke it with

./configure --with-ocaml-sqlite3=build --with-camlpdf=build

in order to instruct it to download the sources of OCaml-SQLite3 (SQLite3 bindings for O'Caml, not part of SQLite3) and CamlPDF.

BTW:

./configure --help

explains that, but my suggestion to

./configure --help
./configure [options]
make

at the end of INSTALL are apparently not persuasive enough.
thomega is offline   Reply With Quote