Changeset e0e40d3 for BOOK/final-system/common/readline.xml
- Timestamp:
- Feb 21, 2006, 1:23:04 AM (18 years ago)
- Branches:
- clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- 69caf2f
- Parents:
- 82fedc4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/final-system/common/readline.xml
r82fedc4 re0e40d3 44 44 <para os="c">Prepare Readline for compilation:</para> 45 45 46 <screen ><userinput>./configure --prefix=/usr --libdir=/lib</userinput></screen>46 <screen os="d"><userinput>./configure --prefix=/usr --libdir=/lib</userinput></screen> 47 47 48 <para os=" d">Compile the package:</para>48 <para os="e">Compile the package:</para> 49 49 50 <screen os=" e"><userinput>make SHLIB_XLDFLAGS=-lncurses</userinput></screen>50 <screen os="f"><userinput>make SHLIB_XLDFLAGS=-lncurses</userinput></screen> 51 51 52 <variablelist os=" f">52 <variablelist os="g"> 53 53 <title>The meaning of the make option:</title> 54 54 … … 62 62 </variablelist> 63 63 64 <para os=" g">Install the package:</para>64 <para os="h">Install the package:</para> 65 65 66 <screen os=" h"><userinput>make install</userinput></screen>66 <screen os="i"><userinput>make install</userinput></screen> 67 67 68 <para os=" i">Give Readline's dynamic libraries to a more appropriate68 <para os="j">Give Readline's dynamic libraries to a more appropriate 69 69 permissions:</para> 70 70 71 <screen os=" j"><userinput>chmod 755 /lib/lib{readline,history}.so*</userinput></screen>71 <screen os="k"><userinput>chmod 755 /lib/lib{readline,history}.so*</userinput></screen> 72 72 73 <para os=" k">Now move the static libraries to a more appropriate location:</para>73 <para os="l">Now move the static libraries to a more appropriate location:</para> 74 74 75 <screen os=" l"><userinput>mv /lib/lib{readline,history}.a /usr/lib</userinput></screen>75 <screen os="m"><userinput>mv /lib/lib{readline,history}.a /usr/lib</userinput></screen> 76 76 77 <para os=" m">Next, remove the <filename class="extension">.so</filename>77 <para os="n">Next, remove the <filename class="extension">.so</filename> 78 78 files in <filename class="directory">/lib</filename> and relink them into 79 79 <filename class="directory">/usr/lib</filename>.</para> 80 80 81 <screen os=" n"><userinput>rm /lib/lib{readline,history}.so81 <screen os="o"><userinput>rm /lib/lib{readline,history}.so 82 82 ln -sf ../../lib/libreadline.so.5 /usr/lib/libreadline.so 83 83 ln -sf ../../lib/libhistory.so.5 /usr/lib/libhistory.so</userinput></screen>
Note: See TracChangeset
for help on using the changeset viewer.