diff options
Diffstat (limited to 'chapter06/glibc-inst.xml')
-rw-r--r-- | chapter06/glibc-inst.xml | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/chapter06/glibc-inst.xml b/chapter06/glibc-inst.xml index 63a885916..8f83dcd60 100644 --- a/chapter06/glibc-inst.xml +++ b/chapter06/glibc-inst.xml @@ -1,6 +1,10 @@ <sect2> <title>Installation of Glibc</title> +<para>This package requires its patch to be applied before you can +install it. Make sure it's unpacked before running the installation +commands.</para> + <para>Before starting to install glibc, you must cd into the glibc-&glibc-version; directory and unpack glibc-linuxthreads inside the glibc-&glibc-version; directory, not in /usr/src as you normally @@ -22,12 +26,8 @@ is putting your system at very high risk.</para> <para>Install Glibc by running the following commands:</para> -<para><screen><userinput>touch /etc/ld.so.conf && -cp malloc/Makefile malloc/Makefile.backup && -sed 's%\$(PERL)%/usr/bin/perl%' \ - malloc/Makefile.backup > malloc/Makefile && -cp login/Makefile login/Makefile.backup && -sed 's/root/0/' login/Makefile.backup > login/Makefile && +<para><screen><userinput>patch -Np1 -i ../glibc-&glibc-version;.patch && +touch /etc/ld.so.conf && mkdir ../glibc-build && cd ../glibc-build && ../glibc-&glibc-version;/configure --prefix=/usr \ |