Changeset f5ccac81 for chapter06/readline.xml
- Timestamp:
- 01/31/2005 07:05:22 PM (19 years ago)
- Children:
- 4dca1e2
- Parents:
- c2133bc
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/readline.xml
rc2133bc rf5ccac81 29 29 <title>Installation of Readline</title> 30 30 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 32 sometimes will only show 33 characters on a line and then wrap to the next line.</para> 34 33 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> 36 35 37 36 <para>Prepare Readline for compilation:</para> 38 37 39 <screen><userinput>./configure --prefix=/usr </userinput></screen>38 <screen><userinput>./configure --prefix=/usr --libdir=/lib</userinput></screen> 40 39 41 40 <para>Compile the package:</para> … … 57 56 <screen><userinput>make install</userinput></screen> 58 57 59 <para>Give Readline's dynamic libraries more appropriate permissions:</para>58 <para>Give Readline's dynamic libraries to a more appropriate permissions:</para> 60 59 61 <screen><userinput>chmod 755 / usr/lib/*.&readline-version;</userinput></screen>60 <screen><userinput>chmod 755 /lib/lib{readline,history}.so*</userinput></screen> 62 61 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> 65 63 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> 67 65 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> 70 67 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 69 ln -sf ../../lib/libreadline.so.5 /usr/lib/libreadline.so 70 ln -sf ../../lib/libhistory.so.5 /usr/lib/libhistory.so</userinput></screen> 73 71 74 72 </sect2> 75 76 73 77 74 <sect2 id="contents-readline" role="content"><title>Contents of Readline</title>
Note:
See TracChangeset
for help on using the changeset viewer.