aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/psmisc-inst.xml
diff options
context:
space:
mode:
authorGerard Beekmans <gerard@linuxfromscratch.org>2001-09-17 13:37:42 +0000
committerGerard Beekmans <gerard@linuxfromscratch.org>2001-09-17 13:37:42 +0000
commit4fc945adc88250f746ef2c46ff6d787bfe44c73e (patch)
treedb5b5d28e8ef843b69f19df605f01b4c5851a732 /chapter06/psmisc-inst.xml
parente6cbe79bb94daa4e8c569ccbc5be3e55d3747dc3 (diff)
added --exec-prefix=/ to psmisc's configure
added note how to deal with psmisc's pidof symlink and man page git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1234 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/psmisc-inst.xml')
-rw-r--r--chapter06/psmisc-inst.xml21
1 files changed, 20 insertions, 1 deletions
diff --git a/chapter06/psmisc-inst.xml b/chapter06/psmisc-inst.xml
index 100817235..7fd1f51d5 100644
--- a/chapter06/psmisc-inst.xml
+++ b/chapter06/psmisc-inst.xml
@@ -3,9 +3,28 @@
<para>Install Psmisc by running the following commands:</para>
-<para><screen><userinput>./configure --prefix=/usr &amp;&amp;</userinput>
+<para><screen><userinput>./configure --prefix=/usr --exec-prefix=/ &amp;&amp;</userinput>
<userinput>make &amp;&amp;</userinput>
<userinput>make install</userinput></screen></para>
+<para>psmisc installs the
+<filename>/usr/share/man/man1/pidof.1</filename> man page, but psmisc's
+pidof program isn't installed by default. Generally that isn't a problem
+because we install the sysvinit package later on which provides us with
+a better pidof program.</para>
+
+<para>It's up to you now to decide if you are going to use the sysvinit
+package which provides a pidof program, or not. If you are going to, you
+should remove psmisc's pidof man page by running:</para>
+
+<para><screen><userinput>rm /usr/share/man/man1/pidof.1</userinput></screen></para>
+
+<para>If you're not going to use sysvinit, you should complete this
+package's installation by creating the <filename>/bin/pidof</filename>
+symlink by running:</para>
+
+<para><screen><userinput>cd /bin</userinput>
+<userinput>ln -s killall pidof</userinput></screen></para>
+
</sect2>