10.122. D-Bus-1.10.18 N32 Libraries

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

10.122.1. Installation of D-Bus

Prepare D-Bus for compilation:

CC="gcc ${BUILDN32}" USE_ARCH=n32 PKG_CONFIG_PATH=${PKG_CONFIG_PATHN32} \
./configure \
    --prefix=/usr \
    --sysconfdir=/etc \
    --libdir=/usr/lib32 \
    --libexecdir=/usr/lib32/dbus-1.0 \
    --localstatedir=/var \
    --with-systemdsystemunitdir=/lib/systemd/system \
    --docdir=/usr/share/doc/dbus-1.10.18 \
    SYSTEMD_LIBS="-L/lib32 -lsystemd"

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.clfs.org/index.php/D-BUS_Core.

Install the package:

make install

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

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

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