Changeset 3d00c1ed for BOOK/final-system
- 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
- Location:
- BOOK/final-system
- Files:
-
- 4 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> -
BOOK/final-system/multilib/readline-64bit.xml
rbf8339f r3d00c1ed 32 32 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 33 33 href="readline.xml" 34 xpointer="xpointer(//*[@os='s1'])"/> 35 36 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 37 href="readline.xml" 38 xpointer="xpointer(//*[@os='s2'])"/> 39 40 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 41 href="readline.xml" 34 42 xpointer="xpointer(//*[@os='a'])"/> 35 43 … … 61 69 xpointer="xpointer(//*[@os='h'])"/> 62 70 63 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 64 href="readline.xml" 65 xpointer="xpointer(//*[@os='k'])"/> 71 <screen os="i"><userinput>mv -v /lib64/lib{readline,history}.a /usr/lib64</userinput></screen> 66 72 67 <screen os="l"><userinput>mv -v /lib64/lib{readline,history}.a /usr/lib64</userinput></screen> 68 69 <para os="m">Next, remove the <filename class="extension">.so</filename> 73 <para os="j">Next, remove the <filename class="extension">.so</filename> 70 74 files in <filename class="directory">/lib64</filename> and relink them into 71 75 <filename class="directory">/usr/lib64</filename>.</para> 72 76 73 <screen os=" n"><userinput>rm -v /lib64/lib{readline,history}.so77 <screen os="k"><userinput>rm -v /lib64/lib{readline,history}.so 74 78 ln -svf ../../lib64/libreadline.so.5 /usr/lib64/libreadline.so 75 79 ln -svf ../../lib64/libhistory.so.5 /usr/lib64/libhistory.so</userinput></screen> -
BOOK/final-system/multilib/readline-n32.xml
rbf8339f r3d00c1ed 33 33 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 34 34 href="readline.xml" 35 xpointer="xpointer(//*[@os='s1'])"/> 36 37 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 38 href="readline.xml" 39 xpointer="xpointer(//*[@os='s2'])"/> 40 41 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 42 href="readline.xml" 35 43 xpointer="xpointer(//*[@os='a'])"/> 36 44 … … 62 70 xpointer="xpointer(//*[@os='h'])"/> 63 71 64 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 65 href="readline.xml" 66 xpointer="xpointer(//*[@os='k'])"/> 72 <screen os="i"><userinput>mv -v /lib32/lib{readline,history}.a /usr/lib32</userinput></screen> 67 73 68 <screen os="l"><userinput>mv -v /lib32/lib{readline,history}.a /usr/lib32</userinput></screen> 69 70 <para os="m">Next, remove the <filename class="extension">.so</filename> 74 <para os="j">Next, remove the <filename class="extension">.so</filename> 71 75 files in <filename class="directory">/lib32</filename> and relink them into 72 76 <filename class="directory">/usr/lib32</filename>.</para> 73 77 74 <screen os=" n"><userinput>rm -v /lib32/lib{readline,history}.so78 <screen os="k"><userinput>rm -v /lib32/lib{readline,history}.so 75 79 ln -svf ../../lib32/libreadline.so.5 /usr/lib32/libreadline.so 76 80 ln -svf ../../lib32/libhistory.so.5 /usr/lib32/libhistory.so</userinput></screen> -
BOOK/final-system/multilib/readline.xml
rbf8339f r3d00c1ed 33 33 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 34 34 href="../common/readline.xml" 35 xpointer="xpointer(//*[@os='s1'])"/> 36 37 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 38 href="../common/readline.xml" 39 xpointer="xpointer(//*[@os='s2'])"/> 40 41 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 42 href="../common/readline.xml" 35 43 xpointer="xpointer(//*[@os='a'])"/> 36 44 … … 64 72 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 65 73 href="../common/readline.xml" 66 xpointer="xpointer(//*[@os=' k'])"/>74 xpointer="xpointer(//*[@os='i'])"/> 67 75 68 76 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 69 77 href="../common/readline.xml" 70 xpointer="xpointer(//*[@os=' l'])"/>78 xpointer="xpointer(//*[@os='j'])"/> 71 79 72 80 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 73 81 href="../common/readline.xml" 74 xpointer="xpointer(//*[@os=' m'])"/>82 xpointer="xpointer(//*[@os='k'])"/> 75 83 76 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"77 href="../common/readline.xml"78 xpointer="xpointer(//*[@os='n'])"/>79 84 </sect2> 80 85
Note:
See TracChangeset
for help on using the changeset viewer.