Hi Simon, Sorry for inconvenience!
It's my fault that i forgot add gtk-2.xx tag in hierarchy.list and configure.ac I have push new patch for fix compile error for new modules (HSV, InfoBar, EntryBuffer, Activatable, ToolShell). Can you test again? Cheers, -- Andy Simon Marlow <marlo...@gmail.com> writes: > Building from the darcs repository using GHC 6.12.1.20100330 (6.12.2 RC1), I > get a failure in make > depend, which later leads to > > /home/simonmar/fp/bin/x86_64-unknown-linux/ghc-6.12.1.20100330 +RTS -RTS > -split-objs -c > glib/System/Glib.hs -o glib/System/Glib.o -O > -XForeignFunctionInterface -iglib -package-conf package.conf.inplace > -hide-all-packages > -ignore-package glib -package base-4.2.0.1 -package-name glib-0.10.1 > '-#include<glib-object.h>' > -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include > > glib/System/Glib.hs:15:0: > Failed to load interface for `System.Glib.UTFString': > Use -v to see a list of the files searched for. > > The attached patch fixes it. > > Then I get: > > ./tools/c2hs/c2hsLocal +RTS -RTS -iglib:cairo::gtk --precomp=gtk/gtk.precomp > -o > gtk/Graphics/UI/Gtk/Types.hs gtk/Graphics/UI/Gtk/Types.chs > c2hsLocal: Errors during expansion of binding hooks: > > gtk/Graphics/UI/Gtk/Types.chs:1482: (column 12) [ERROR] > >>> Unknown identifier! > Cannot find a definition for `HSV' in the header file. > gtk/Graphics/UI/Gtk/Types.chs:1503: (column 22) [ERROR] > >>> Unknown identifier! > Cannot find a definition for `gtk_hsv_get_type' in the header file. > gtk/Graphics/UI/Gtk/Types.chs:3374: (column 12) [ERROR] > >>> Unknown identifier! > Cannot find a definition for `InfoBar' in the header file. > gtk/Graphics/UI/Gtk/Types.chs:3398: (column 22) [ERROR] > >>> Unknown identifier! > Cannot find a definition for `gtk_info_bar_get_type' in the header file. > gtk/Graphics/UI/Gtk/Types.chs:5631: (column 12) [ERROR] > >>> Unknown identifier! > Cannot find a definition for `EntryBuffer' in the header file. > gtk/Graphics/UI/Gtk/Types.chs:5650: (column 22) [ERROR] > >>> Unknown identifier! > Cannot find a definition for `gtk_entry_buffer_get_type' in the header file. > gtk/Graphics/UI/Gtk/Types.chs:5677: (column 12) [ERROR] > >>> Unknown identifier! > Cannot find a definition for `Activatable' in the header file. > gtk/Graphics/UI/Gtk/Types.chs:5696: (column 22) [ERROR] > >>> Unknown identifier! > Cannot find a definition for `gtk_activatable_get_type' in the header file. > gtk/Graphics/UI/Gtk/Types.chs:5700: (column 12) [ERROR] > >>> Unknown identifier! > Cannot find a definition for `ToolShell' in the header file. > gtk/Graphics/UI/Gtk/Types.chs:5719: (column 22) [ERROR] > >>> Unknown identifier! > Cannot find a definition for `gtk_tool_shell_get_type' in the header file. > > > Perhaps these are because I have an older version of gtk+ installed? If > that's the case, shouldn't > the configure script complain? > > Cheers, > Simon > > ------------------------------------------------------------------------------ > 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 ------------------------------------------------------------------------------ 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