[Haskell-cafe] Re: gtk2hs with old gtk2
lazycat.manatee at gmail.com
Sat Aug 14 02:20:30 EDT 2010
Johannes Waldmann <waldmann at 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 binding hooks:
> ./System/GIO/Types.chs:584: (column 12) [ERROR]
> >>> Unknown identifier!
> 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
Can you update your glib library?
More information about the Haskell-Cafe