[Remind-Fans] announcement: Wyrd 0.1.0

John Shafer jshafer at nd.edu
Fri Apr 15 15:44:57 EDT 2005


Ok, I tried your fix, but it failed on the last command with the output:

File "curses/functions.c", line 3, characters 33-34:
Syntax error

I really appreciate you helping me out with this problem.  I can 
configure, make, and make install, but past that, I'm lost!

John

On Apr 15, 2005, at 2:26 PM, Paul Pelzl wrote:

> On Fri, Apr 15, 2005 at 01:56:58PM -0500, John Shafer wrote:
>> Here is the output:
>>
>> # 1 "curses/curses.mli"
>> #pragma GCC set_debug_pwd "/Users/jshafer/Desktop/wyrd-0.1.0"
>> # 1 "<built-in>"
>> # 1 "<command line>"
>> # 1 "curses/curses.mli"
>> type window
>> and screen
>> and terminal
>> and chtype = int
>> and attr_t = int
>
> ocamlc doesn't seem to like the #pragma line that gets inserted by the 
> C
> preprocessor.  I don't have that line--it must be caused by something
> unique to the OS X GCC setup.  Any experts here have ideas on how to 
> get
> rid of that artifact?
>
> On the bright side, the C preprocessor is only really needed for the
> compilation of one file.  I think you can do a manual fix as follows:
>
> $ ocamlc.opt -c -g -I ./curses curses/curses.mli
> $ cpp curses/curses.ml > curses-pp.ml
> <edit curses-pp.ml and remove any #pragma lines>
> $ mv curses-pp.ml curses/curses.ml
> $ ocamlopt.opt -c -I ./curses curses/curses.ml
>
> Then run 'make' and hopefully everything else will work as expected.
>
> Paul
>
> _______________________________________________
> Remind-fans mailing list
> Remind-fans at whatexit.org
> http://whatexit.org/mailman/listinfo/remind-fans
>
>




More information about the Remind-fans mailing list