Simon Marlow <marlo...@gmail.com> writes: > On 08/04/2010 16:26, Simon Marlow wrote: > >> I did 'make clean', re-configured with --disable-split-objs, and I still >> see the same error. Any more ideas? >> >> gtk/Graphics/UI/Gtk.hs.pp:295:0: >> Failed to load interface for `Graphics.UI.Gtk.General.AccelGroup': >> Use -v to see a list of the files searched for. > > I just noticed there is an earlier error that didn't cause the build to > stop, but perhaps this is the real problem: > > ./tools/c2hs/c2hsLocal +RTS -RTS -iglib:cairo::gtk > --precomp=gtk/gtk.precomp -o gtk/Graphics/UI/Gtk/Entry/Entry.hs > gtk/Graphics/UI/Gtk/Entry/Entry.chs > c2hsLocal: Errors during expansion of binding hooks: > > gtk/Graphics/UI/Gtk/Entry/Entry.chs.pp:255: (column 8) [ERROR] > >>> Unknown identifier! > Cannot find a definition for `EntryIconPosition' in the header file. Hmm, it's a problem Enum `IconPosition` that never wrap `#if GTK_CHECK_VERSION(2,16,0) ... #endif` Because Gtk+ Reference manual haven't add version information for Enum, so it's hard to find this error when i update APIs.
I have push new patch, can you test again? Thanks, -- Andy ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Gtk2hs-devel mailing list Gtk2hs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gtk2hs-devel