compile problems

11 views
Skip to first unread message

Buz Wilson

unread,
Aug 6, 2009, 5:27:08 PM8/6/09
to po...@googlegroups.com
Hi All
Tried to compile the latest version.
Got:
"
ocamlbuild.native poy.native
+ /usr/bin/ocamlc.opt -c -cc mpicc -ccopt -fPIC -ccopt -O3 -ccopt -msse
-I camlpdf-0.3 -I grappa -I plugins -I gz-0.5.7 -I ocamlmpi -o
nodeSig.cmo nodeSig.ml
File "nodeSig.ml", line 1, characters 0-1:
Could not find the .cmi file for interface nodeSig.mli.
Command exited with code 2.
"

To save me some time searching out the meaning of this, what is the
problem exactly? My compile script ran fine on the previous version.
Incidently, here's the simple compile script:
"
svn checkout http://poy4.googlecode.com/svn/trunk/ poy4-read-only
cd poy4-read-only
./configure --enable-mpi --enable-interface=flat CC=mpicc CFLAGS="-O3 -msse"
make
sudo make install
"
It assumes svn mpich ocaml as normal.

Buz Wilson
Australian Museum

Andres Varon

unread,
Aug 6, 2009, 5:29:47 PM8/6/09
to po...@googlegroups.com

On Aug 6, 2009, at 5:27 PM, Buz Wilson wrote:

>
> Hi All
> Tried to compile the latest version.
> Got:
> "
> ocamlbuild.native poy.native
> + /usr/bin/ocamlc.opt -c -cc mpicc -ccopt -fPIC -ccopt -O3 -ccopt -
> msse
> -I camlpdf-0.3 -I grappa -I plugins -I gz-0.5.7 -I ocamlmpi -o
> nodeSig.cmo nodeSig.ml
> File "nodeSig.ml", line 1, characters 0-1:
> Could not find the .cmi file for interface nodeSig.mli.
> Command exited with code 2.
> "
>
> To save me some time searching out the meaning of this, what is the
> problem exactly?

Basically you had compiled previous versions of POY in that directory,
and some changes need you to cleanup the old compiled files. The
solution:

make clean

then make again. It should work fine.

best,

Andres
Reply all
Reply to author
Forward
0 new messages