[Gtkhs] installing gtk+hs on debian
Eric Chi-Liang Mak
ecma808 at cse.unsw.EDU.AU
Sun Oct 12 02:21:45 EDT 2003
On Thu, 9 Oct 2003, Jens Petersen wrote:
> >>>>> "ECM" == Eric Chi-Liang Mak <ecma808 at cse.unsw.EDU.AU> writes:
>
> ECM> Hi all, I'm trying to install gtk+hs 0.15.2 on a
> ECM> debian testing box (ghc 5.04.3 deb package, c2hs
> ECM> 0.10.17 compiled from source), and am having
> ECM> problems. configure works fine, but when I run
> ECM> make, c2hs chokes on my glib header files as
> ECM> follows:
>
> ECM> Daedalus:~/gtk+hs-0.15.2$ make Entering preparation
> ECM> phase... make[1]: Entering directory
> ECM> `/home/aesthiri/gtk+hs-0.15.2/glib'
> ECM> /usr/local/bin/c2hs
> ECM> --cppopts="-I/usr/include/gtk-1.2
> ECM> -I/usr/include/glib-1.2 -I/usr/lib/glib/include
> ECM> -D_REENTRANT" glib.h GList.chs c2hs: Error limit of
> ECM> 20 errors has been reached.
> ECM> /usr/include/bits/local_lim.h:36: (column 0)
> ECM> [ERROR]
> >>>> Lexical error!
> ECM> The character '#' does not fit here; skipping it.
> ECM> /usr/include/bits/local_lim.h:37: (column 1)
> ECM> [ERROR]
> >>>> Lexical error!
> ECM> The character '#' does not fit here; skipping it.
> ECM> /usr/include/bits/local_lim.h:38: (column 1)
> ECM> [ERROR]
> >>>> Lexical error!
> ECM> The character '#' does not fit here; skipping it.
>
> Sounds kind of familiar, but I don't remember exactly right
> now. Just a wild guess but what happens if you build with
> LANG=C btw?
>
> Jens
> _______________________________________________
> Gtkhs mailing list
> Gtkhs at haskell.org
> http://www.haskell.org/mailman/listinfo/gtkhs
>
Hi Jens,
Thanks for replying - still stuck on this. LANG=C when I got this error.
Cheers,
Eric
More information about the Gtkhs
mailing list