10.40. Procps-3.2.8 32 Bit Libraries

The Procps package contains programs for monitoring processes.

10.40.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 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 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.


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.


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.41.2, “Contents of Procps.”