Introduction to D-Bus GLib

The D-Bus GLib package contains GLib interfaces to the D-Bus API.

This package is known to build and work properly using an LFS-7.4 platform.

Package Information

D-Bus GLib Dependencies


D-Bus-1.6.14, expat-2.1.0 and GLib-2.36.4



User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/dbus-glib

Installation of D-Bus GLib

Install D-Bus GLib by running the following commands:

./configure --prefix=/usr                  \
            --sysconfdir=/etc              \
            --libexecdir=/usr/lib/dbus-1.0 \
            --disable-static &&

To test the results, issue: make check. Note that more comprehensive tests can be run by following the same method used in D-Bus instructions, which requires building the package twice.

Now, as the root user:

make install

Command Explanations

--disable-static: This switch prevents installation of static versions of the libraries.

--enable-gtk-doc: Use this parameter if GTK-Doc is installed and you wish to rebuild and install the API documentation.


Installed Program: dbus-binding-tool
Installed Library: libdbus-glib-1.so
Installed Directories: /usr/share/gtk-doc/html/dbus-glib and /usr/share/doc/dbus-glib-0.100.2

Short Descriptions


is a tool used to interface with the D-Bus API.


contains GLib interface functions to the D-Bus API.

Last updated on 2013-08-20 13:51:02 -0700