- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/final-system/common/readline.xml
re89c4c9 r110e1fa 33 33 <para os="a">Prepare Readline for compilation:</para> 34 34 35 <screen os="b"><userinput>./configure --prefix=/usr --libdir=/lib \ 36 --docdir=/usr/share/doc/readline-&readline-version;</userinput></screen> 35 <screen os="b"><userinput>./configure --prefix=/usr --libdir=/lib</userinput></screen> 37 36 38 37 <para os="c">Compile the package:</para> … … 44 43 <para os="f">Install the package:</para> 45 44 46 <screen os="g"><userinput>make htmldir=/usr/share/doc/readline-&readline-version;install</userinput></screen>45 <screen os="g"><userinput>make install</userinput></screen> 47 46 48 <para os="h"> Now move the static libraries to a more appropriate location:</para>47 <para os="h">Install the documentation:</para> 49 48 50 <screen os="i"><userinput>m v -v /lib/lib{readline,history}.a /usr/lib</userinput></screen>49 <screen os="i"><userinput>make install-doc</userinput></screen> 51 50 52 <para os="j">N ext, relink the dynamic libraries into <filename class="directory">/usr/lib</filename> and remove the <filename class="extension">.so</filename> files in <filename class="directory">/lib</filename>.</para>51 <para os="j">Now move the static libraries to a more appropriate location:</para> 53 52 54 <screen os="k"><userinput>ln -svf ../../lib/$(readlink /lib/libreadline.so) /usr/lib/libreadline.so 55 ln -svf ../../lib/$(readlink /lib/libhistory.so) /usr/lib/libhistory.so 56 rm -v /lib/lib{readline,history}.so</userinput></screen> 53 <screen os="k"><userinput>mv -v /lib/lib{readline,history}.a /usr/lib</userinput></screen> 54 55 <para os="l">Next, remove the <filename class="extension">.so</filename> 56 files in <filename class="directory">/lib</filename> and relink them into 57 <filename class="directory">/usr/lib</filename>.</para> 58 59 <screen os="m"><userinput>rm -v /lib/lib{readline,history}.so 60 ln -svf ../../lib/libreadline.so.&readline-version2; /usr/lib/libreadline.so 61 ln -svf ../../lib/libhistory.so.&readline-version2; /usr/lib/libhistory.so</userinput></screen> 57 62 58 63 </sect2> … … 67 72 <seglistitem> 68 73 <seg>libhistory.[a,so], and libreadline.[a,so]</seg> 69 <seg>/usr/include/readline, /usr/share/ doc/readline-&readline-version;, /usr/share/readline</seg>74 <seg>/usr/include/readline, /usr/share/readline</seg> 70 75 </seglistitem> 71 76 </segmentedlist>
Note:
See TracChangeset
for help on using the changeset viewer.