Changeset 2b4b9f4 in clfs-sysroot for BOOK/final-system
- Timestamp:
- Mar 15, 2009, 1:16:09 PM (16 years ago)
- Branches:
- master
- Children:
- b3e939f
- Parents:
- e84c831
- File:
-
- 1 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>
Note:
See TracChangeset
for help on using the changeset viewer.