'make all' on ubuntu karmic (9.10) fails

5 views
Skip to first unread message

ben kuin

unread,
Dec 18, 2009, 3:43:40 AM12/18/09
to ocamljs discuss
hi

I try to install ocamljs from svn on ubuntu karmic, but it fails.
Maybe someone could have a look into that. Thanks alot ... and Jake:
congrats to the baby :-) !
ben

the error message
---------------------------
Camlp4: Uncaught exception: DynLoader.Error ("./
lambda_meta_generator.cmo", "interface mismatch on Camlp4_import")

error replication
----------------------
svn checkout http://ocamljs.googlecode.com/svn/trunk/ ocamljs-read-
only
cd ocamljs-read-only
./configure -srcdir ~/install/ocamlsrc/ocaml-3.11.0

my specs
---------------
$ svn info | grep Revision
Revision: 231

$ ocamlc -v
The Objective Caml compiler, version 3.11.0
Standard library directory: /usr/local/lib/ocaml

$ cat /etc/lsb-release
DISTRIB_CODENAME=karmic
DISTRIB_DESCRIPTION="Ubuntu 9.10"

log
----
$ make all
for pkg in jslib jscomp ocamljs stdlib javascript mozilla dom lwt-js
gears jquery ounit-js; do \
make -C src/$pkg all || exit; \
done
make[1]: Entering directory `/home/ben/install/ocamljs/ocamljs-read-
only/src/jslib'
OCAMLFIND_IGNORE_DUPS_IN=/usr/local/lib/ocaml/site-lib \
OCAMLPATH=`pwd`/../../stage \
ocamlbuild jslib.cma jslib.cmxa syntax_quotations.cmo
syntax_inline.cmo syntax_lambda.cmo
Finished, 0 targets (0 cached) in 00:00:00.
+ ../../../bin/ocamlfindjs ocamldep -package camlp4 -package
camlp4.foldgenerator -package camlp4.macro -package
camlp4.metagenerator -package camlp4.quotations -syntax camlp4o -ppopt
lambda_meta_generator.cmo -modules jslib_ast.mli >
jslib_ast.mli.depends
Camlp4: Uncaught exception: DynLoader.Error ("./
lambda_meta_generator.cmo", "interface mismatch on Camlp4_import")

Preprocessing error on file jslib_ast.mli
Command exited with code 2.
make[1]: *** [all] Error 10
make[1]: Leaving directory `/home/ben/install/ocamljs/ocamljs-read-
only/src/jslib'
make: *** [all] Error 2

ben kuin

unread,
Dec 18, 2009, 4:16:33 AM12/18/09
to ocamljs discuss
never mind problem solved. I think there was a problem with findlib.
I've rebuilt ocaml and findlib and reinstalled it from scratch.

ben kuin

unread,
Dec 18, 2009, 4:29:47 AM12/18/09
to ocamljs discuss
never mind problem solved. I think there was a problem with findlib.
I've rebuilt ocaml and findlib and reinstalled it from scratch.

On Dec 18, 3:43 am, ben kuin <benk...@gmail.com> wrote:

Jake Donham

unread,
Dec 18, 2009, 1:14:56 PM12/18/09
to ocamljs...@googlegroups.com
OK, glad it worked out for you. I always build everything from source
so I haven't done much testing against distribution packages.
Reply all
Reply to author
Forward
0 new messages