gnome-python2 could not be found, what's missing/wrong
I'm trying to build gramps (gynealogy program). The configure script fails as it requires gnome-python2. This is to my knowledge installed. (the exact error message is: **** The python bindings for GNOME 2.0 (gnome-python2) could not be found.) I have installed python-gnome-1.99.14-73 and python-gtk-1.99.14-65. On a upgrade 8.1 to 8.2 system. , providing (among other files): ... /usr/lib/python2.2/site-packages/gtk-1.2/_gnomeuimodule.la /usr/lib/python2.2/site-packages/gtk-1.2/_gnomeuimodule.so ... /usr/lib/python2.2/site-packages/gtk-1.2/gnome/ui.py /usr/lib/python2.2/site-packages/gtk-1.2/gnome/ui.pyc /usr/lib/python2.2/site-packages/gtk-1.2/gnome/ui.pyo /usr/lib/python2.2/site-packages/gtk-1.2/gnome/uiconsts.py /usr/lib/python2.2/site-packages/gtk-1.2/gnome/uiconsts.pyc /usr/lib/python2.2/site-packages/gtk-1.2/gnome/uiconsts.pyo ... /usr/lib/python2.2/site-packages/gtk-2.0/bonobo /usr/lib/python2.2/site-packages/gtk-2.0/bonobo/__init__.py /usr/lib/python2.2/site-packages/gtk-2.0/bonobo/__init__.pyc /usr/lib/python2.2/site-packages/gtk-2.0/bonobo/__init__.pyo /usr/lib/python2.2/site-packages/gtk-2.0/gconfmodule.la /usr/lib/python2.2/site-packages/gtk-2.0/gconfmodule.so /usr/lib/python2.2/site-packages/gtk-2.0/gnome /usr/lib/python2.2/site-packages/gtk-2.0/gnome/__init__.py /usr/lib/python2.2/site-packages/gtk-2.0/gnome/__init__.pyc /usr/lib/python2.2/site-packages/gtk-2.0/gnome/__init__.pyo /usr/lib/python2.2/site-packages/gtk-2.0/gnome/_gnomemodule.la /usr/lib/python2.2/site-packages/gtk-2.0/gnome/_gnomemodule.so /usr/lib/python2.2/site-packages/gtk-2.0/gnome/canvasmodule.la /usr/lib/python2.2/site-packages/gtk-2.0/gnome/canvasmodule.so /usr/lib/python2.2/site-packages/gtk-2.0/gnome/vfsmodule.la /usr/lib/python2.2/site-packages/gtk-2.0/gnome/vfsmodule.so /usr/lib/python2.2/site-packages/gtk-2.0/gtkhtml2module.la /usr/lib/python2.2/site-packages/gtk-2.0/gtkhtml2module.so The suse src.rpm contains a readme stating: =-= This package contains both 1.2 and 2.0 version of pygnome module. As default is currently selected 1.2 version, but if you need specific version you should specify that exactly in your sources: pygtk.require("1.2") # for pygtk 1.2 or pygtk.require("2.0") # for pygtk 2.0 Note that you should do this before importing the gtk or gnome modules: =-= Which is done by configure python check: =-= checking Python bindings for GNOME... try: import pygtk pygtk.require('2.0') except ImportError: pass try: import gnome, gnome.ui f = open("conftest.out", "w") f.write("YES") f.close() except ImportError: f = open("conftest.out", "w") f.write("NO") f.close() configure: error: **** The python bindings for GNOME 2.0 (gnome-python2) could not be found. =-= Why does the above configure test fail on gnome.ui (if gnome.ui is removed "YES" is written into conftest.out)? To see how complete the completeness of my build environment I skipped the above configure test. All the other tests passed successfully and gramps could be made (make). Of course there is the runtime error that gnome.ui can't be found.... It's sad, but at least consistent. -- Richard Bos Without a home the journey is endless
participants (1)
-
Richard Bos