aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/glibc-inst.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06/glibc-inst.xml')
-rw-r--r--chapter06/glibc-inst.xml60
1 files changed, 28 insertions, 32 deletions
diff --git a/chapter06/glibc-inst.xml b/chapter06/glibc-inst.xml
index a8c94ce2a..62335ac32 100644
--- a/chapter06/glibc-inst.xml
+++ b/chapter06/glibc-inst.xml
@@ -10,34 +10,28 @@ Unpack the glibc-linuxthreads in the glibc-&glibc-version; directory, not in
Install Glibc by running the following commands:
</para>
-<blockquote><literallayout>
- <userinput>mknod -m 0666 /dev/null c 1 3 &amp;&amp;</userinput>
- <userinput>touch /etc/ld.so.conf &amp;&amp;</userinput>
- <userinput>mkdir /usr/src/glibc-build &amp;&amp;</userinput>
- <userinput>cd /usr/src/glibc-build &amp;&amp;</userinput>
- <userinput>sed s/"\$(PERL)"/"\/usr\/bin\/perl"/ \</userinput>
- <userinput>&nbsp;&nbsp;&nbsp;../glibc-&glibc-version;/malloc/Makefile
- &gt; tmp~ &amp;&amp;</userinput>
- <userinput>mv tmp~ ../glibc-&glibc-version;/malloc/Makefile &amp;&amp;
- </userinput>
- <userinput>sed "s/root/0/" ../glibc-&glibc-version;/login/Makefile
- &gt; tmp~ &amp;&amp; </userinput>
- <userinput>mv tmp~ ../glibc-&glibc-version;/login/Makefile &amp;&amp;
- </userinput>
- <userinput>../glibc-&glibc-version;/configure \</userinput>
- <userinput>&nbsp;&nbsp;&nbsp;--prefix=/usr --enable-add-ons
- \</userinput>
- <userinput>&nbsp;&nbsp;&nbsp;--libexecdir=/usr/bin &amp;&amp;
- </userinput>
- <userinput>sed s/"cross-compiling = yes"/"cross-compiling = no"/
- \</userinput>
- <userinput>&nbsp;&nbsp;&nbsp;config.make &gt; config.make~
- &amp;&amp;</userinput>
- <userinput>mv config.make~ config.make &amp;&amp;</userinput>
- <userinput>make &amp;&amp;</userinput>
- <userinput>make install &amp;&amp;</userinput>
- <userinput>make localedata/install-locales</userinput>
-</literallayout></blockquote>
+<para>
+<screen>
+<userinput>mknod -m 0666 /dev/null c 1 3 &amp;&amp;</userinput>
+<userinput>touch /etc/ld.so.conf &amp;&amp;</userinput>
+<userinput>mkdir /usr/src/glibc-build &amp;&amp;</userinput>
+<userinput>cd /usr/src/glibc-build &amp;&amp;</userinput>
+<userinput>sed s/"\$(PERL)"/"\/usr\/bin\/perl"/ \</userinput>
+<userinput>&nbsp;&nbsp;&nbsp;../glibc-&glibc-version;/malloc/Makefile &gt; tmp~ &amp;&amp;</userinput>
+<userinput>mv tmp~ ../glibc-&glibc-version;/malloc/Makefile &amp;&amp;</userinput>
+<userinput>sed "s/root/0/" ../glibc-&glibc-version;/login/Makefile &gt; tmp~ &amp;&amp;</userinput>
+<userinput>mv tmp~ ../glibc-&glibc-version;/login/Makefile &amp;&amp;</userinput>
+<userinput>../glibc-&glibc-version;/configure \</userinput>
+<userinput>&nbsp;&nbsp;&nbsp;--prefix=/usr --enable-add-ons \</userinput>
+<userinput>&nbsp;&nbsp;&nbsp;--libexecdir=/usr/bin &amp;&amp;</userinput>
+<userinput>sed s/"cross-compiling = yes"/"cross-compiling = no"/ \</userinput>
+<userinput>&nbsp;&nbsp;&nbsp;config.make &gt; config.make~ &amp;&amp;</userinput>
+<userinput>mv config.make~ config.make &amp;&amp;</userinput>
+<userinput>make &amp;&amp;</userinput>
+<userinput>make install &amp;&amp;</userinput>
+<userinput>make localedata/install-locales</userinput>
+</screen>
+</para>
<para>
During the configure stage you will see the following warning:
@@ -69,10 +63,12 @@ to ensure a properly working bash.
Run the following commands to accomplish this:
</para>
-<blockquote><literallayout>
- <userinput>logout</userinput>
- &c6-chrootcmd;
-</literallayout></blockquote>
+<para>
+<screen>
+<userinput>logout</userinput>
+&c6-chrootcmd;
+</screen>
+</para>
</sect2>