From: Axel S. <Axe...@in...> - 2010-03-01 11:30:37
|
Hi John, On 01.03.2010, at 11:13, John Lato wrote: > On Sat, Feb 27, 2010 at 9:07 PM, Bertram Felgenhauer > <ber...@go...> wrote: >> John Lato wrote: >> [belated build error] >>> >>> gtk/Graphics/UI/Gtk/Builder.chs.pp:163: (column 18) [ERROR] >>> >>> Unknown identifier! >>> Cannot find a definition for `builder_add_objects_from_file' in >>> the >>> header file. >>> gtk/Graphics/UI/Gtk/Builder.chs.pp:184: (column 18) [ERROR] >>> >>> Unknown identifier! >>> Cannot find a definition for `builder_add_objects_from_string' in >>> the header file. >> >> These symbols are new in gtk+ 2.14, but the code is compiled for gtk+ >> 2.12 or later. You are probably using 2.12.x. You can try >> pkg-config --modversion gtk+-2.0 >> to verify that. >> >>> Any suggestions of where to look next would be greatly appreciated. >>> This is particularly frustrating as I was just able to build gtk2hs >>> using a very similar setup on Snow Leopard. >> >> If you don't need Builder, try changing the version check to 2.14 >> instead. > > Hi Bertram, > > Thanks very much for this. I'll try this out and hopefully it works. > I'm not using Builder, so I should be able to move forward somehow. > > On a related note, is there documentation anywhere of which gtk+ (and > other package) versions are supported by gtk2hs? The requirements > section of the download page just says gtk+ 2.0 or later, which I'm > skeptical of. This is in principal correct. We have #ifdef's around those functions that were introduced from a certain version onwards. In your case we forgot to put these tests around the functions in Builder that are only available in 2.14. That's why you see the breakage with Gtk 2.12. Cheers, Axel. > Sincerely, > John > > ------------------------------------------------------------------------------ > 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-users mailing list > Gtk...@li... > https://lists.sourceforge.net/lists/listinfo/gtk2hs-users |