2003-01-17 03:58:39 +00:00
|
|
|
<sect2><title> </title><para> </para></sect2>
|
|
|
|
|
2001-01-24 00:31:17 +00:00
|
|
|
<sect2>
|
|
|
|
<title>Installation of Psmisc</title>
|
|
|
|
|
2003-08-30 00:20:23 +01:00
|
|
|
<para>Prepare Psmisc for compilation:</para>
|
2003-01-17 03:58:39 +00:00
|
|
|
|
|
|
|
<para><screen><userinput>./configure --prefix=/usr --exec-prefix=/</userinput></screen></para>
|
|
|
|
|
2003-08-31 22:52:02 +01:00
|
|
|
<para>The meaning of the new 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>
|
2003-01-17 03:58:39 +00:00
|
|
|
|
2003-08-30 00:20:23 +01:00
|
|
|
<para>Compile the package:</para>
|
2003-01-17 03:58:39 +00:00
|
|
|
|
|
|
|
<para><screen><userinput>make</userinput></screen></para>
|
|
|
|
|
2003-08-30 00:20:23 +01:00
|
|
|
<para>And install it:</para>
|
2001-01-24 00:31:17 +00:00
|
|
|
|
2003-01-17 03:58:39 +00:00
|
|
|
<para><screen><userinput>make install</userinput></screen></para>
|
2001-01-24 00:31:17 +00:00
|
|
|
|
2003-08-31 22:52:02 +01:00
|
|
|
<para>By default Psmisc's <userinput>pidof</userinput> program isn't installed.
|
2003-08-30 00:20:23 +01:00
|
|
|
Generally, this isn't a problem because we later install the Sysvinit package,
|
2003-08-31 22:52:02 +01:00
|
|
|
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>
|
2001-09-17 14:37:42 +01:00
|
|
|
|
2002-05-02 21:15:02 +01:00
|
|
|
<para><screen><userinput>ln -s killall /bin/pidof</userinput></screen></para>
|
2001-09-17 14:37:42 +01:00
|
|
|
|
2001-01-24 00:31:17 +00:00
|
|
|
</sect2>
|
|
|
|
|