10.95. D-Bus-1.8.6 32 Bit Libraries

D-Bus is a message bus system, a simple way for applications to talk to one another.

10.95.1. Installation of D-Bus

Prepare D-Bus for compilation:

CC="gcc ${BUILD32}" USE_ARCH=32 PKG_CONFIG_PATH=${PKG_CONFIG_PATH32} \
  ./configure --prefix=/usr --sysconfdir=/etc \
    --libdir=/usr/lib --libexecdir=/usr/lib/dbus-1.0 \
    --localstatedir=/var --with-systemdsystemunitdir=/lib/systemd/system \
    --docdir=/usr/share/doc/dbus-1.8.6

Compile the package:

make

This package does come with a test suite, but it requires several packages that are not included in CLFS. Instructions for running the test suite can be found in the CBLFS wiki at http://cblfs.cross-lfs.org/index.php/D-BUS_Core.

Install the package:

make install

Move the shared library to /lib and recreate the symbolic link.

mv -v /usr/lib/libdbus-1.so.* /lib
ln -sfv ../../lib/$(readlink /usr/lib/libdbus-1.so) /usr/lib/libdbus-1.so

Details on this package are located in Section 10.96.2, “Contents of D-Bus.”