Details on this package are located in Section 10.41.2, “Contents of Procps.”
The Procps package contains programs for monitoring processes.
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.
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.41.2, “Contents of Procps.”