Ignore:
Timestamp:
01/31/2005 07:05:22 PM (19 years ago)
Author:
Jim Gifford <jim@…>
Children:
4dca1e2
Parents:
c2133bc
Message:

Updates

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/multi-arch/BOOK@4607 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter06/readline.xml

    rc2133bc rf5ccac81  
    2929<title>Installation of Readline</title>
    3030
    31 <para>The following patch fixes a problem where Readline sometimes
    32 only shows 33 characters on a line and then wraps to the next
    33 line.</para>
     31<para>The following patch fixes various issues including a problem where Readline
     32sometimes will only show 33 characters on a line and then wrap to the next line.</para>
    3433
    35 <screen><userinput>patch -Np1 -i ../readline-&readline-version;-display_wrap-1.patch</userinput></screen>
     34<screen><userinput>patch -Np1 -i ../readline-&readline-version;-fixes-1.patch</userinput></screen>
    3635
    3736<para>Prepare Readline for compilation:</para>
    3837
    39 <screen><userinput>./configure --prefix=/usr</userinput></screen>
     38<screen><userinput>./configure --prefix=/usr --libdir=/lib</userinput></screen>
    4039
    4140<para>Compile the package:</para>
     
    5756<screen><userinput>make install</userinput></screen>
    5857
    59 <para>Give Readline's dynamic libraries more appropriate permissions:</para>
     58<para>Give Readline's dynamic libraries to a more appropriate permissions:</para>
    6059
    61 <screen><userinput>chmod 755 /usr/lib/*.&readline-version;</userinput></screen>
     60<screen><userinput>chmod 755 /lib/lib{readline,history}.so*</userinput></screen>
    6261
    63 <beginpage/>
    64 <para>Move the dynamic libraries to a more appropriate location:</para>
     62<para>Now we move the static libraries to a more appropriate location:</para>
    6563
    66 <screen><userinput>mv /usr/lib/lib{readline,history}.so.5* /lib</userinput></screen>
     64<screen><userinput>mv /lib/lib{readline,history}.a /usr/lib</userinput></screen>
    6765
    68 <para>Because the libraries have been moved, a few symlinks are now pointing to
    69 non-existent files. Recreate those symlinks:</para>
     66<para>Now we will remove the old, .so files in /lib and relink them into /usr/lib.</para>
    7067
    71 <screen><userinput>ln -sf ../../lib/libhistory.so.5 /usr/lib/libhistory.so
    72 ln -sf ../../lib/libreadline.so.5 /usr/lib/libreadline.so</userinput></screen>
     68<screen><userinput>rm /lib/lib{readline,history}.so
     69ln -sf ../../lib/libreadline.so.5 /usr/lib/libreadline.so
     70ln -sf ../../lib/libhistory.so.5 /usr/lib/libhistory.so</userinput></screen>
    7371
    7472</sect2>
    75 
    7673
    7774<sect2 id="contents-readline" role="content"><title>Contents of Readline</title>
Note: See TracChangeset for help on using the changeset viewer.