diff options
author | Gerard Beekmans <gerard@linuxfromscratch.org> | 2002-05-30 11:51:27 +0000 |
---|---|---|
committer | Gerard Beekmans <gerard@linuxfromscratch.org> | 2002-05-30 11:51:27 +0000 |
commit | 3b3e965d2933fadf3933216cbf53373f7cfa1b8a (patch) | |
tree | d4c5aad73b462158b2b9751fa306375c9c0e0f2b /chapter06/glibc-inst.xml | |
parent | ca6391e6590484cfb50a436acd844cd199b9e5d5 (diff) |
Fix bug #316 - replace sed's with patches. Done for c5-fileutils, c6-glibc, c6-gawk and c6-ed
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1947 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
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 \ |