On Sat, 26 Nov 2005, judi chen wrote:
Hi,
I tried to install ocaml and then do make at /math
directory
but I got the following error msg when I tried to do
make
[root@localhost math]# make
ocamlopt -c util.ml
make: ocamlopt: Command not found
make: *** [util.cmx] Error 127
[root@localhost math]# ocamlopt
bash: ocamlopt: command not found
ocaml seems to be installed but no ocamlopt
any suggestion?
That's unusual. If you are using Linux, reinstall it using the rpm or deb
which comes with your distro. Otherwise you can build it from source, in
which case don't forget to build ocamlopt (the native code compiler) with
the 'make opt' command.
Alternatively, if ocamlc is installed and working, you can try this (not
tested):
make texvc.bc # builds the bytecode version of texvc
cp texvc.bc texvc # rename it
That should make bytecode (ocamlc) instead of native code (ocamlopt). I
don't think it makes any difference in this context, except that the
native code compilation generates a standalone executable whereas the
bytecode requires the virtual machine to be installed (ocamlrun included
in the ocaml package).
Martin
--
Martin Jambon, PhD
http://martin.jambon.free.fr
Store and share your bioinformatics tips at
http://wikiomics.org