10.48. Procps-ng-3.3.9 N32 Libraries

The Procps-ng package contains programs for monitoring processes.

10.48.1. Installation of Procps-ng

Prepare procps-ng for compilation:

CC="gcc ${BUILDN32}" ./configure --prefix=/usr --exec-prefix= \
    --libdir=/usr/lib32 --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 program - a better version was installed by the Util-linux package.

Compile the package:

make

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/bin/pidof /bin
mv -v /usr/lib32/libprocps.so.* /lib32
ln -sfv ../../lib32/$(readlink /usr/lib32/libprocps.so) /usr/lib32/libprocps.so

Details on this package are located in Section 10.79.2, “Contents of File.”