Hi Cristian, Thanks for your help. I have installed the devel RPM, but this is an old one. I have installed gtk+ version 3.2.2 which includes gtk.unixprint, which version 2.10 does not have. When I execute the configure script, it keeps finding the system installed version of gtk 2.10 instead of 3.2.2:
The following modules will be built: atk pango pangocairo gtk with 2.10 API gtk.unixprint If I try to build with this configuration, I get this error: /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 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. Any further help will be greatly appreciated. Regards, >-----Original Message----- >From: pygtk-boun...@daa.com.au [mailto:pygtk-boun...@daa.com.au] On Behalf Of >cristian abarzúa >Sent: Wednesday, March 14, 2012 6:08 PM >To: pygtk@daa.com.au >Subject: Re: [pygtk] building pygtk > >Hi. > >Install the development packages for gtk ( libgtk2.0-dev) > >Regards. > >Cristian > > >El 14/03/12 14:45, Wadud Miah (ITCS) escribió: >> Hello, >> >> I am trying to build pygtk and have built its dependencies (with >PKG_CONFIG_PATH configured): >> >> atk >> gtk+ >> pango >> pangocairo >> pygobject >> >> However, when I do a "configure" for pygtk, it says: >> >> The following modules will be built: >> atk >> pango >> pangocairo >> >> The following modules will NOT be built: >> gtk >> gtk.glade >> gtk.unixprint >> >> Numpy support: yes >> >> So this will not build the gtk modules for pygtk, which is not what I was >expecting. Have I built the correct dependencies? Is there a different between >"gtk" and "gtk+"? Any help will be greatly appreciated. >> >> Thanks in advance. >> >> ---------- >> Wadud Miah, High Performance Computing Systems Developer >> Research Computing Services, University of East Anglia >> Web: http://www.uea.ac.uk/~xca10fju/ >> Telephone: 01603 593856 >> >> Information Services >> ---------- >> >> >> _______________________________________________ >> pygtk mailing list pygtk@daa.com.au >> http://www.daa.com.au/mailman/listinfo/pygtk >> Read the PyGTK FAQ: http://faq.pygtk.org/ >> > >_______________________________________________ >pygtk mailing list pygtk@daa.com.au >http://www.daa.com.au/mailman/listinfo/pygtk >Read the PyGTK FAQ: http://faq.pygtk.org/ _______________________________________________ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://faq.pygtk.org/