Ignore:
File:
1 edited

Legend:

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

    re89c4c9 r110e1fa  
    3333    <para os="a">Prepare Readline for compilation:</para>
    3434
    35 <screen os="b"><userinput>./configure --prefix=/usr --libdir=/lib \
    36     --docdir=/usr/share/doc/readline-&readline-version;</userinput></screen>
     35<screen os="b"><userinput>./configure --prefix=/usr --libdir=/lib</userinput></screen>
    3736
    3837    <para os="c">Compile the package:</para>
     
    4443    <para os="f">Install the package:</para>
    4544
    46 <screen os="g"><userinput>make htmldir=/usr/share/doc/readline-&readline-version; install</userinput></screen>
     45<screen os="g"><userinput>make install</userinput></screen>
    4746
    48     <para os="h">Now move the static libraries to a more appropriate location:</para>
     47    <para os="h">Install the documentation:</para>
    4948
    50 <screen os="i"><userinput>mv -v /lib/lib{readline,history}.a /usr/lib</userinput></screen>
     49<screen os="i"><userinput>make install-doc</userinput></screen>
    5150
    52     <para os="j">Next, relink the dynamic libraries into <filename class="directory">/usr/lib</filename> and remove the <filename class="extension">.so</filename> files in <filename class="directory">/lib</filename>.</para>
     51    <para os="j">Now move the static libraries to a more appropriate location:</para>
    5352
    54 <screen os="k"><userinput>ln -svf ../../lib/$(readlink /lib/libreadline.so) /usr/lib/libreadline.so
    55 ln -svf ../../lib/$(readlink /lib/libhistory.so) /usr/lib/libhistory.so
    56 rm -v /lib/lib{readline,history}.so</userinput></screen>
     53<screen os="k"><userinput>mv -v /lib/lib{readline,history}.a /usr/lib</userinput></screen>
     54
     55    <para os="l">Next, remove the <filename class="extension">.so</filename>
     56    files in <filename class="directory">/lib</filename> and relink them into
     57    <filename class="directory">/usr/lib</filename>.</para>
     58
     59<screen os="m"><userinput>rm -v /lib/lib{readline,history}.so
     60ln -svf ../../lib/libreadline.so.&readline-version2; /usr/lib/libreadline.so
     61ln -svf ../../lib/libhistory.so.&readline-version2; /usr/lib/libhistory.so</userinput></screen>
    5762
    5863  </sect2>
     
    6772      <seglistitem>
    6873        <seg>libhistory.[a,so], and libreadline.[a,so]</seg>
    69         <seg>/usr/include/readline, /usr/share/doc/readline-&readline-version;, /usr/share/readline</seg>
     74        <seg>/usr/include/readline, /usr/share/readline</seg>
    7075      </seglistitem>
    7176    </segmentedlist>
Note: See TracChangeset for help on using the changeset viewer.