- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/final-system/common/readline.xml
r110e1fa re89c4c9 33 33 <para os="a">Prepare Readline for compilation:</para> 34 34 35 <screen os="b"><userinput>./configure --prefix=/usr --libdir=/lib</userinput></screen> 35 <screen os="b"><userinput>./configure --prefix=/usr --libdir=/lib \ 36 --docdir=/usr/share/doc/readline-&readline-version;</userinput></screen> 36 37 37 38 <para os="c">Compile the package:</para> … … 43 44 <para os="f">Install the package:</para> 44 45 45 <screen os="g"><userinput>make install</userinput></screen>46 <screen os="g"><userinput>make htmldir=/usr/share/doc/readline-&readline-version; install</userinput></screen> 46 47 47 <para os="h"> Install the documentation:</para>48 <para os="h">Now move the static libraries to a more appropriate location:</para> 48 49 49 <screen os="i"><userinput>m ake install-doc</userinput></screen>50 <screen os="i"><userinput>mv -v /lib/lib{readline,history}.a /usr/lib</userinput></screen> 50 51 51 <para os="j">N ow move the static libraries to a more appropriate location:</para>52 <para os="j">Next, 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> 52 53 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> 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> 62 57 63 58 </sect2> … … 72 67 <seglistitem> 73 68 <seg>libhistory.[a,so], and libreadline.[a,so]</seg> 74 <seg>/usr/include/readline, /usr/share/ readline</seg>69 <seg>/usr/include/readline, /usr/share/doc/readline-&readline-version;, /usr/share/readline</seg> 75 70 </seglistitem> 76 71 </segmentedlist>
Note:
See TracChangeset
for help on using the changeset viewer.