How do I build dbus with x11?

luying pan luying.pan at
Mon Nov 30 14:20:54 PST 2009

I'm getting these error messages when running dbus-monitor:

 dbus-monitor --session
Failed to open connection to session bus: /usr/local/bin/dbus-launch
terminated abnormally with the following error: Autolaunch requested, but
X11 support not compiled in.
Cannot continue.

So I'm assuming I didn't install dbus-x11. Is this package built by
configuring dbus with the --with-x option? Because I can't find the source
package for it anywhere. But I tried using the --with-x=yes flag when
running configure in my dbus source directory, however I ended up with a
configuring that does not build x11.

        64-bit int:               long long
        32-bit int:               int
        16-bit int:               short
        Doxygen:                  no
        xmlto:                    no

        Maintainer mode:          no
        gcc coverage profiling:   no
        Building unit tests:      no
        Building verbose mode:    no
        Building assertions:      no
        Building checks:          yes
        Building SELinux support: no
        Building inotify support: yes
        Building dnotify support: no
        Building kqueue support:  no
        Building X11 code:        no
        Building Doxygen docs:    no
        Building XML docs:        no
        Building cache support:   yes
        Gettext libs (empty OK):
        Using XML parser:
        Init scripts style:       redhat
        Abstract socket names:    yes
        System bus socket:        /usr/local/var/run/dbus/system_bus_socket
        System bus address:
        System bus PID file:      /usr/local/var/run/
        Session bus socket dir:   /tmp
        Console auth dir:         /var/run/console/
        Console owner file:       no
        Console owner file path:
        System bus user:          messagebus
        Session bus services dir: /usr/local/share/dbus-1/services
        'make check' socket dir:  /tmp

Totally stumped.

-------------- next part --------------
An HTML attachment was scrubbed...

More information about the dbus mailing list