[Gtkhs] installing gtk+hs on debian
Eric Chi-Liang Mak
ecma808 at cse.unsw.EDU.AU
Mon Sep 15 03:54:47 EDT 2003
Hi all,
I'm trying to install gtk+hs 0.15.2 on a debian testing box (ghc 5.04.3
deb package, c2hs 0.10.17 compiled from source), and am having
problems. configure works fine, but when I run make, c2hs chokes on my
glib header files as follows:
Daedalus:~/gtk+hs-0.15.2$ make
Entering preparation phase...
make[1]: Entering directory `/home/aesthiri/gtk+hs-0.15.2/glib'
/usr/local/bin/c2hs --cppopts="-I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT" glib.h
GList.chs
c2hs: Error limit of 20 errors has been reached.
/usr/include/bits/local_lim.h:36: (column 0) [ERROR]
>>> Lexical error!
The character '#' does not fit here; skipping it.
/usr/include/bits/local_lim.h:37: (column 1) [ERROR]
>>> Lexical error!
The character '#' does not fit here; skipping it.
/usr/include/bits/local_lim.h:38: (column 1) [ERROR]
>>> Lexical error!
The character '#' does not fit here; skipping it.
... more errors with identical errors msg from various other header files
...
make[1]: *** [GList.hs] Error 1
make[1]: Leaving directory `/home/aesthiri/gtk+hs-0.15.2/glib'
make: *** [prep] Error 2
Is my glib simply fubared, or is there something wrong with my c2hs
install? I get the same error when I try to compile gtk+hs 0.14.10 as
well.
Thanks!
Eric
More information about the Gtkhs
mailing list