On Wed, 14 Mar 2012 19:25:38 +0000, Wadud Miah (ITCS) wrote:
/gpfs/grace/glib-2.31.2/include/glib-2.0/glib/gspawn.h:22:2: error: #error "Only <glib.h> can be included directly." gtkunixprintmodule.c:30:30: error: gtk/gtkunixprint.h: No such file or directory make[2]: *** [gtkunixprint_la-gtkunixprintmodule.lo] Error 1
Something in your build or chain of dependencies is using -DG_DISABLE_SINGLE_INCLUDES, which should not be done if you still depend on GTK+ 2.10. If you figure out where it happens and remove it, everything should build just fine :)
This is because 2.10 does not have unixprint support, whereas 3.2.2 does. The PKG_CONFIG_PATH points to gtk+ 3.2.2 but I still cannot figure out why pygtk does not pick this up.
That's because PyGTK only supports GTK+ 2.X. Support for GTK+ 3.X is provided by PyGObject (if it is built with gobject-introspection support). mvg, Dieter _______________________________________________ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://faq.pygtk.org/