mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-01-20 05:57:43 +00:00
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:
parent
d9ed058fa0
commit
86bea7652c
@ -1,3 +1,5 @@
|
||||
<sect2><title> </title><para> </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 &&
|
||||
cd ../glibc-build &&
|
||||
../glibc-&glibc-version;/configure --prefix=/usr --disable-profile \
|
||||
--enable-add-ons --libexecdir=/usr/bin &&
|
||||
make &&
|
||||
make install &&
|
||||
make -C ../glibc-&glibc-version;/linuxthreads/man &&
|
||||
make -C ../glibc-&glibc-version;/linuxthreads/man install &&
|
||||
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 \
|
||||
--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>
|
||||
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user