GNOME Bugzilla – Bug 348737
Could not find Python module 'dbus'
Last modified: 2007-04-21 21:27:15 UTC
Steps to reproduce: 1. make paranoid-install 2. 3. Stack trace: cheking for python module gtk... yes cheking for python module dbus... no configure: error: Could not find Python module dbus Other information: There are no 'dbus' module in the modules list at python.org Where can I download it?
dbus is build normally 'make install' from /home/garnome/freedesktop/dbus is Ok. but when 'make paranoid-install' from /home/garnome the following error happens: ....... checking for LIBDAEMON... yes checking whether /usr/local/bin/python version >= 2.4... yes checking for /usr/local/bin/python platform... linux2 checking for /usr/local/bin/python script directory... $(prefix)/lib/python2.4/site-packages checking for /usr/local/bin/python script directory... $(exec_prefix)/lib/python2.4/site-packages checking for python module gtk... yes checking for python module dbus... no configure: error: Could not find Python module dbus make[3]: *** [configure-work/main.d/avahi-0.6.10/configure] Error 1 ........
freedesktop/dbus-0.62 contains the python-dbus bindings. Check to see that dbus successfully built and installed. -Joseph
freedesktop/dbus-0.62 has successfully installed. rashad@math:/home/garnome-2.14.2.1/freedesktop/dbus$ make install [===== NOW BUILDING: dbus-0.62 =====] [fetch] complete for dbus. [checksum] complete for dbus. [extract] complete for dbus. [patch] complete for dbus. [fixup] complete for dbus. [configure] complete for dbus. [build] complete for dbus. [install] complete for dbus. rashad@math:/home/garnome-2.14.2.1/freedesktop/dbus$ But the problem still exists.
Is this still an issue with recent versions? dbus-python has been split out of dbus and now is a freedesktop/ garball of its own.
======================================================= Writing /opt/garnome/lib/python2.5/site-packages/dbus_python-0.71-py2.5.egg-info [install] complete for dbus-python. ======================================================== and then ======================================================== checking gdbm.h presence... yes checking for gdbm.h... yes checking for LIBDAEMON... yes checking whether /usr/local/bin/python version >= 2.4... yes checking for /usr/local/bin/python version... 2.5 checking for /usr/local/bin/python platform... linux2 checking for /usr/local/bin/python script directory... ${prefix}/lib/python2.5/site-packages checking for /usr/local/bin/python extension module directory... ${exec_prefix}/lib/python2.5/site-packages checking for python module gtk... yes checking for python module dbus... no configure: error: Could not find Python module dbus make[6]: *** [configure-work/main.d/avahi-0.6.13/configure] Error 1 make[6]: Leaving directory `/opt/garnome-2.16.0/freedesktop/avahi' make[5]: *** [../../freedesktop/avahi/cookies/main.d/install] Error 2 make[5]: Leaving directory `/opt/garnome-2.16.0/platform/gnome-vfs' make[4]: *** [../../platform/gnome-vfs/cookies/main.d/install] Error 2 make[4]: Leaving directory `/opt/garnome-2.16.0/platform/libgnome' make[3]: *** [../../platform/libgnome/cookies/main.d/install] Error 2 make[3]: Leaving directory `/opt/garnome-2.16.0/platform/libbonoboui' make[2]: *** [../../platform/libbonoboui/cookies/main.d/install] Error 2 make[2]: Leaving directory `/opt/garnome-2.16.0/platform/libgnomeui' make[1]: *** [../../platform/libgnomeui/cookies/main.d/install] Error 2 make[1]: Leaving directory `/opt/garnome-2.16.0/desktop/bug-buddy' make: *** [paranoid-install] Error 2 ======================================================== Yes this still exists :( I want this to be resolved so bad, cant download 4gb fedora 6 .. i took so much pain to get upto this.. ( after making make garchive :( ). PS:- ------------------------------- cat /etc/*release* cat: /etc/lsb-release.d: Is a directory CentOS release 4.4 (Final) ------------------------------- Best regards, anshu
Anshu, It appears that you have installed python-2.5 under /usr/local. You will need to edit PYTHONPATH in gar.conf.mk to insure that it contains /usr/local/python2.5/site-packages You might also change the PYTHON variable to PYTHON = /usr/local/bin/python -Joseph
Closing as per comment 6. Also, there has been no additional comment in a while.