Changeset 001becd for BOOK/final-system/common
- Timestamp:
- Dec 12, 2006, 3:09:26 PM (18 years ago)
- Branches:
- clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- 8d87eba
- Parents:
- 30f7bcd
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/final-system/common/readline.xml
r30f7bcd r001becd 26 26 <title>Installation of Readline</title> 27 27 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> 29 30 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> 31 32 32 <para os=" e">Compile the package:</para>33 <para os="a">Prepare Readline for compilation:</para> 33 34 34 <screen os=" f"><userinput>make SHLIB_XLDFLAGS=-lncurses</userinput></screen>35 <screen os="b"><userinput>./configure --prefix=/usr --libdir=/lib</userinput></screen> 35 36 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"> 37 42 <title>The meaning of the make option:</title> 38 43 … … 46 51 </variablelist> 47 52 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> 49 54 50 <para os=" i">Install the package:</para>55 <para os="g">Install the package:</para> 51 56 52 <screen os=" j"><userinput>make install</userinput></screen>57 <screen os="h"><userinput>make install</userinput></screen> 53 58 54 <para os=" k">Give Readline's dynamic libraries more appropriate59 <para os="i">Give Readline's dynamic libraries more appropriate 55 60 permissions:</para> 56 61 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> 58 63 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> 60 65 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> 62 67 63 <para os=" o">Next, remove the <filename class="extension">.so</filename>68 <para os="m">Next, remove the <filename class="extension">.so</filename> 64 69 files in <filename class="directory">/lib</filename> and relink them into 65 70 <filename class="directory">/usr/lib</filename>.</para> 66 71 67 <screen os=" p"><userinput>rm -v /lib/lib{readline,history}.so72 <screen os="n"><userinput>rm -v /lib/lib{readline,history}.so 68 73 ln -svf ../../lib/libreadline.so.5 /usr/lib/libreadline.so 69 74 ln -svf ../../lib/libhistory.so.5 /usr/lib/libhistory.so</userinput></screen>
Note:
See TracChangeset
for help on using the changeset viewer.