Thanks Jeremy that fixed it
I do have another problem however:
File "lite_database.ml", line 1, characters 0-11:
Unbound module Sqlite
make[1]: *** [lite_database.cmi] Error 2
make[1]: Leaving directory `/home/manu/Installs/links-0.5.0'
make: *** [native-code] Error 2
in Makefile.config I have :
# SQL Lite
SQLITE_LIBDIR=/usr/lib/ocaml/3.10.2/stublibs
and I have the Ocaml bindings for SQLite3 installed :
$ ocamlfind list
...
num.core (version: [internal])
sqlite3 (version: 1.2.0)
stdlib (version: [distributed with Ocaml])
...
Is it SQLite or SQLite3 that Links expects, or does it support both...
In that case, what might be causing the compile error ?
Thanks
Emmanuel
Jeremy Yallop wrote:
Manu wrote:
I have ocaml 3.10.2 installed and I am running Ubuntu 9.04
I think that you need to install the camlp4-extra package:
sudo apt-get install camlp4-extra
m...@chleb:~/Installs/links-0.5.0$ make nc
cd deriving-310 && make
make[1]: Entering directory
`/home/manu/Installs/links-0.5.0/deriving-310'
cd syntax && make
make[2]: Entering directory
`/home/manu/Installs/links-0.5.0/deriving-310/syntax'
ocamlc.opt -c -pp "camlp4of -loc loc" -dtypes -dtypes -w Ae -I
/usr/lib/ocaml/3.10.2/camlp4 -I /usr/lib/ocaml/3.10.2/stublibs -I
deriving-310/lib type.ml
sh: camlp4of: not found
Preprocessor error
make[2]: *** [type.cmo] Error 2
make[2]: Leaving directory
`/home/manu/Installs/links-0.5.0/deriving-310/syntax'
make[1]: *** [built] Error 2
make[1]: Leaving directory
`/home/manu/Installs/links-0.5.0/deriving-310'
make: *** [deriving-310/built] Error 2
m...@chleb:~/Installs/links-0.5.0$
_______________________________________________
links-users mailing list
[email protected]
http://lists.inf.ed.ac.uk/mailman/listinfo/links-users