[Haskell-cafe] Re: gtk2hs with old gtk2

2010-08-19 Thread Johannes Waldmann
I finally got gtk2hs (and leksah) working: I was compiling all the gtk+ stuff from sources, with ./configure --prefix=/opt/gtk and custom CPPFLAGS LDFLAGS PKG_CONFIG_PATH LD_LIBRARY_PATH as described here: http://library.gnome.org/devel/gtk/unstable/gtk-building.html

[Haskell-cafe] Re: gtk2hs with old gtk2

2010-08-14 Thread Andy Stewart
Johannes Waldmann waldm...@imn.htwk-leipzig.de writes: Andy Stewart lazycat.manatee at gmail.com writes: Just cabal install is enough. Hm. That's what bootstrap.sh does, and it builds tools, then glib, but then: Preprocessing library gio-0.11.0... gtk2hsC2hs: Errors during expansion of

Re: [Haskell-cafe] Re: gtk2hs with old gtk2

2010-08-14 Thread Brandon S Allbery KF8NH
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 8/14/10 02:20 , Andy Stewart wrote: Cannot find a definition for `Emblem' in the header file. Because GEmblem is need Glib 2.18, mabye your glib is too old. You can use command 'pkg-config --modversion glib-2.0' check your glib version.

[Haskell-cafe] Re: gtk2hs with old gtk2

2010-08-13 Thread Andy Stewart
Johannes Waldmann waldm...@imn.htwk-leipzig.de writes: I'm trying to build gtk2hs on debian/lenny, that is, with gtk2 v. 2.12 if I understand this correctly. I got the gtk2hs sources from darcs (I guess it's 0.11.0) and http://www.haskell.org/gtk2hs/ says You need to specify -f-gtk_2_20 for

[Haskell-cafe] Re: gtk2hs with old gtk2

2010-08-13 Thread Johannes Waldmann
Andy Stewart lazycat.manatee at gmail.com writes: Just cabal install is enough. Hm. That's what bootstrap.sh does, and it builds tools, then glib, but then: Preprocessing library gio-0.11.0... gtk2hsC2hs: Errors during expansion of binding hooks: ./System/GIO/Types.chs:584: (column 12)