From 1179ee92d239aef2a357f7742913c2fef02d05f3 Mon Sep 17 00:00:00 2001 From: Gerard Beekmans Date: Wed, 21 May 2003 18:43:13 +0000 Subject: Applied Zack's glibc patch git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2622 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter01/changelog.xml | 8 ++++++++ chapter05/glibc-inst.xml | 7 +++++++ chapter06/glibc-inst.xml | 27 +-------------------------- 3 files changed, 16 insertions(+), 26 deletions(-) diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 58c44a39d..5fd11ab5f 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -78,6 +78,14 @@ +May 15th, 2003 [winkie]: Chapter 05 - Installing +Glibc: Create an ld.so.conf file before building Glibc, to prevent an +(harmless) error. + +May 15th, 2003 [winkie]: Chapter 06 - Installing Glibc: +Don't bother doing the 'exec /stage1/bin/bash' stuff, it doesn't do anything +now that we use PLFS. + May 21st, 2003 [winkie]: Chapter 05 & 06 - Installing Coreutils: Only test the non-root stuff in Chapter 05, but test everything in Chapter 06. diff --git a/chapter05/glibc-inst.xml b/chapter05/glibc-inst.xml index 0758ae04f..499b2ae02 100644 --- a/chapter05/glibc-inst.xml +++ b/chapter05/glibc-inst.xml @@ -17,6 +17,13 @@ them when building Glibc. Basically, compiling Glibc in any other way than the book suggests is putting your system at a very high 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: + +mkdir /stage1/etc +touch /stage1/etc/ld.so.conf + The documentation that comes with Glibc recommends to build the package not in the source directory but in a separate, dedicated directory: diff --git a/chapter06/glibc-inst.xml b/chapter06/glibc-inst.xml index 19947774b..a55ad8e94 100644 --- a/chapter06/glibc-inst.xml +++ b/chapter06/glibc-inst.xml @@ -13,8 +13,7 @@ cd ../glibc-build ../glibc-&glibc-version;/configure --prefix=/usr \     --disable-profile --enable-add-ons \ -    --libexecdir=/usr/bin \ -    --with-headers=/usr/include +    --libexecdir=/usr/bin --with-headers=/usr/include The meaning of the configure options are: @@ -31,23 +30,6 @@ cause the pt_chown program to be installed in the /usr/bin directory. -During this stage you will see the following warning: - -
configure: warning: -*** These auxiliary programs are missing or too old: msgfmt -*** some features will be disabled. -*** Check the INSTALL file for required versions.
- -The missing msgfmt program (from the Gettext -package, which we'll install later) won't cause any problems. The -msgfmt is used to generate the binary translation -files that can make your system talk in a different language. Because these -translation files have already been generated for you, there is no need for -msgfmt. You'd only need the program if you change the -translation source files (the *.po files in the -po subdirectory), which -would require you to regenerate the binary files. - Continue with compiling the package: make @@ -81,12 +63,5 @@ file in the glibc-&glibc-version; tree. make -C ../glibc-2.3.2/linuxthreads/man install -To finish off the installation we'll reload Bash so it will use the new -libnss_* files. This will also get rid of the -I have no name! message in the command prompt: - -exec /stage1/bin/bash --login -set +h - -- cgit v1.2.3-54-g00ecf