aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/glibc-inst.xml
diff options
context:
space:
mode:
authorMarc Heerdink <gimli@linuxfromscratch.org>2001-12-10 15:23:46 +0000
committerMarc Heerdink <gimli@linuxfromscratch.org>2001-12-10 15:23:46 +0000
commit8c5e7152f076d6b68a23e6629a44b49763557f48 (patch)
treea1aefdf4de97412c9982138139b5afedc09f4361 /chapter06/glibc-inst.xml
parent7c77094da04a687209937c8bf15ced1d8bac404a (diff)
Resolved bug 192 and a version increase
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1370 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/glibc-inst.xml')
-rw-r--r--chapter06/glibc-inst.xml9
1 files changed, 3 insertions, 6 deletions
diff --git a/chapter06/glibc-inst.xml b/chapter06/glibc-inst.xml
index 96991e865..2eb2d7f54 100644
--- a/chapter06/glibc-inst.xml
+++ b/chapter06/glibc-inst.xml
@@ -17,19 +17,16 @@ it comes with.</para>
<para><screen><userinput>mknod -m 0666 /dev/null c 1 3 &amp;&amp;
touch /etc/ld.so.conf &amp;&amp;
cp malloc/Makefile malloc/Makefile.backup &amp;&amp;
-sed 's%\$(PERL)%/usr/bin/perl%' malloc/Makefile &gt; tmp~ &amp;&amp;
-mv tmp~ malloc/Makefile &amp;&amp;
+sed 's%\$(PERL)%/usr/bin/perl%' malloc/Makefile.backup &gt; malloc/Makefile &amp;&amp;
cp login/Makefile login/Makefile.backup &amp;&amp;
-sed 's/root/0/' login/Makefile &gt; tmp~ &amp;&amp;
-mv tmp~ login/Makefile &amp;&amp;
+sed 's/root/0/' login/Makefile.backup &gt; login/Makefile &amp;&amp;
mkdir ../glibc-build &amp;&amp;
cd ../glibc-build &amp;&amp;
../glibc-&glibc-version;/configure --prefix=/usr \
&nbsp;&nbsp;&nbsp;--enable-add-ons --libexecdir=/usr/bin &amp;&amp;
cp config.make config.make.backup &amp;&amp;
sed 's/cross-compiling = yes/cross-compiling = no/' \
-&nbsp;&nbsp;&nbsp;config.make &gt; tmp~ &amp;&amp;
-mv tmp~ config.make &amp;&amp;
+&nbsp;&nbsp;&nbsp;config.make.backup &gt; config.make &amp;&amp;
make &amp;&amp;
make install &amp;&amp;
make localedata/install-locales &amp;&amp;