aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
authorTimothy Bauscher <timothy@linuxfromscratch.org>2003-01-17 20:22:16 +0000
committerTimothy Bauscher <timothy@linuxfromscratch.org>2003-01-17 20:22:16 +0000
commit86bea7652c28b8aa9a7fd0b1b91a3039372ab200 (patch)
treee44fe6e85835675eb9a7fdd06aa4f25cbf9a2894 /chapter06
parentd9ed058fa0c16a6c13e73694003d42188ffd470a (diff)
Last package conversion - second Glibc.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2387 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/glibc-pass2-inst.xml39
-rw-r--r--chapter06/glibc-pass2.xml2
2 files changed, 32 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>
diff --git a/chapter06/glibc-pass2.xml b/chapter06/glibc-pass2.xml
index e9826c957..9f06080b5 100644
--- a/chapter06/glibc-pass2.xml
+++ b/chapter06/glibc-pass2.xml
@@ -5,6 +5,8 @@
<screen>Estimated build time: &glibc-pass2-time;
Estimated required disk space: &glibc-pass2-compsize;</screen>
+&aa-glibc-shortdesc;
+&aa-glibc-dep;
&c6-glibc-pass2-inst;
</sect1>