10.38. Procps-3.2.8 32 Bit Libraries

The Procps package contains programs for monitoring processes.

10.38.1. Installation of Procps

The following patch adds process control group support to ps:

patch -Np1 -i ../procps-3.2.8-ps_cgroup-1.patch

The following patch fixes an issue where some procps utils print an error on the screen if the monitor isn't running at 60Hz:

patch -Np1 -i ../procps-3.2.8-fix_HZ_errors-1.patch

The following fixes an issue with Make 3.82:

sed -i -r '/^-include/s/\*(.*)/proc\1 ps\1/' Makefile

Compile the package:

make CC="gcc ${BUILD32}" m64=""

This package does not come with a test suite.

Install the package:

make SKIP='/bin/kill /usr/share/man/man1/kill.1' install lib64=lib

The meaning of the make and install options:

CC="gcc ${BUILD32}"

This allows us to compile using our gcc with our options lists in ${BUILD32} variable.

m64=""

The Makefile for this package goes to some lengths to build as 64-bit if at all possible. In CLFS we build each library for each available ABI. Overriding the m64 option enables us ignore this completely.

lib64=lib

The Makefile also attempts to install into lib64 on multilib, so again we choose to override it.

Details on this package are located in Section 10.40.2, “Contents of Procps.”