[Haskell-cafe] Haskell School of Expression?
paul at theV.net
paul at theV.net
Sat Dec 17 13:52:49 EST 2005
It is caused by the incompatiblity change of ffihugs
in Hugs 20050308 version.
To solve it, change a few lines in GraphicsLib/lib/x11/Makefile
78c78
< ffihugs +G +L"$*_stub_ffi.c" $*.hs
---
> ffihugs '-i"$*_stub_ffi.c"' $*.hs
129,130c129,130
< ffihugs +G +L"Xlib_stub_ffi.c" \
< +L"cbits/auxiliaries.c" +L"-L$(X_dir)/lib" +L"-lX11" Xlib.hs
---
> ffihugs '-i"Xlib_stub_ffi.c"' \
> '-i"cbits/auxiliaries.c"' Xlib.hs -L$(X_dir)/lib -lX11
Then, it all works out fine.
Regards,
Paul Liu
On Fri, Dec 16, 2005 at 12:28:14AM -0600, Creighton Hogg wrote:
> Hi,
> Has anyone recently tried to install the graphics libraries
> included on
> http://haskell.org/soe/software.htm ?
> I've tried to make the libraries, but I get these errors.
>
> make: Entering directory
> `/home/wchogg/coding/haskell/GraphicsLib/lib/x11'
> ffihugs +G +L"X_stub_ffi.c" X.hs
> Warning: unknown toggle `G'; ignoring.
> Warning: unknown toggle `L'; ignoring.
> runhugs: Unable to initialise Hugs (Unrecognised option
>
> )
>
> I honestly can't figure out what the incompatibility is?
> I'm using version 20050308 of Hugs
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>
More information about the Haskell-Cafe
mailing list