From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=HTML_MESSAGE autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by yquem.inria.fr (Postfix) with ESMTP id 72EEEBC6B for ; Sat, 3 Nov 2007 14:35:39 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAAAPgVLEfRVca6mGdsb2JhbACCc4t8AgEBBwQEExg X-IronPort-AV: E=Sophos;i="4.21,366,1188770400"; d="scan'208";a="18896972" Received: from concorde.inria.fr ([192.93.2.39]) by mail4-smtp-sop.national.inria.fr with ESMTP; 03 Nov 2007 14:35:39 +0100 Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by concorde.inria.fr (8.13.6/8.13.6) with ESMTP id lA3DZdiE017073 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=OK) for ; Sat, 3 Nov 2007 14:35:39 +0100 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAAAPgVLEfRVca6mGdsb2JhbACCc4t8AgEBBwQEExg X-IronPort-AV: E=Sophos;i="4.21,366,1188770400"; d="scan'208";a="18896968" Received: from rv-out-0910.google.com ([209.85.198.186]) by mail4-smtp-sop.national.inria.fr with ESMTP; 03 Nov 2007 14:35:38 +0100 Received: by rv-out-0910.google.com with SMTP id f5so855224rvb for ; Sat, 03 Nov 2007 06:35:37 -0700 (PDT) Received: by 10.142.131.18 with SMTP id e18mr762024wfd.1194096937270; Sat, 03 Nov 2007 06:35:37 -0700 (PDT) Received: by 10.142.164.7 with HTTP; Sat, 3 Nov 2007 06:35:37 -0700 (PDT) Message-ID: <71767b800711030635q4ace97dewd8c988f4e2ed9e40@mail.gmail.com> Date: Sat, 3 Nov 2007 09:35:37 -0400 From: "Ralph Douglass" To: "Caml List" Subject: Re: [Caml-list] OCaml and Leopard In-Reply-To: <71767b800711030634h3363d35av64a4b5a49e318090@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_13720_21345582.1194096937276" References: <100AE1A2-D155-4821-84D0-DCEDE74FE9EF@gmail.com> <71767b800711030634h3363d35av64a4b5a49e318090@mail.gmail.com> X-Miltered: at concorde with ID 472C792B.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; ocaml:01 --prefix:01 ocaml:01 cvs:01 asmrun:01 dynlink:01 gcc:01 byterun:01 -dnative:01 -dtarget:01 -wall:01 pointer:01 pointer:01 cheers:01 beginner's:01 ------=_Part_13720_21345582.1194096937276 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Oh right, edit your /opt/local/godi/etc/godi.conf for 3.10 between bootstrap and bootstrap_stage2. On 11/3/07, Ralph Douglass wrote: > > sudo su - > cd ~//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 wrote: > > > > On Nov 2, 2007 12:24 PM, Joel Reymont 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 -- Ralph ------=_Part_13720_21345582.1194096937276 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Oh right, edit your /opt/local/godi/etc/godi.conf for 3.10 between bootstrap and bootstrap_stage2.

On 11/3/07, Ralph Douglass < ralph@grayskies.net> wrote:
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



--
Ralph ------=_Part_13720_21345582.1194096937276--