aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/readline.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06/readline.xml')
-rw-r--r--chapter06/readline.xml14
1 files changed, 7 insertions, 7 deletions
diff --git a/chapter06/readline.xml b/chapter06/readline.xml
index 4ccc9e3e0..48174821b 100644
--- a/chapter06/readline.xml
+++ b/chapter06/readline.xml
@@ -46,7 +46,7 @@
it can trigger a linking bug in <command>ldconfig</command>. This can be
avoided by issuing the following two seds:</para>
-<screen><userinput>sed -i '/MV.*old/d' Makefile.in
+<screen><userinput remap="pre">sed -i '/MV.*old/d' Makefile.in
sed -i '/{OLDSUFF}/c:' support/shlib-install</userinput></screen>
<para>Readline contains a bug in its handling of non-multibyte characters,
@@ -54,15 +54,15 @@ sed -i '/{OLDSUFF}/c:' support/shlib-install</userinput></screen>
Fix this issue by applying the following patch from the upstream maintainer:
</para>
-<screen><userinput>patch -Np1 -i ../&readline-fixes-patch;</userinput></screen>
+<screen><userinput remap="pre">patch -Np1 -i ../&readline-fixes-patch;</userinput></screen>
<para>Prepare Readline for compilation:</para>
-<screen><userinput>./configure --prefix=/usr --libdir=/lib</userinput></screen>
+<screen><userinput remap="configure">./configure --prefix=/usr --libdir=/lib</userinput></screen>
<para>Compile the package:</para>
-<screen><userinput>make SHLIB_LIBS=-lncurses</userinput></screen>
+<screen><userinput remap="make">make SHLIB_LIBS=-lncurses</userinput></screen>
<variablelist>
<title>The meaning of the make option:</title>
@@ -82,17 +82,17 @@ sed -i '/{OLDSUFF}/c:' support/shlib-install</userinput></screen>
<para>Install the package:</para>
-<screen><userinput>make install</userinput></screen>
+<screen><userinput remap="install">make install</userinput></screen>
<para>Now move the static libraries to a more appropriate location:</para>
-<screen><userinput>mv -v /lib/lib{readline,history}.a /usr/lib</userinput></screen>
+<screen><userinput remap="install">mv -v /lib/lib{readline,history}.a /usr/lib</userinput></screen>
<para>Next, remove the <filename class="extension">.so</filename> files in
<filename class="directory">/lib</filename> and relink them into <filename
class="directory">/usr/lib</filename>:</para>
-<screen><userinput>rm -v /lib/lib{readline,history}.so
+<screen><userinput remap="install">rm -v /lib/lib{readline,history}.so
ln -sfv ../../lib/libreadline.so.5 /usr/lib/libreadline.so
ln -sfv ../../lib/libhistory.so.5 /usr/lib/libhistory.so</userinput></screen>