Version française
Home     About     Download     Resources     Contact us    
Browse thread
pervasives.cmi is not a compiled interface
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Joel Reymont <joelr1@g...>
Subject: pervasives.cmi is not a compiled interface
This must be a simple issue but I can't figure it out.

I built ocaml from source using 'make world.opt'.

I'm using ocamlbuild as my build system.

cat build.sh
#!/bin/sh

ocamlbuild -classic-display $*

./build.sh src/test.byte

/usr/local/bin/ocamlopt.opt -I /usr/local/lib/ocaml/ocamlbuild  
unix.cmxa /usr/local/lib/ocaml/ocamlbuild/ocamlbuildlib.cmxa  
myocamlbuild.ml /usr/local/lib/ocaml/ocamlbuild/ocamlbuild.cmx -o  
myocamlbuild
+ /usr/local/bin/ocamlopt.opt -I /usr/local/lib/ocaml/ocamlbuild  
unix.cmxa /usr/local/lib/ocaml/ocamlbuild/ocamlbuildlib.cmxa  
myocamlbuild.ml /usr/local/lib/ocaml/ocamlbuild/ocamlbuild.cmx -o  
myocamlbuild
/usr/local/lib/ocaml/pervasives.cmi is not a compiled interface
Command exited with code 2.

What am I doing wrong?

	Thanks, Joel

--
wagerlabs.com