2001-01-24 00:31:17 +00:00
|
|
|
<sect1 id="ch06-psmisc">
|
2001-07-23 19:23:43 +01:00
|
|
|
<title>Installing Psmisc-&psmisc-version;</title>
|
2001-09-26 01:24:04 +01:00
|
|
|
<?dbhtml filename="psmisc.html" dir="chapter06"?>
|
2001-01-24 00:31:17 +00:00
|
|
|
|
2001-07-22 20:45:10 +01:00
|
|
|
<screen>Estimated build time: &psmisc-time;
|
2001-08-10 21:29:04 +01:00
|
|
|
Estimated required disk space: &psmisc-compsize;</screen>
|
2001-07-17 19:51:18 +01:00
|
|
|
|
2003-01-17 03:58:39 +00:00
|
|
|
&aa-psmisc-shortdesc;
|
2003-11-15 16:07:18 +00:00
|
|
|
&aa-psmisc-dep;
|
2003-11-01 22:31:50 +00:00
|
|
|
|
|
|
|
<sect2><title> </title><para> </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>
|
2001-01-24 00:31:17 +00:00
|
|
|
|
|
|
|
</sect1>
|
2003-11-01 22:31:50 +00:00
|
|
|
|