From 86bea7652c28b8aa9a7fd0b1b91a3039372ab200 Mon Sep 17 00:00:00 2001 From: Timothy Bauscher Date: Fri, 17 Jan 2003 20:22:16 +0000 Subject: Last package conversion - second Glibc. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2387 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/glibc-pass2-inst.xml | 39 ++++++++++++++++++++++++++++++--------- 1 file changed, 30 insertions(+), 9 deletions(-) (limited to 'chapter06/glibc-pass2-inst.xml') 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 @@ +   + Installation of Glibc @@ -36,17 +38,36 @@ been warned. Basically, compiling Glibc in any other way than the book suggests is putting your system at very high risk. -Install Glibc by running the following commands: +It is recommended by the Glibc installation documentation to build +Glibc outside of the source tree. Create the build directory: 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 +cd ../glibc-build + +Next, prepare Glibc to be compiled: + +../glibc-&glibc-version;/configure --prefix=/usr --disable-profile \ +    --enable-add-ons --libexecdir=/usr/bin + +Continue with compiling the package: + +make + +Begin package installation: + +make install + +Build the linuxthreads man pages: + +make -C ../glibc-&glibc-version;/linuxthreads/man + +Install the man pages: + +make -C ../glibc-&glibc-version;/linuxthreads/man install + +Complete package installation by relaunching bash: + +exec /bin/bash --login -- cgit v1.2.3-54-g00ecf