Version française
Home     About     Download     Resources     Contact us    
Browse thread
OCaml and Leopard
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Ralph Douglass <ralph@g...>
Subject: Re: [Caml-list] OCaml and Leopard
sudo su -
cd ~/<you>/Downloads/godi-bootstrap-20061228
./bootstrap --prefix /opt/local/godi
export PATH=/opt/local/godi/bin:/opt/local/godi/sbin:$PATH
export MACOSX_DEPLOYMENT_TARGET=10.4
./boostrap_stage2

Enjoy.


On 11/2/07, Nathaniel Gray <n8gray@gmail.com> wrote:
>
> On Nov 2, 2007 12:24 PM, Joel Reymont <joelr1@gmail.com> wrote:
> > I'm having trouble compiling OCaml from CVS on Mac OSX Leopard.
> >
> > Any suggestions on how to troubleshoot this?
>
> I got the same problem building 3.10 on godi.
>
>
> > ---
> >
> > + cd asmrun
> > + make all meta.o dynlink.o
> > ...
> > gcc -I../byterun -DCAML_NAME_SPACE -DNATIVE_CODE -DTARGET_i386 -
> > DSYS_macosx  -O -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT   -c -o
> > signals_asm.o signals_asm.c
> > signals_asm.c: In function 'segv_handler':
> > signals_asm.c:193: error: dereferencing pointer to incomplete type
> > signals_asm.c:193: error: dereferencing pointer to incomplete type
> > signals_asm.c: In function 'caml_init_signals':
> > signals_asm.c:241: error: storage size of 'stk' isn't known
> > signals_asm.c:241: warning: unused variable 'stk'
> > make: *** [signals_asm.o] Error 1
>
> This makes me think maybe there's a system header file that's moved,
> though I haven't looked in any detail yet.
>
> Cheers,
> -n8
>
> --
> >>>-- Nathaniel Gray -- Caltech Computer Science ------>
> >>>-- Mojave Project -- http://mojave.cs.caltech.edu -->
>
> _______________________________________________
> 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
>



-- 
Ralph