From 73aedd1d35747ff2fad4ddf514dca810721a612a Mon Sep 17 00:00:00 2001 From: Alex Gronenwoud Date: Sat, 1 Nov 2003 22:31:50 +0000 Subject: Merging caption and installation sections for all packages in chapters 5 and 6. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3052 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/psmisc.xml | 39 ++++++++++++++++++++++++++++++++++++++- 1 file changed, 38 insertions(+), 1 deletion(-) (limited to 'chapter06/psmisc.xml') diff --git a/chapter06/psmisc.xml b/chapter06/psmisc.xml index e2a9d6c6e..3b939961d 100644 --- a/chapter06/psmisc.xml +++ b/chapter06/psmisc.xml @@ -7,6 +7,43 @@ Estimated required disk space: &psmisc-compsize; &aa-psmisc-shortdesc; &aa-psmisc-dep; -&c6-psmisc-inst; + +   + + +Installation of Psmisc + +Prepare Psmisc for compilation: + +./configure --prefix=/usr --exec-prefix=/ + +The meaning of the configure option: + + +--exec-prefix=/: This causes the +binaries to be installed in /bin and not in +/usr/bin. As the Psmisc programs are often used in +bootscripts, they should be available also when the /usr +filesystem isn't mounted. + + +Compile the package: + +make + +And install it: + +make install + +By default Psmisc's pidof program isn't installed. +Generally, this isn't a problem because we later install the Sysvinit package, +which provides a better pidof program. But if you're not +going to use Sysvinit, you should complete the installation of Psmisc by +creating the following symlink: + +ln -s killall /bin/pidof + + + -- cgit v1.2.3-54-g00ecf