View Single Post
Old 01-16-2009, 04:50 PM   #23
Viacheslav
Connoisseur
Viacheslav doesn't litterViacheslav doesn't litter
 
Posts: 59
Karma: 136
Join Date: Dec 2008
Device: iRex DR1000
Quote:
Originally Posted by thomega View Post
You don't. Just use the --with-camlpdf=<directory> option of configure to point it to the directory where you compiled CamlPDF. Alternatively, --with-camlpdf=build will download and compile CamlPDF and set the correct directory.
configure --with-ocaml-sqlite3=build --with-camlpdf=build does not work . ocaml-sqlite3-1.2.0 no longer exists. It was replaced by 1.3.0, which fails to build with
Code:
config.status: creating META
ocamlc -w A -warn-error A -pp "cpp -DHAS_ENABLE_LOAD_EXTENSION" -c sqlite3.mli
ocamlc -w A -warn-error A -pp "cpp -DHAS_ENABLE_LOAD_EXTENSION" -c sqlite3.ml
gcc -I/usr/lib/include -I/usr/lib/ocaml -g -O2 -DHAS_ENABLE_LOAD_EXTENSION -fPIC -Wall -pedantic -Werror -Wno-long-long   -c -o sqlite3_stubs.o sqlite3_stubs.c
cc1: warnings being treated as errors
sqlite3_stubs.c: In function 'ref_count_finalize_dbw':
sqlite3_stubs.c:280: warning: implicit declaration of function 'caml_remove_generational_global_root'
sqlite3_stubs.c: In function 'register_user_function':
sqlite3_stubs.c:1013: warning: implicit declaration of function 'caml_register_generational_global_root'
make: *** [sqlite3_stubs.o] Error 1
configure: error:  failed
See `config.log' for more details.
What can be done here? I tried to compile caml-sqlite3 autonomously, but it fails . libsqlite3-devel and static devel files ver3.5 are installed.

I wish it were written in C, so it would be possible to run the merger on the reader itself...

Last edited by Viacheslav; 01-16-2009 at 05:12 PM.
Viacheslav is offline   Reply With Quote