- Timestamp:
- Mar 15, 2009, 1:16:09 PM (16 years ago)
- Branches:
- master
- Children:
- b3e939f
- Parents:
- e84c831
- Location:
- BOOK
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/final-system/common/readline.xml
re84c831 r2b4b9f4 26 26 <title>Installation of Readline</title> 27 27 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: 30 </para> 28 <para os="s1">This option forces Readline to link against the 29 <filename class="libraryfile">libncursesw</filename> library:</para> 31 30 32 <screen os=" p2"><userinput>patch -Np1 -i ../&readline-fixes-patch;</userinput></screen>31 <screen os="s2"><userinput>sed -i 's:^SHLIB_LIBS=:SHLIB_LIBS=-lncursesw:' support/shobj-conf</userinput></screen> 33 32 34 33 <para os="a">Prepare Readline for compilation:</para> … … 39 38 <para os="c">Compile the package:</para> 40 39 41 <screen os="d"><userinput>make SHLIB_XLDFLAGS=-lncurses</userinput></screen>40 <screen os="d"><userinput>make</userinput></screen> 42 41 43 <variablelist os="e"> 44 <title>The meaning of the make option:</title> 42 <para os="e">Install the package:</para> 45 43 46 <varlistentry> 47 <term><parameter>SHLIB_XLDFLAGS=-lncurses</parameter></term> 48 <listitem> 49 <para>This option forces Readline to link against the 50 <filename class="libraryfile">libncurses</filename> library.</para> 51 </listitem> 52 </varlistentry> 53 </variablelist> 44 <screen os="f"><userinput>make DESTDIR=${CLFS} install</userinput></screen> 54 45 55 <para os=" f">Install the package:</para>46 <para os="h">Install the documentation:</para> 56 47 57 <screen os=" g"><userinput>make DESTDIR=${CLFS} install</userinput></screen>48 <screen os="i"><userinput>make install-doc</userinput></screen> 58 49 59 <para os=" h">Now move the static libraries to a more appropriate location:</para>50 <para os="j">Now move the static libraries to a more appropriate location:</para> 60 51 61 <screen os=" i"><userinput>mv -v ${CLFS}/lib/lib{readline,history}.a ${CLFS}/usr/lib</userinput></screen>52 <screen os="k"><userinput>mv -v ${CLFS}/lib/lib{readline,history}.a ${CLFS}/usr/lib</userinput></screen> 62 53 63 <para os=" j">Next, remove the <filename class="extension">.so</filename>54 <para os="l">Next, remove the <filename class="extension">.so</filename> 64 55 files in <filename class="directory">/lib</filename> and relink them into 65 56 <filename class="directory">/usr/lib</filename>.</para> 66 57 67 <screen os=" k"><userinput>rm -v ${CLFS}/lib/lib{readline,history}.so68 ln -sfv ../../lib/libreadline.so. 5${CLFS}/usr/lib/libreadline.so69 ln -sfv ../../lib/libhistory.so. 5${CLFS}/usr/lib/libhistory.so</userinput></screen>58 <screen os="m"><userinput>rm -v ${CLFS}/lib/lib{readline,history}.so 59 ln -sfv ../../lib/libreadline.so.&readline-version2; ${CLFS}/usr/lib/libreadline.so 60 ln -sfv ../../lib/libhistory.so.&readline-version2; ${CLFS}/usr/lib/libhistory.so</userinput></screen> 70 61 71 62 </sect2> -
BOOK/introduction/common/changelog.xml
re84c831 r2b4b9f4 40 40 <para>March 15, 2009</para> 41 41 <itemizedlist> 42 <listitem> 43 <para>[jciccone] - Updated Readline to 6.0.</para> 44 </listitem> 42 45 <listitem> 43 46 <para>[jciccone] - Added i18n Patch to Diffutils.</para> -
BOOK/materials/common/patches.xml
re84c831 r2b4b9f4 191 191 192 192 <varlistentry> 193 <term>Readline Fixes - <token>&readline-fixes-patch-size;</token>:</term>194 <listitem>195 <para>Download: <ulink196 url="&patches-root;&readline-fixes-patch;"/></para>197 <para>MD5 sum: <literal>&readline-fixes-patch-md5;</literal></para>198 </listitem>199 </varlistentry>200 201 <varlistentry>202 193 <term>Shadow Sysroot Hacks Patch - <token>&shadow-sysroot_hacks-patch-size;</token>:</term> 203 194 <listitem> -
BOOK/packages.ent
re84c831 r2b4b9f4 254 254 <!ENTITY psmisc-home "http://psmisc.sourceforge.net"> 255 255 256 <!ENTITY readline-version "5.2"> 257 <!ENTITY readline-size "1,996 KB"> 256 <!ENTITY readline-version2 "6"> 257 <!ENTITY readline-version "&readline-version2;.0"> 258 <!ENTITY readline-size "2,217 KB"> 258 259 <!ENTITY readline-url "&gnu;readline/readline-&readline-version;.tar.gz"> 259 <!ENTITY readline-md5 " e39331f32ad14009b9ff49cc10c5e751">260 <!ENTITY readline-md5 "b7f65a48add447693be6e86f04a63019"> 260 261 <!ENTITY readline-home "http://cnswww.cns.cwru.edu/php/chet/readline/rltop.html"> 261 262 -
BOOK/patches.ent
re84c831 r2b4b9f4 81 81 <!ENTITY perl-cross_compile-patch-size "140 KB"> 82 82 83 <!ENTITY readline-fixes-patch "readline-&readline-version;-fixes-5.patch">84 <!ENTITY readline-fixes-patch-md5 "353320fac0a48339f4eccec72591ae3b">85 <!ENTITY readline-fixes-patch-size "24 KB">86 87 83 <!ENTITY shadow-sysroot_hacks-patch "shadow-&shadow-version;-sysroot_hacks-2.patch"> 88 84 <!ENTITY shadow-sysroot_hacks-patch-md5 "cf5095a86c666728650e77f1cdc64874">
Note:
See TracChangeset
for help on using the changeset viewer.