diff options
author | Timothy Bauscher <timothy@linuxfromscratch.org> | 2003-01-17 03:58:39 +0000 |
---|---|---|
committer | Timothy Bauscher <timothy@linuxfromscratch.org> | 2003-01-17 03:58:39 +0000 |
commit | 4d0f87868de136580940bf4449e08bc83d627a43 (patch) | |
tree | 1e5adb537480f8bb3240e615a3ce8aa6502848f1 /chapter06/psmisc-inst.xml | |
parent | 50415c9f28b9025d3cc8d845151e835bbe1e7791 (diff) |
Psmisc conversion.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2373 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/psmisc-inst.xml')
-rw-r--r-- | chapter06/psmisc-inst.xml | 24 |
1 files changed, 19 insertions, 5 deletions
diff --git a/chapter06/psmisc-inst.xml b/chapter06/psmisc-inst.xml index ee406e301..eabaa85ab 100644 --- a/chapter06/psmisc-inst.xml +++ b/chapter06/psmisc-inst.xml @@ -1,11 +1,25 @@ +<sect2><title> </title><para> </para></sect2> + <sect2> <title>Installation of Psmisc</title> -<para>Install Psmisc by running the following commands:</para> +<para>Prepare Psmic to be compiled:</para> + +<para><screen><userinput>./configure --prefix=/usr --exec-prefix=/</userinput></screen></para> + +<para>The <emphasis>--exec-prefix=/</emphasis> flag will cause the +programs to be installed in /bin rather than in /usr/bin. The programs +in this package are often used in bootscripts; they should be in the /bin +directory so they can be used in the event that the <filename +class="directory">/usr</filename> partition isn't mounted.</para> + +<para>Continue with compiling the package:</para> + +<para><screen><userinput>make</userinput></screen></para> + +<para>Finish installing the package:</para> -<para><screen><userinput>./configure --prefix=/usr --exec-prefix=/ && -make && -make install</userinput></screen></para> +<para><screen><userinput>make install</userinput></screen></para> <para>Psmisc's pidof program isn't installed by default. Generally, this isn't a problem because we later install the Sysvinit package, which @@ -14,7 +28,7 @@ provides a better pidof program.</para> <para>It's up to you to decide if you are going to use the Sysvinit package, which provides a pidof program, or not. 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> +the <filename>/bin/pidof</filename> symlink:</para> <para><screen><userinput>ln -s killall /bin/pidof</userinput></screen></para> |