From 6879255c65bd022118525923e28da4beb48e6146 Mon Sep 17 00:00:00 2001 From: Mark Hymers Date: Wed, 8 Aug 2001 18:41:22 +0000 Subject: Bug 122: add glibc-nss patch git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@934 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/glibc-exp.xml | 4 ++++ chapter06/glibc-inst.xml | 7 +++++-- 2 files changed, 9 insertions(+), 2 deletions(-) (limited to 'chapter06') diff --git a/chapter06/glibc-exp.xml b/chapter06/glibc-exp.xml index 11c8d6b47..73aa27bad 100644 --- a/chapter06/glibc-exp.xml +++ b/chapter06/glibc-exp.xml @@ -1,6 +1,10 @@ Command explanations +patch -Np0 -i ../glibc-2.2.3-nss.diff: This +patch is needed to fix a couple of nasty nis bugs in glibc which can +cause problems. + mknod -m 0666 /dev/null c 1 3: Glibc needs a null device to compile properly. All other devices will be created in the next section. diff --git a/chapter06/glibc-inst.xml b/chapter06/glibc-inst.xml index 2d064122b..b39be8a8b 100644 --- a/chapter06/glibc-inst.xml +++ b/chapter06/glibc-inst.xml @@ -1,14 +1,17 @@ Installation of Glibc -Once glibc has been unpacked as usual and you have cd'ed into the +Before starting to install glibc, unpack the glibc-2.2.3-nss.diff +file in the $LFS/usr/src tree. Then, once glibc has been unpacked as usual +and you have cd'ed into the glibc-&glibc-version; directory, unpack glibc-linuxthreads inside the glibc-&glibc-version; directory, not in /usr/src as you normally would do. Install Glibc by running the following commands: -mknod -m 0666 /dev/null c 1 3 && +patch -Np0 -i ../glibc-2.2.3-nss.diff && +mknod -m 0666 /dev/null c 1 3 && touch /etc/ld.so.conf && mkdir ../glibc-build && cd ../glibc-build && -- cgit v1.2.3-54-g00ecf