aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerard Beekmans <gerard@linuxfromscratch.org>2003-05-21 18:43:13 +0000
committerGerard Beekmans <gerard@linuxfromscratch.org>2003-05-21 18:43:13 +0000
commit1179ee92d239aef2a357f7742913c2fef02d05f3 (patch)
tree09cd725baeb69e5096c51305729ab94135387287
parent6198a8c32219badfc1628a1b72568e74e0e30e91 (diff)
Applied Zack's glibc patch
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2622 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
-rw-r--r--chapter01/changelog.xml8
-rw-r--r--chapter05/glibc-inst.xml7
-rw-r--r--chapter06/glibc-inst.xml27
3 files changed, 16 insertions, 26 deletions
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml
index 58c44a39d..5fd11ab5f 100644
--- a/chapter01/changelog.xml
+++ b/chapter01/changelog.xml
@@ -78,6 +78,14 @@
</itemizedlist>
</para></listitem>
+<listitem><para>May 15th, 2003 [winkie]: Chapter 05 - Installing
+Glibc: Create an ld.so.conf file before building Glibc, to prevent an
+(harmless) error.</para></listitem>
+
+<listitem><para>May 15th, 2003 [winkie]: Chapter 06 - Installing Glibc:
+Don't bother doing the 'exec /stage1/bin/bash' stuff, it doesn't do anything
+now that we use PLFS.</para></listitem>
+
<listitem><para>May 21st, 2003 [winkie]: Chapter 05 &amp; 06 - Installing
Coreutils: Only test the non-root stuff in Chapter 05, but test everything
in Chapter 06.</para></listitem>
diff --git a/chapter05/glibc-inst.xml b/chapter05/glibc-inst.xml
index 0758ae04f..499b2ae02 100644
--- a/chapter05/glibc-inst.xml
+++ b/chapter05/glibc-inst.xml
@@ -17,6 +17,13 @@ them when building Glibc.</para>
<para>Basically, compiling Glibc in any other way than the book suggests
is putting your system at a very high risk.</para>
+<para>Though it is a harmless message, the install stage of Glibc will
+complain about the presence of /etc/ld.so.conf (or lack thereof). Fix
+this annoying little error:</para>
+
+<para><screen><userinput>mkdir /stage1/etc
+touch /stage1/etc/ld.so.conf</userinput></screen></para>
+
<para>The documentation that comes with Glibc recommends to build the package
not in the source directory but in a separate, dedicated directory:</para>
diff --git a/chapter06/glibc-inst.xml b/chapter06/glibc-inst.xml
index 19947774b..a55ad8e94 100644
--- a/chapter06/glibc-inst.xml
+++ b/chapter06/glibc-inst.xml
@@ -13,8 +13,7 @@ cd ../glibc-build</userinput></screen></para>
<para><screen><userinput>../glibc-&glibc-version;/configure --prefix=/usr \
&nbsp;&nbsp;&nbsp;&nbsp;--disable-profile --enable-add-ons \
-&nbsp;&nbsp;&nbsp;&nbsp;--libexecdir=/usr/bin \
-&nbsp;&nbsp;&nbsp;&nbsp;--with-headers=/usr/include</userinput></screen></para>
+&nbsp;&nbsp;&nbsp;&nbsp;--libexecdir=/usr/bin --with-headers=/usr/include</userinput></screen></para>
<para>The meaning of the configure options are:</para>
@@ -31,23 +30,6 @@ cause the <filename>pt_chown</filename> program to be installed in the
<filename>/usr/bin</filename> directory.</para></listitem>
</itemizedlist>
-<para>During this stage you will see the following warning:</para>
-
-<blockquote><screen>configure: warning:
-*** These auxiliary programs are missing or too old: msgfmt
-*** some features will be disabled.
-*** Check the INSTALL file for required versions.</screen></blockquote>
-
-<para>The missing <filename>msgfmt</filename> program (from the Gettext
-package, which we'll install later) won't cause any problems. The
-<filename>msgfmt</filename> is used to generate the binary translation
-files that can make your system talk in a different language. Because these
-translation files have already been generated for you, there is no need for
-<filename>msgfmt</filename>. You'd only need the program if you change the
-translation source files (the <filename>*.po</filename> files in the
-<filename class="directory">po</filename> subdirectory), which
-would require you to regenerate the binary files.</para>
-
<para>Continue with compiling the package:</para>
<para><screen><userinput>make</userinput></screen></para>
@@ -81,12 +63,5 @@ file in the <filename>glibc-&glibc-version;</filename> tree.</para>
<para><screen><userinput>make -C ../glibc-2.3.2/linuxthreads/man install</userinput></screen></para>
-<para>To finish off the installation we'll reload Bash so it will use the new
-<filename>libnss_*</filename> files. This will also get rid of the
-<emphasis>I have no name!</emphasis> message in the command prompt:</para>
-
-<para><screen><userinput>exec /stage1/bin/bash --login
-set +h</userinput></screen></para>
-
</sect2>