12345678910111213141516171819202122232425262728293031323334353637 |
- <sect2><title> </title><para> </para></sect2>
- <sect2>
- <title>Installation of Psmisc</title>
- <para>Prepare Psmisc for compilation:</para>
- <para><screen><userinput>./configure --prefix=/usr --exec-prefix=/</userinput></screen></para>
- <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>
- <para>Compile the package:</para>
- <para><screen><userinput>make</userinput></screen></para>
- <para>And install it:</para>
- <para><screen><userinput>make install</userinput></screen></para>
- <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>
- <para><screen><userinput>ln -s killall /bin/pidof</userinput></screen></para>
- </sect2>
|