From 66e432588705fb9a93210428be3ab4d1ab711792 Mon Sep 17 00:00:00 2001 From: Gerard Beekmans Date: Tue, 3 Jun 2003 22:25:25 +0000 Subject: Applied Alex' "apapting-the-text.patch" patch git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2639 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter05/glibc-inst.xml | 40 ++++++++++++++++++++++++---------------- 1 file changed, 24 insertions(+), 16 deletions(-) (limited to 'chapter05/glibc-inst.xml') diff --git a/chapter05/glibc-inst.xml b/chapter05/glibc-inst.xml index 499b2ae02..b8e84de43 100644 --- a/chapter05/glibc-inst.xml +++ b/chapter05/glibc-inst.xml @@ -15,11 +15,11 @@ default optimizations, such as CFLAGS and CXXFLAGS, we recommend unsetting them when building Glibc. Basically, compiling Glibc in any other way than the book suggests -is putting your system at a very high risk. +is putting the stability of your system at risk. Though it is a harmless message, the install stage of Glibc will -complain about the presence of /etc/ld.so.conf (or lack thereof). Fix -this annoying little error: +complain about the absence of /etc/ld.so.conf. +Fix this annoying little error with: mkdir /stage1/etc touch /stage1/etc/ld.so.conf @@ -38,7 +38,7 @@ cd ../glibc-build     --with-binutils=/stage1/bin \     --without-gd -The meaning of the configure options are: +The meaning of the new configure options is: --disable-profile: This disables the @@ -46,11 +46,18 @@ building of the libraries with profiling information. Omit this option if you plan to do profiling. --enable-add-ons: This enables any -add-ons that we installed with Glibc, in our case Linuxthreads. - ---libexecdir=/usr/bin: This will -cause the pt_chown program to be installed in the -/usr/bin directory. +add-ons that were installed with Glibc, in our case Linuxthreads. + +--with-binutils=/stage1/bin and +--with-headers=/stage1/include: Strictly speaking +these switches are not required. But they ensure nothing can go wrong with +regard to what kernel headers and Binutils programs get used during the +Glibc build. + + --without-gd: This switch ensures +that we don't build the memusagestat program, which +strangely enough insists on linking against the host's libraries (libgd, +libpng, libz, and so forth). During this stage you will see the following warning: @@ -76,16 +83,17 @@ would require you to regenerate the binary files. make check make install -The locales (used by Glibc to make your Linux system talk in a different -language) weren't installed when you ran the previous command, so we have to -do that ourselves now: +The locales (used by Glibc to make your Linux system respond in a +different language) weren't installed when you ran the previous command, +so we have to do that ourselves now: make localedata/install-locales -An alternative to running the previous command is to install only those -locales 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. +An alternative to running the previous command is to install only +those locales which you need or want. This can be achieved by using the +localedef command. Information on this can be +found in the INSTALL file in the +glibc-&glibc-version; tree. -- cgit v1.2.3-54-g00ecf