diff options
Diffstat (limited to 'chapter06/glibc-inst.xml')
-rw-r--r-- | chapter06/glibc-inst.xml | 7 |
1 files changed, 5 insertions, 2 deletions
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> |