Changeset 3d00c1ed for BOOK/final-system/common
- Timestamp:
- Jan 7, 2009, 10:55:12 AM (16 years ago)
- Branches:
- clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- de28452
- Parents:
- bf8339f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/final-system/common/readline.xml
rbf8339f r3d00c1ed 31 31 <screen os="p2"><userinput>patch -Np1 -i ../&readline-fixes-patch;</userinput></screen> 32 32 33 <para os="s1">This option forces Readline to link against the 34 <filename class="libraryfile">libncurses</filename> library:</para> 35 36 <screen os="s2"><userinput>sed -i 's:^SHLIB_LIBS=:SHLIB_LIBS=-lncurses:' support/shobj-conf</userinput></screen> 37 33 38 <para os="a">Prepare Readline for compilation:</para> 34 39 … … 37 42 <para os="c">Compile the package:</para> 38 43 39 <screen os="d"><userinput>make SHLIB_XLDFLAGS=-lncurses</userinput></screen>44 <screen os="d"><userinput>make</userinput></screen> 40 45 41 <variablelist os="e"> 42 <title>The meaning of the make option:</title> 46 <para os="e">This package does not come with a test suite.</para> 43 47 44 <varlistentry> 45 <term><parameter>SHLIB_XLDFLAGS=-lncurses</parameter></term> 46 <listitem> 47 <para>This option forces Readline to link against the 48 <filename class="libraryfile">libncurses</filename> library.</para> 49 </listitem> 50 </varlistentry> 51 </variablelist> 48 <para os="f">Install the package:</para> 52 49 53 <para os="f">This package does not come with a test suite.</para>50 <screen os="g"><userinput>make install</userinput></screen> 54 51 55 <para os=" g">Install the package:</para>52 <para os="h">Now move the static libraries to a more appropriate location:</para> 56 53 57 <screen os=" h"><userinput>make install</userinput></screen>54 <screen os="i"><userinput>mv -v /lib/lib{readline,history}.a /usr/lib</userinput></screen> 58 55 59 <para os="k">Now move the static libraries to a more appropriate location:</para> 60 61 <screen os="l"><userinput>mv -v /lib/lib{readline,history}.a /usr/lib</userinput></screen> 62 63 <para os="m">Next, remove the <filename class="extension">.so</filename> 56 <para os="j">Next, remove the <filename class="extension">.so</filename> 64 57 files in <filename class="directory">/lib</filename> and relink them into 65 58 <filename class="directory">/usr/lib</filename>.</para> 66 59 67 <screen os=" n"><userinput>rm -v /lib/lib{readline,history}.so60 <screen os="k"><userinput>rm -v /lib/lib{readline,history}.so 68 61 ln -svf ../../lib/libreadline.so.5 /usr/lib/libreadline.so 69 62 ln -svf ../../lib/libhistory.so.5 /usr/lib/libhistory.so</userinput></screen>
Note:
See TracChangeset
for help on using the changeset viewer.