Changeset 3d00c1ed


Ignore:
Timestamp:
Jan 7, 2009, 10:55:12 AM (16 years ago)
Author:
Jim Gifford <clfs@…>
Branches:
clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
de28452
Parents:
bf8339f
Message:

Cleanup Readline Build. Changed the way to link ncurses

Location:
BOOK
Files:
5 edited

Legend:

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

    rbf8339f r3d00c1ed  
    3131<screen os="p2"><userinput>patch -Np1 -i ../&readline-fixes-patch;</userinput></screen>
    3232
     33    <para os="s1">This option forces Readline to link against the
     34          <filename class="libraryfile">libncurses</filename> library:</para>
     35
     36<screen os="s2"><userinput>sed -i 's:^SHLIB_LIBS=:SHLIB_LIBS=-lncurses:' support/shobj-conf</userinput></screen>
     37
    3338    <para os="a">Prepare Readline for compilation:</para>
    3439
     
    3742    <para os="c">Compile the package:</para>
    3843
    39 <screen os="d"><userinput>make SHLIB_XLDFLAGS=-lncurses</userinput></screen>
     44<screen os="d"><userinput>make</userinput></screen>
    4045
    41     <variablelist os="e">
    42       <title>The meaning of the make option:</title>
     46    <para os="e">This package does not come with a test suite.</para>
    4347
    44       <varlistentry>
    45         <term><parameter>SHLIB_XLDFLAGS=-lncurses</parameter></term>
    46         <listitem>
    47           <para>This option forces Readline to link against the
    48           <filename class="libraryfile">libncurses</filename> library.</para>
    49         </listitem>
    50       </varlistentry>
    51     </variablelist>
     48    <para os="f">Install the package:</para>
    5249
    53     <para os="f">This package does not come with a test suite.</para>
     50<screen os="g"><userinput>make install</userinput></screen>
    5451
    55     <para os="g">Install the package:</para>
     52    <para os="h">Now move the static libraries to a more appropriate location:</para>
    5653
    57 <screen os="h"><userinput>make install</userinput></screen>
     54<screen os="i"><userinput>mv -v /lib/lib{readline,history}.a /usr/lib</userinput></screen>
    5855
    59     <para os="k">Now move the static libraries to a more appropriate location:</para>
    60 
    61 <screen os="l"><userinput>mv -v /lib/lib{readline,history}.a /usr/lib</userinput></screen>
    62 
    63     <para os="m">Next, remove the <filename class="extension">.so</filename>
     56    <para os="j">Next, remove the <filename class="extension">.so</filename>
    6457    files in <filename class="directory">/lib</filename> and relink them into
    6558    <filename class="directory">/usr/lib</filename>.</para>
    6659
    67 <screen os="n"><userinput>rm -v /lib/lib{readline,history}.so
     60<screen os="k"><userinput>rm -v /lib/lib{readline,history}.so
    6861ln -svf ../../lib/libreadline.so.5 /usr/lib/libreadline.so
    6962ln -svf ../../lib/libhistory.so.5 /usr/lib/libhistory.so</userinput></screen>
  • BOOK/final-system/multilib/readline-64bit.xml

    rbf8339f r3d00c1ed  
    3232    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    3333    href="readline.xml"
     34    xpointer="xpointer(//*[@os='s1'])"/>
     35
     36    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     37    href="readline.xml"
     38    xpointer="xpointer(//*[@os='s2'])"/>
     39
     40    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     41    href="readline.xml"
    3442    xpointer="xpointer(//*[@os='a'])"/>
    3543
     
    6169    xpointer="xpointer(//*[@os='h'])"/>
    6270
    63     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    64     href="readline.xml"
    65     xpointer="xpointer(//*[@os='k'])"/>
     71<screen os="i"><userinput>mv -v /lib64/lib{readline,history}.a /usr/lib64</userinput></screen>
    6672
    67 <screen os="l"><userinput>mv -v /lib64/lib{readline,history}.a /usr/lib64</userinput></screen>
    68 
    69     <para os="m">Next, remove the <filename class="extension">.so</filename>
     73    <para os="j">Next, remove the <filename class="extension">.so</filename>
    7074    files in <filename class="directory">/lib64</filename> and relink them into
    7175    <filename class="directory">/usr/lib64</filename>.</para>
    7276
    73 <screen os="n"><userinput>rm -v /lib64/lib{readline,history}.so
     77<screen os="k"><userinput>rm -v /lib64/lib{readline,history}.so
    7478ln -svf ../../lib64/libreadline.so.5 /usr/lib64/libreadline.so
    7579ln -svf ../../lib64/libhistory.so.5 /usr/lib64/libhistory.so</userinput></screen>
  • BOOK/final-system/multilib/readline-n32.xml

    rbf8339f r3d00c1ed  
    3333    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    3434    href="readline.xml"
     35    xpointer="xpointer(//*[@os='s1'])"/>
     36
     37    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     38    href="readline.xml"
     39    xpointer="xpointer(//*[@os='s2'])"/>
     40
     41    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     42    href="readline.xml"
    3543    xpointer="xpointer(//*[@os='a'])"/>
    3644
     
    6270    xpointer="xpointer(//*[@os='h'])"/>
    6371
    64     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    65     href="readline.xml"
    66     xpointer="xpointer(//*[@os='k'])"/>
     72<screen os="i"><userinput>mv -v /lib32/lib{readline,history}.a /usr/lib32</userinput></screen>
    6773
    68 <screen os="l"><userinput>mv -v /lib32/lib{readline,history}.a /usr/lib32</userinput></screen>
    69 
    70     <para os="m">Next, remove the <filename class="extension">.so</filename>
     74    <para os="j">Next, remove the <filename class="extension">.so</filename>
    7175    files in <filename class="directory">/lib32</filename> and relink them into
    7276    <filename class="directory">/usr/lib32</filename>.</para>
    7377
    74 <screen os="n"><userinput>rm -v /lib32/lib{readline,history}.so
     78<screen os="k"><userinput>rm -v /lib32/lib{readline,history}.so
    7579ln -svf ../../lib32/libreadline.so.5 /usr/lib32/libreadline.so
    7680ln -svf ../../lib32/libhistory.so.5 /usr/lib32/libhistory.so</userinput></screen>
  • BOOK/final-system/multilib/readline.xml

    rbf8339f r3d00c1ed  
    3333    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    3434    href="../common/readline.xml"
     35    xpointer="xpointer(//*[@os='s1'])"/>
     36
     37    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     38    href="../common/readline.xml"
     39    xpointer="xpointer(//*[@os='s2'])"/>
     40
     41    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     42    href="../common/readline.xml"
    3543    xpointer="xpointer(//*[@os='a'])"/>
    3644
     
    6472    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    6573    href="../common/readline.xml"
    66     xpointer="xpointer(//*[@os='k'])"/>
     74    xpointer="xpointer(//*[@os='i'])"/>
    6775
    6876    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    6977    href="../common/readline.xml"
    70     xpointer="xpointer(//*[@os='l'])"/>
     78    xpointer="xpointer(//*[@os='j'])"/>
    7179
    7280    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    7381    href="../common/readline.xml"
    74     xpointer="xpointer(//*[@os='m'])"/>
     82    xpointer="xpointer(//*[@os='k'])"/>
    7583
    76     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    77     href="../common/readline.xml"
    78     xpointer="xpointer(//*[@os='n'])"/>
    7984  </sect2>
    8085
  • BOOK/introduction/common/changelog.xml

    rbf8339f r3d00c1ed  
    5656          <para>[Jim] - Added arch to util-linux-ng build. Also fixed descriptions of
    5757          configure paramters.</para>
     58        </listitem>
     59        <listitem>
     60          <para>[Jim] - Cleanup Readline Build. Changed the way to link ncurses.</para>
    5861        </listitem>
    5962      </itemizedlist>
Note: See TracChangeset for help on using the changeset viewer.