aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/glibc-exp.xml
diff options
context:
space:
mode:
authorMark Hymers <markh@linuxfromscratch.org>2001-08-16 21:16:55 +0000
committerMark Hymers <markh@linuxfromscratch.org>2001-08-16 21:16:55 +0000
commitea57e1b0d1a4372b2e310e04c73d4a0dfa3c0c1d (patch)
tree837ee68c63217218105d58868f59b197bd2248f7 /chapter06/glibc-exp.xml
parent1fda654c2aa79697bf1317ed318ea648c8cd1aa1 (diff)
Bug 69: glibc-2.2.4
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@984 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/glibc-exp.xml')
-rw-r--r--chapter06/glibc-exp.xml19
1 files changed, 7 insertions, 12 deletions
diff --git a/chapter06/glibc-exp.xml b/chapter06/glibc-exp.xml
index 822d8d83d..dfb3bae3c 100644
--- a/chapter06/glibc-exp.xml
+++ b/chapter06/glibc-exp.xml
@@ -1,10 +1,6 @@
<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>
@@ -17,30 +13,29 @@ will have Glibc default to using /lib and /usr/lib which is fine
right now).</para>
<para><userinput>sed 's|$(PERL)|/usr/bin/perl|'
-../glibc-2.2.3/malloc/Makefile &gt; tmp~:</userinput> This sed command
-searches through <filename>../glibc-2.2.3/malloc/Makefile</filename> and
+../glibc-&glibc-version;/malloc/Makefile &gt; tmp~:</userinput> This sed command
+searches through <filename>../glibc-&glibc-version;/malloc/Makefile</filename> and
converts all occurances of <filename>$(PERL)</filename> to
<filename>/usr/bin/perl</filename>. The output is then written to the
file <filename>tmp~</filename>. This is done because Glibc can't
autodetect perl since it's not installed yet at the time when we install
Glibc.</para>
-<para><userinput>mv tmp~ ../glibc-2.2.3/malloc/Makefile:</userinput> The file
+<para><userinput>mv tmp~ ../glibc-&glibc-version;/malloc/Makefile:</userinput> The file
<filename>tmp~</filename> is now moved back to
-<filename>../glibc-2.2.3/malloc/Makefile</filename>. We do this because
+<filename>../glibc-&glibc-version;/malloc/Makefile</filename>. We do this because
when using sed, we can't write straight back to this file so we need to
use a temporary file in between.</para>
-<para><userinput>sed 's/root/0' ../glibc-2.2.3/login/Makefile &gt;
+<para><userinput>sed 's/root/0' ../glibc-&glibc-version;/login/Makefile &gt;
tmp~:</userinput> This sed command replaces all occurances of
<filename>root</filename> in
-<filename>../glibc-2.2.3/login/Makefile</filename> with 0. This is
+<filename>../glibc-&glibc-version;/login/Makefile</filename> with 0. This is
because as we don't have glibc on the LFS system yet, usernames can't
be resolved to their user id's. Therefore, we replace the username
root with the id 0. </para>
-<para><userinput>mv tmp~ ../glibc-2.2.3/login/Makefile:</userinput> As above,
-we are using a temporary file (<filename>tmp~</filename>) to store the
+<para><userinput>mv tmp~ ../glibc-&glibc-version;/login/Makefile:</userinput> Asabove, we are using a temporary file (<filename>tmp~</filename>) to store the
edited Makefile and then copying it back over the original.</para>
<para><userinput>--enable-add-ons:</userinput> This enables the add-on that