diff options
author | Mark Hymers <markh@linuxfromscratch.org> | 2001-08-08 18:41:22 +0000 |
---|---|---|
committer | Mark Hymers <markh@linuxfromscratch.org> | 2001-08-08 18:41:22 +0000 |
commit | 6879255c65bd022118525923e28da4beb48e6146 (patch) | |
tree | 8e1ce948ad0ab09c93afa4ac05de41e79ae0bc98 /chapter06 | |
parent | a9b23091c0e31b246b195063e11378367d1cca81 (diff) |
Bug 122: add glibc-nss patch
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@934 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06')
-rw-r--r-- | chapter06/glibc-exp.xml | 4 | ||||
-rw-r--r-- | chapter06/glibc-inst.xml | 7 |
2 files changed, 9 insertions, 2 deletions
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 @@ <sect2> <title>Command explanations</title> +<para><userinput>patch -Np0 -i ../glibc-2.2.3-nss.diff</userinput>: This +patch is needed to fix a couple of nasty nis bugs in glibc which can +cause problems.</para> + <para><userinput>mknod -m 0666 /dev/null c 1 3:</userinput> Glibc needs a null device to compile properly. All other devices will be created in the next section.</para> 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 @@ <sect2> <title>Installation of Glibc</title> -<para>Once glibc has been unpacked as usual and you have cd'ed into the +<para>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.</para> <para>Install Glibc by running the following commands:</para> -<para><screen><userinput>mknod -m 0666 /dev/null c 1 3 &&</userinput> +<para><screen><userinput>patch -Np0 -i ../glibc-2.2.3-nss.diff &&</userinput> +<userinput>mknod -m 0666 /dev/null c 1 3 &&</userinput> <userinput>touch /etc/ld.so.conf &&</userinput> <userinput>mkdir ../glibc-build &&</userinput> <userinput>cd ../glibc-build &&</userinput> |