aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/psmisc.xml
diff options
context:
space:
mode:
authorAlex Gronenwoud <alex@linuxfromscratch.org>2003-11-01 22:31:50 +0000
committerAlex Gronenwoud <alex@linuxfromscratch.org>2003-11-01 22:31:50 +0000
commit73aedd1d35747ff2fad4ddf514dca810721a612a (patch)
treed05f8b503f210d7248c2b2abea9e5528fc04d90a /chapter06/psmisc.xml
parent0b400add2ba87352e955326bcb931e53864cc2ae (diff)
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
Diffstat (limited to 'chapter06/psmisc.xml')
-rw-r--r--chapter06/psmisc.xml39
1 files changed, 38 insertions, 1 deletions
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;</screen>
&aa-psmisc-shortdesc;
&aa-psmisc-dep;
-&c6-psmisc-inst;
+
+<sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
+
+<sect2>
+<title>Installation of Psmisc</title>
+
+<para>Prepare Psmisc for compilation:</para>
+
+<screen><userinput>./configure --prefix=/usr --exec-prefix=/</userinput></screen>
+
+<para>The meaning of the configure option:</para>
+
+<itemizedlist>
+<listitem><para><userinput>--exec-prefix=/</userinput>: This causes the
+binaries to be installed in <filename>/bin</filename> and not in
+<filename>/usr/bin</filename>. As the Psmisc programs are often used in
+bootscripts, they should be available also when the <filename>/usr</filename>
+filesystem isn't mounted.</para></listitem>
+</itemizedlist>
+
+<para>Compile the package:</para>
+
+<screen><userinput>make</userinput></screen>
+
+<para>And install it:</para>
+
+<screen><userinput>make install</userinput></screen>
+
+<para>By default Psmisc's <userinput>pidof</userinput> program isn't installed.
+Generally, this isn't a problem because we later install the Sysvinit package,
+which provides a better <userinput>pidof</userinput> program. But if you're not
+going to use Sysvinit, you should complete the installation of Psmisc by
+creating the following symlink:</para>
+
+<screen><userinput>ln -s killall /bin/pidof</userinput></screen>
+
+</sect2>
</sect1>
+