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