diff --git a/chapter06/glibc-inst.xml b/chapter06/glibc-inst.xml index 99960aca5..b89ecb312 100644 --- a/chapter06/glibc-inst.xml +++ b/chapter06/glibc-inst.xml @@ -1,7 +1,7 @@    -Installation of Glibc +Glibc installation Before starting to install glibc, you must cd into the glibc-&glibc-version; directory and unpack glibc-linuxthreads inside @@ -18,8 +18,7 @@ been warned. Basically, compiling Glibc in any other way than the book suggests is putting your system at very high risk. -We'll start by applying a patch to Glibc that fixes a few -things: +We'll start by applying a patch to Glibc that fixes the following: It converts all occurrences of $(PERL) @@ -59,25 +58,23 @@ it. patch -Np1 -i ../glibc-&glibc-patch-version;.patch Glibc will check for the /etc/ld.so.conf file -and abort with an error if the file is missing, so we create it. +and abort with an error if the file is missing, so we must create it. touch /etc/ld.so.conf It is recommended by the Glibc installation documentation to build -Glibc outside of the source directory in a dedicated directory. Let's -create such a directory and make it our CWD (Current Working -Directory). +Glibc outside of the source directory in a dedicated directory. mkdir ../glibc-build && cd ../glibc-build -Next, configure Glibc. +Next, prepare Glibc to be compiled. ../glibc-&glibc-version;/configure --prefix=/usr \     --disable-profile --enable-add-ons \     --libexecdir=/usr/bin -During the configure stage you will see the following warning: +During this stage you will see the following warning:
configure: warning: *** These auxiliary programs are missing or too old: msgfmt @@ -127,9 +124,10 @@ time at the end of this chapter. make && make install -Locales aren't installed by default so we install them now. Locales -are used by Glibc to make your Linux system talk in a different language -such as your native tongue. +Locales aren't installed when you ran +make install, so we have to do that ourselves now. +Locales are used by Glibc to make your Linux system talk in a different +language. make localedata/install-locales @@ -139,9 +137,9 @@ which you need or want. This can be achieved using the localedef command. Information on this can be found in the INSTALL file in the glibc-&glibc-version; tree. -To finish off the installation we'll reload Bash so it uses the new -libnss files. This will get rid of the I have no name! -message in the command prompt. +To finish off the installation we'll reload Bash so it uses the +libnss files. This will also get rid of the +I have no name! message in the command prompt. exec /static/bin/bash --login