Ignore:
Timestamp:
Dec 12, 2006, 3:09:26 PM (18 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:
8d87eba
Parents:
30f7bcd
Message:

Added Readline Upstream Patch

File:
1 edited

Legend:

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

    r30f7bcd r001becd  
    2626    <title>Installation of Readline</title>
    2727
    28     <para os="c">Prepare Readline for compilation:</para>
     28    <para os="p1">The following patch contains updates from the maintainer. The
     29    maintainer of Readline only releases these patches to fix serious issues:</para>
    2930
    30 <screen os="d"><userinput>./configure --prefix=/usr --libdir=/lib</userinput></screen>
     31<screen os="p2"><userinput>patch -Np1 -i ../&readline-fixes-patch;</userinput></screen>
    3132
    32     <para os="e">Compile the package:</para>
     33    <para os="a">Prepare Readline for compilation:</para>
    3334
    34 <screen os="f"><userinput>make SHLIB_XLDFLAGS=-lncurses</userinput></screen>
     35<screen os="b"><userinput>./configure --prefix=/usr --libdir=/lib</userinput></screen>
    3536
    36     <variablelist os="g">
     37    <para os="c">Compile the package:</para>
     38
     39<screen os="d"><userinput>make SHLIB_XLDFLAGS=-lncurses</userinput></screen>
     40
     41    <variablelist os="e">
    3742      <title>The meaning of the make option:</title>
    3843
     
    4651    </variablelist>
    4752
    48     <para os="h">This package does not come with a test suite.</para>
     53    <para os="f">This package does not come with a test suite.</para>
    4954
    50     <para os="i">Install the package:</para>
     55    <para os="g">Install the package:</para>
    5156
    52 <screen os="j"><userinput>make install</userinput></screen>
     57<screen os="h"><userinput>make install</userinput></screen>
    5358
    54     <para os="k">Give Readline's dynamic libraries more appropriate
     59    <para os="i">Give Readline's dynamic libraries more appropriate
    5560    permissions:</para>
    5661
    57 <screen os="l"><userinput>chmod -v 755 /lib/lib{readline,history}.so*</userinput></screen>
     62<screen os="j"><userinput>chmod -v 755 /lib/lib{readline,history}.so*</userinput></screen>
    5863
    59     <para os="m">Now move the static libraries to a more appropriate location:</para>
     64    <para os="k">Now move the static libraries to a more appropriate location:</para>
    6065
    61 <screen os="n"><userinput>mv -v /lib/lib{readline,history}.a /usr/lib</userinput></screen>
     66<screen os="l"><userinput>mv -v /lib/lib{readline,history}.a /usr/lib</userinput></screen>
    6267
    63     <para os="o">Next, remove the <filename class="extension">.so</filename>
     68    <para os="m">Next, remove the <filename class="extension">.so</filename>
    6469    files in <filename class="directory">/lib</filename> and relink them into
    6570    <filename class="directory">/usr/lib</filename>.</para>
    6671
    67 <screen os="p"><userinput>rm -v /lib/lib{readline,history}.so
     72<screen os="n"><userinput>rm -v /lib/lib{readline,history}.so
    6873ln -svf ../../lib/libreadline.so.5 /usr/lib/libreadline.so
    6974ln -svf ../../lib/libhistory.so.5 /usr/lib/libhistory.so</userinput></screen>
Note: See TracChangeset for help on using the changeset viewer.