ocaml-tmk-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Ocaml-tmk-devel] Re: ocaml-curses 1.0.0


From: Richard Jones
Subject: [Ocaml-tmk-devel] Re: ocaml-curses 1.0.0
Date: Fri, 17 Aug 2007 11:49:45 +0100
User-agent: Mutt/1.5.9i

On Thu, Aug 16, 2007 at 04:30:40PM -0700, Shivkumar Chandrasekaran wrote:
> Hi Richard,
> 
> I just tried installing this on Mac OS X (10.4) with ocaml (3.10  
> installed via Godi) and it chokes on functions.c. I tried running  
> this by hand but the first error is:
> 
> ~/Desktop/ocaml-curses-1.0.0 shiv$ gcc -Wall -fPIC -DPIC functions.c
> functions.c:4: error: parse error before 'ML2'
> functions.c:5: error: parse error before 'ML3'
[...]
> PS: I think some include file is gone missing may be? Where is the  
> definition of ML1 etc.

They're defined in ml_curses.c.  The problem on Mac OS X seems to be
that the system cpp is useless, and you need to use "gcc -E" instead.
CVS contains a patch which fixes this.

Rich.

-- 
Richard Jones
Red Hat




reply via email to

[Prev in Thread] Current Thread [Next in Thread]