10.37. Procps-ng-3.3.9 32 Bit Libraries

The Procps-ng package contains programs for monitoring processes.

10.37.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.9 \
    --disable-kill

The meaning of the configure options:

--disable-kill

This switch disables building the kill command that was installed in 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:

hostname clfs

Remove the test which fails when scripting does not use a tty device. Run the following commands:

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/bin/pidof /bin
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.38.2, “Contents of Procps-ng.”