Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOOK/final-system/common/psmisc.xml

    r5dcf5b3a r0451a7a  
    2828    <para os="a">Prepare Psmisc for compilation:</para>
    2929
    30 <screen os="b"><userinput>./configure --prefix=/usr</userinput></screen>
     30<screen os="b"><userinput>./configure --prefix=/usr --exec-prefix=""</userinput></screen>
    3131
    32     <para os="c">Compile the package:</para>
     32    <variablelist os="c">
     33      <title>The meaning of the configure option:</title>
    3334
    34 <screen os="d"><userinput>make</userinput></screen>
     35      <varlistentry>
     36        <term><parameter>--exec-prefix=""</parameter></term>
     37        <listitem>
     38          <para>This ensures that the Psmisc binaries will install into
     39          <filename class="directory">/bin</filename> instead of
     40          <filename class="directory">/usr/bin</filename>. This is the
     41          correct location according to the FHS, because some of the Psmisc
     42          binaries are used by the CLFS-Bootscripts package.</para>
     43        </listitem>
     44      </varlistentry>
     45    </variablelist>
    3546
    36     <para os="e">This package does not come with a test suite.</para>
     47    <para os="d">Compile the package:</para>
    3748
    38     <para os="f">Install the package:</para>
     49<screen os="e"><userinput>make</userinput></screen>
    3950
    40 <screen os="g"><userinput>make install</userinput></screen>
     51    <para os="f">This package does not come with a test suite.</para>
     52
     53    <para os="g">Install the package:</para>
     54
     55<screen os="h"><userinput>make install</userinput></screen>
     56
     57    <para os="i">There is no reason for the <command>pstree</command> and
     58    <command>pstree.x11</command> programs to reside in <filename
     59    class="directory">/bin</filename>. Therefore, move them to <filename
     60    class="directory">/usr/bin</filename>:</para>
     61
     62<screen os="j"><userinput>mv -v /bin/pstree* /usr/bin</userinput></screen>
    4163
    4264  </sect2>
Note: See TracChangeset for help on using the changeset viewer.