aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/glibc-pass2-inst.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06/glibc-pass2-inst.xml')
-rw-r--r--chapter06/glibc-pass2-inst.xml39
1 files changed, 30 insertions, 9 deletions
diff --git a/chapter06/glibc-pass2-inst.xml b/chapter06/glibc-pass2-inst.xml
index 876430117..92e9a282f 100644
--- a/chapter06/glibc-pass2-inst.xml
+++ b/chapter06/glibc-pass2-inst.xml
@@ -1,3 +1,5 @@
+<sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
+
<sect2>
<title>Installation of Glibc</title>
@@ -36,17 +38,36 @@ been warned.</para>
<para>Basically, compiling Glibc in any other way than the book suggests
is putting your system at very high risk.</para>
-<para>Install Glibc by running the following commands:</para>
+<para>It is recommended by the Glibc installation documentation to build
+Glibc outside of the source tree. Create the build directory:</para>
<para><screen><userinput>mkdir ../glibc-build &amp;&amp;
-cd ../glibc-build &amp;&amp;
-../glibc-&glibc-version;/configure --prefix=/usr --disable-profile \
-&nbsp;&nbsp;&nbsp;&nbsp;--enable-add-ons --libexecdir=/usr/bin &amp;&amp;
-make &amp;&amp;
-make install &amp;&amp;
-make -C ../glibc-&glibc-version;/linuxthreads/man &amp;&amp;
-make -C ../glibc-&glibc-version;/linuxthreads/man install &amp;&amp;
-exec /bin/bash --login</userinput></screen></para>
+cd ../glibc-build</userinput></screen></para>
+
+<para>Next, prepare Glibc to be compiled:</para>
+
+<para><screen><userinput>../glibc-&glibc-version;/configure --prefix=/usr --disable-profile \
+&nbsp;&nbsp;&nbsp;&nbsp;--enable-add-ons --libexecdir=/usr/bin</userinput></screen></para>
+
+<para>Continue with compiling the package:</para>
+
+<para><screen><userinput>make</userinput></screen></para>
+
+<para>Begin package installation:</para>
+
+<para><screen><userinput>make install</userinput></screen></para>
+
+<para>Build the linuxthreads man pages:</para>
+
+<para><screen><userinput>make -C ../glibc-&glibc-version;/linuxthreads/man</userinput></screen></para>
+
+<para>Install the man pages:</para>
+
+<para><screen><userinput>make -C ../glibc-&glibc-version;/linuxthreads/man install</userinput></screen></para>
+
+<para>Complete package installation by relaunching bash:</para>
+
+<para><screen><userinput>exec /bin/bash --login</userinput></screen></para>
</sect2>