- 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
- Location:
- BOOK
- Files:
-
- 7 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> -
BOOK/final-system/multilib/readline-64bit.xml
r30f7bcd r001becd 24 24 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 25 25 href="readline.xml" 26 xpointer="xpointer(//*[@os='p1'])"/> 27 28 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 29 href="readline.xml" 30 xpointer="xpointer(//*[@os='p2'])"/> 31 32 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 33 href="readline.xml" 34 xpointer="xpointer(//*[@os='a'])"/> 35 36 <screen os="b"><userinput>CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \ 37 ./configure --prefix=/usr --libdir=/lib64</userinput></screen> 38 39 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 40 href="readline.xml" 26 41 xpointer="xpointer(//*[@os='c'])"/> 27 42 28 <screen os="d"><userinput>CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \ 29 ./configure --prefix=/usr --libdir=/lib64</userinput></screen> 43 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 44 href="readline.xml" 45 xpointer="xpointer(//*[@os='d'])"/> 30 46 31 47 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 49 65 xpointer="xpointer(//*[@os='i'])"/> 50 66 51 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 52 href="readline.xml" 53 xpointer="xpointer(//*[@os='j'])"/> 67 <screen os="j"><userinput>chmod -v 755 /lib64/lib{readline,history}.so*</userinput></screen> 54 68 55 69 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 57 71 xpointer="xpointer(//*[@os='k'])"/> 58 72 59 <screen os="l"><userinput> chmod -v 755 /lib64/lib{readline,history}.so*</userinput></screen>73 <screen os="l"><userinput>mv -v /lib64/lib{readline,history}.a /usr/lib64</userinput></screen> 60 74 61 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 62 href="readline.xml" 63 xpointer="xpointer(//*[@os='m'])"/> 64 65 <screen os="n"><userinput>mv -v /lib64/lib{readline,history}.a /usr/lib64</userinput></screen> 66 67 <para os="o">Next, remove the <filename class="extension">.so</filename> 75 <para os="m">Next, remove the <filename class="extension">.so</filename> 68 76 files in <filename class="directory">/lib64</filename> and relink them into 69 77 <filename class="directory">/usr/lib64</filename>.</para> 70 78 71 <screen os=" p"><userinput>rm -v /lib64/lib{readline,history}.so79 <screen os="n"><userinput>rm -v /lib64/lib{readline,history}.so 72 80 ln -svf ../../lib64/libreadline.so.5 /usr/lib64/libreadline.so 73 81 ln -svf ../../lib64/libhistory.so.5 /usr/lib64/libhistory.so</userinput></screen> -
BOOK/final-system/multilib/readline-n32.xml
r30f7bcd r001becd 25 25 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 26 26 href="readline.xml" 27 xpointer="xpointer(//*[@os=' c'])"/>27 xpointer="xpointer(//*[@os='p1'])"/> 28 28 29 <screen os="d"><userinput>CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" \ 29 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 30 href="readline.xml" 31 xpointer="xpointer(//*[@os='p2'])"/> 32 33 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 34 href="readline.xml" 35 xpointer="xpointer(//*[@os='a'])"/> 36 37 <screen os="b"><userinput>CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" \ 30 38 ./configure --prefix=/usr --libdir=/lib32</userinput></screen> 31 39 32 40 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 33 41 href="readline.xml" 42 xpointer="xpointer(//*[@os='c'])"/> 43 44 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 45 href="readline.xml" 46 xpointer="xpointer(//*[@os='d'])"/> 47 48 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 49 href="readline.xml" 34 50 xpointer="xpointer(//*[@os='e'])"/> 51 52 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 53 href="readline.xml" 54 xpointer="xpointer(//*[@os='f'])"/> 35 55 36 56 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 46 66 xpointer="xpointer(//*[@os='i'])"/> 47 67 48 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 49 href="readline.xml" 50 xpointer="xpointer(//*[@os='j'])"/> 68 <screen os="j"><userinput>chmod -v 755 /lib32/lib{readline,history}.so*</userinput></screen> 51 69 52 70 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 54 72 xpointer="xpointer(//*[@os='k'])"/> 55 73 74 <screen os="l"><userinput>mv -v /lib32/lib{readline,history}.a /usr/lib32</userinput></screen> 56 75 57 <screen os="k"><userinput>chmod -v 755 /lib32/lib{readline,history}.so*</userinput></screen> 58 59 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 60 href="readline.xml" 61 xpointer="xpointer(//*[@os='m'])"/> 62 63 <screen os="m"><userinput>mv -v /lib32/lib{readline,history}.a /usr/lib32</userinput></screen> 64 65 <para os="n">Next, remove the <filename class="extension">.so</filename> 76 <para os="m">Next, remove the <filename class="extension">.so</filename> 66 77 files in <filename class="directory">/lib32</filename> and relink them into 67 78 <filename class="directory">/usr/lib32</filename>.</para> 68 79 69 <screen os=" o"><userinput>rm -v /lib32/lib{readline,history}.so80 <screen os="n"><userinput>rm -v /lib32/lib{readline,history}.so 70 81 ln -svf ../../lib32/libreadline.so.5 /usr/lib32/libreadline.so 71 82 ln -svf ../../lib32/libhistory.so.5 /usr/lib32/libhistory.so</userinput></screen> -
BOOK/final-system/multilib/readline.xml
r30f7bcd r001becd 25 25 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 26 26 href="../common/readline.xml" 27 xpointer="xpointer(//*[@os='p1'])"/> 28 29 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 30 href="../common/readline.xml" 31 xpointer="xpointer(//*[@os='p2'])"/> 32 33 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 34 href="../common/readline.xml" 35 xpointer="xpointer(//*[@os='a'])"/> 36 37 <screen os="b"><userinput>CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \ 38 ./configure --prefix=/usr --libdir=/lib</userinput></screen> 39 40 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 41 href="../common/readline.xml" 27 42 xpointer="xpointer(//*[@os='c'])"/> 28 43 29 <screen os="d"><userinput>CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \ 30 ./configure --prefix=/usr --libdir=/lib</userinput></screen> 44 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 45 href="../common/readline.xml" 46 xpointer="xpointer(//*[@os='d'])"/> 31 47 32 48 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 69 85 href="../common/readline.xml" 70 86 xpointer="xpointer(//*[@os='n'])"/> 71 72 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"73 href="../common/readline.xml"74 xpointer="xpointer(//*[@os='o'])"/>75 76 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"77 href="../common/readline.xml"78 xpointer="xpointer(//*[@os='p'])"/>79 87 </sect2> 80 88 -
BOOK/introduction/common/changelog.xml
r30f7bcd r001becd 46 46 <para>[jim] - Updated to Linux Headers 2.6.19.1-12122006.</para> 47 47 </listitem> 48 <listitem> 49 <para>[jim] - Added Readline Upstream Patch.</para> 50 </listitem> 48 51 </itemizedlist> 49 52 </listitem> -
BOOK/materials/common/patches.xml
r30f7bcd r001becd 209 209 210 210 <varlistentry> 211 <term>Readline Fixes - <token>&readline-fixes-patch-size;</token>:</term> 212 <listitem> 213 <para>Download: <ulink 214 url="&patches-root;&readline-fixes-patch;"/></para> 215 <para>MD5 sum: <literal>&readline-fixes-patch-md5;</literal></para> 216 </listitem> 217 </varlistentry> 218 219 <varlistentry> 211 220 <term>Shadow Useradd Patch - <token>&shadow-useradd_fix-patch-size;</token>:</term> 212 221 <listitem> -
BOOK/patches.ent
r30f7bcd r001becd 89 89 <!ENTITY perl-libc-patch-size "4 KB"> 90 90 91 <!ENTITY readline-fixes-patch "readline-&readline-version;-fixes- 3.patch">92 <!ENTITY readline-fixes-patch-md5 " e30963cd5c6f6a11a23344af36cfa38c">93 <!ENTITY readline-fixes-patch-size " 2.1KB">91 <!ENTITY readline-fixes-patch "readline-&readline-version;-fixes-1.patch"> 92 <!ENTITY readline-fixes-patch-md5 "c3483d9d4e44614a740e190d25100cdf"> 93 <!ENTITY readline-fixes-patch-size "4 KB"> 94 94 95 95 <!ENTITY shadow-useradd_fix-patch "shadow-&shadow-version;-useradd_fix-1.patch">
Note:
See TracChangeset
for help on using the changeset viewer.