10.41. Procps-ng-3.3.12 32 Bit Libraries

The Procps-ng package contains programs for monitoring processes.

10.41.1. Installation of Procps-ng

Prepare procps-ng for compilation:

CC="gcc ${BUILD32}" ./configure \
    --prefix=/usr \
    --exec-prefix= \
    --libdir=/usr/lib \
    --docdir=/usr/share/doc/procps-ng-3.3.12 \
    --disable-kill

The meaning of the configure options:

--disable-kill

This switch disables building the kill program - a better version was installed by the Util-linux package.

Compile the package:

make
[Note]

Note

When using the boot method, two tests will fail if the hostname is not set. If you have booted the temporary system, and want to run the test suite, run the following command:

hostname clfs

If running the testsuite, first disable a test which fails when scripting does not use a tty device:

sed -i -r 's|(pmap_initname)\\\$|\1|' testsuite/pmap.test/pmap.exp
make check

Install the package:

make install

Move essential files to a location that can be found if /usr is not mounted:

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

Details on this package are located in Section 10.42.2, “Contents of Procps-ng.”