Version française
Home     About     Download     Resources     Contact us    
Browse thread
building 64bit ocaml from cvs on mac osx leopard
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Nicolas Pouillard <nicolas.pouillard@g...>
Subject: Re: [Caml-list] building 64bit ocaml from cvs on mac osx leopard
Excerpts from Ashish Agarwal's message of Thu Mar 05 19:12:23 +0100 2009:
> 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.


When using the ocamlbuild procedure, the installation is done via
./build/install.sh.

BTW what were your errors with the `make' procedure?

> 
> 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
> >

-- 
Nicolas Pouillard