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
On Dec 18, 3:43 am, ben kuin <benk...@gmail.com> wrote: