[gobolinux-users] dbus module not found

Rohan NIcholls rohan.nicholls at myrealbox.com
Mon Nov 15 18:47:52 GMT 2004

Hi again,

Okay, so I have put sawfish on the backburner for now, as I am going to
study the Enlightenment recipe to figure out how to get the sawfish.
librep, rep-gtk to install into the same directory (something that
seemed to be a good idea according to the discussion last december).

So I thought, I would start using rox.

The Rox filer is working thanks to all the help on the list, Thanks

Next step was Orobo, this is not happy without rox-session.

Installing Rox-session needs D-bus.

I have installed d-bus successfully, and checked the symlinks are in

However when I try and run Rox-Session I get this error:

in the popup:
Failed to import dbus module. You probably need to install a package
with a name like 'python2.3-dbus'.

D-BUS can also be downloaded from http://freedesktop.org
(be sure to compile the python and glib bindings)

If the bindings are installed in /usr/local/lib/python...,try moving
them to /usr/lib/python... (without the 'local')

** (interactive.py:3245): WARNING **: `GtkTextSearchFlags' is not an
enum type Traceback (most recent call last):
  File "/Programs/ROX-Apps/ROX-Session/interactive.py", line 17, in ?
    import dbus
ImportError: No module named dbus

I thought, well if I add /System/Links/Libraries to the PYTHONPATH that
should do it, this is not so.

I have tried installing dbus adding :


to the recipe, as installing the default leads to the dbus module not
being fun.

This is what happens with these options:

checking LIBXML_CFLAGS... -I/Programs/LibXML2/2.6.12/include/libxml2  
checking LIBXML_LIBS... -L/Programs/LibXML2/2.6.12/lib -lxml2 -lpthread
-lz -lm  checking for is_selinux_enabled in -lselinux... no
configure: WARNING: Sufficiently new SELinux library not found
checking for gobject-2.0... yes
checking DBUS_GLIB_CFLAGS... -I/Programs/GLib/2.4.5/include/glib-2.0
-I/Programs/GLib/2.4.5/lib/glib-2.0/include  checking DBUS_GLIB_LIBS...
-L/Programs/GLib/2.4.5/lib -lgobject-2.0 -lglib-2.0  checking for
glib-2.0 gthread-2.0... yes checking DBUS_GLIB_THREADS_CFLAGS...
-pthread -I/Programs/GLib/2.4.5/include/glib-2.0
-I/Programs/GLib/2.4.5/lib/glib-2.0/include  checking
DBUS_GLIB_THREADS_LIBS... -pthread -L/Programs/GLib/2.4.5/lib
-lgthread-2.0 -lglib-2.0  checking for gtk+-2.0... yes
checking DBUS_GTK_CFLAGS... -I/Programs/GTK+/2.4.10/include/gtk-2.0
-I/Programs/Pango/1.6.0/include/pango-1.0 -I/Programs/Xorg/6.7.0/include
-I/usr/include/freetype2 -I/usr/include/freetype2/config
-I/Programs/GLib/2.4.5/lib/glib-2.0/include  checking DBUS_GTK_LIBS...
-Wl,--export-dynamic -L/Programs/GTK+/2.4.10/lib
-L/Programs/ATK/1.6.1/lib -L/Programs/Pango/1.6.0/lib
-L/Programs/GLib/2.4.5/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0
-lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0
-lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0  checking for moc...
/System/Links/Executables/moc checking for qglobal.h... not found
configure: WARNING: Qt development libraries not found
checking for X... libraries /Programs/Xorg/6.7.0/lib, headers
/Programs/Xorg/6.7.0/include checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for doxygen... no
checking whether to build Doxygen documentation... yes
checking for xmlto... no
checking whether to build XML documentation... yes
configure: Checking to see if we can build Python bindings
checking for a Python interpreter with version >= 2.2... python
checking for python... /System/Links/Executables/python
checking for python version... 2.3
checking for python platform... linux2
checking for python script directory...
${prefix}/lib/python2.3/site-packages checking for python extension
module directory... ${exec_prefix}/lib/python2.3/site-packages 
checking for pyrexc... no 
checking for headers required to compile python extensions... found
configure: error: Building python explicitly requested, but can't build
python bindings 
PrepareProgram: configure failed. Compile: Preparation
step failed.

make: Makefile: No such file or directory
make: *** No rule to make target `Makefile'.  Stop.
Compile: Build process failed.

If anyone knows how to make this work I would be very grateful.  Seems
that everywhere I turn I am running into deadends.  I think the concepts
behind this distro are great, and I am happy to put a lot of energy
trying to make it reach a useable level, but it is not easy, despite all
the great tools that come with it.  I think that a lot of the problem is
that so much work has to go into making the system compensate for the
broken file hierarchy of the *nix tradition, and the assumptions that
are built into a lot of programs, such as python.

KDE is working, but as I am not a great fan of either kde or gnome that
is a small consolation.

Seriously demoralized, but still feeling hopeful.;-)


More information about the gobolinux-users mailing list