Applied Zack's glibc patch

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2622 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
Gerard Beekmans 2003-05-21 18:43:13 +00:00
parent 6198a8c322
commit 1179ee92d2
3 changed files with 16 additions and 26 deletions

View File

@ -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>

View File

@ -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>

View File

@ -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>