I just did a fresh install and it is working fine for me when I use the normal method. The ocamlbuild method seems to compile fine, but make install gives some error. I checked ocamlbuild's log file and the last line says "Compilation successful", but when I do make install it says "cp: ocamlc: No such file or directory", although I verified that _build/ocamlc does exist. This seems like a different error than yours.


On Thu, Mar 5, 2009 at 10:39 AM, Joel Reymont <joelr1@gmail.com> wrote:

On Mar 5, 2009, at 3:10 PM, David Allsopp wrote:

Have you tried building the normal way (./configure -cc "gcc -m64" && make
world bootstrap opt opt.opt install)? fastbuild.sh is experimental IFAIK


Makes no difference.

make libraryopt
cd stdlib; make allopt
../boot/ocamlrun ../ocamlopt -warn-error A -nostdlib -g `./Compflags pervasives.cmx` -c pervasives.ml
/var/folders/pc/pcNEaYn32RW2i++8ZQvErU+++TM/-Tmp-/camlasm1dfba1.s:602:junk `@PLT' after expression
/var/folders/pc/pcNEaYn32RW2i++8ZQvErU+++TM/-Tmp-/camlasm1dfba1.s:633:junk `@PLT' after expression
...
File "pervasives.ml", line 1, characters 0-1:
Error: Assembler error, input left in file /var/folders/pc/pcNEaYn32RW2i++8ZQvErU+++TM/-Tmp-/camlasm1dfba1.s
make[2]: *** [pervasives.cmx] Error 2
make[1]: *** [libraryopt] Error 2
make: *** [opt] Error 2

---
http://tinyco.de
Mac, C++, OCaml




_______________________________________________
Caml-list mailing list. Subscription management:
http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
Archives: http://caml.inria.fr
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs