installed gtk+2.2 and now python findings can't find gnome widgets



I installed the following in /usr/local/gtk2 of a Red Hat 8.0 system:

pkgconfig-0.14.0.tar.gz
glib-2.2.0.tar.gz
pango-1.2.0.tar.gz
atk-1.2.0.tar.gz
gtk+-2.2.0.tar.gz
libglade-2.0.1.tar.gz
pygtk2 from CVS (as of tonight)

I set PKG_CONFIG_PATH to:
/usr/local/gtk2/lib/pkgconfig:/usr/lib/pkgconfig/

inserted /usr/local/gtk2/bin at the front of my path and
/usr/local/gtk2 at the front of my LD_LIBRARY_PATH

set my PYTHONPATH to:
/usr/local/gtk2/lib/python2.2/site-packages

And now my python app complains:

 libglade-WARNING **: Could not load support for `gnome': 
/usr/lib/libgnome.so: undefined symbol: poptHelpOptions

and:

libglade-WARNING **: unknown widget class 'GnomeDateEdit'


It has:

import pygtk
pygtk.require('2.0')
import gtk

I also tried
pygtk.require('2.2')

Any ideas what I did wrong and how to fix it?

I did have this working with gtk 2.0.9 the other day.

Thanks,
Dave




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]