Last package conversion - second Glibc.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2387 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
Timothy Bauscher 2003-01-17 20:22:16 +00:00
parent d9ed058fa0
commit 86bea7652c
2 changed files with 32 additions and 9 deletions

View File

@ -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>

View File

@ -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>