Glibc: Moved ld.so.conf creation to immediately before make install in both chapters.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3135 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
Greg Schafer 2003-12-12 23:41:37 +00:00
parent 2ad19ed298
commit 1caa48e19b
4 changed files with 21 additions and 18 deletions

View File

@ -46,11 +46,14 @@
</itemizedlist> </itemizedlist>
</listitem> </listitem>
<listitem><para>December 12th, 2003 [greg]: Glibc: Moved ld.so.conf creation
to immediately before make install in both chapters.</para></listitem>
<listitem><para>December 11th, 2003 [greg]: Chapter 6 - Inetutils: Added patch <listitem><para>December 11th, 2003 [greg]: Chapter 6 - Inetutils: Added patch
to prevent unnecessary man pages from being installed. Closes Bug to prevent unnecessary man pages from being installed. Closes Bug
723.</para></listitem> 723.</para></listitem>
<listitem><para>December 11th, 2003 [greg]: Chapter 5 - Creating directories: <listitem><para>December 11th, 2003 [greg]: Chapter 6 - Creating directories:
Stopped creation of /usr/share/{dict,nls}. Closes Bug 721.</para></listitem> Stopped creation of /usr/share/{dict,nls}. Closes Bug 721.</para></listitem>
<listitem><para>December 11th, 2003 [greg]: Chapter 5 - Setting up the <listitem><para>December 11th, 2003 [greg]: Chapter 5 - Setting up the

View File

@ -32,14 +32,7 @@ them when building Glibc.</para>
<para>Basically, compiling Glibc in any other way than the book suggests <para>Basically, compiling Glibc in any other way than the book suggests
is putting the stability of your system at risk.</para> is putting the stability of your system at risk.</para>
<para>Though it is a harmless message, the install stage of Glibc will <para>Glibc has a subtle problem when compiled with GCC &gcc-version;.
complain about the absence of <filename>/tools/etc/ld.so.conf</filename>.
Fix this annoying little warning with:</para>
<screen><userinput>mkdir /tools/etc
touch /tools/etc/ld.so.conf</userinput></screen>
<para>Also, Glibc has a subtle problem when compiled with GCC &gcc-version;.
Apply the following patch to fix this:</para> Apply the following patch to fix this:</para>
<screen><userinput>patch -Np1 -i ../&glibc-sscanf-patch;</userinput></screen> <screen><userinput>patch -Np1 -i ../&glibc-sscanf-patch;</userinput></screen>
@ -141,6 +134,13 @@ stop-start sequence by issuing a <userinput>make -k check</userinput>. But if
you do that, be sure to log the output so that you can later peruse the log you do that, be sure to log the output so that you can later peruse the log
file and examine the total number of failures.</para> file and examine the total number of failures.</para>
<para>Though it is a harmless message, the install stage of Glibc will
complain about the absence of <filename>/tools/etc/ld.so.conf</filename>.
Fix this annoying little warning with:</para>
<screen><userinput>mkdir /tools/etc
touch /tools/etc/ld.so.conf</userinput></screen>
<para>Now install the package:</para> <para>Now install the package:</para>
<screen><userinput>make install</userinput></screen> <screen><userinput>make install</userinput></screen>

View File

@ -28,13 +28,7 @@ again inside the <filename>glibc-&glibc-version;</filename> directory, and to
unset any environment variables that override the default optimization unset any environment variables that override the default optimization
flags.</para> flags.</para>
<para>Though it is a harmless message, the install stage of Glibc will <para>Apply the same patch we used previously:</para>
complain about the absence of <filename>/etc/ld.so.conf</filename>. Fix this
annoying little warning with:</para>
<screen><userinput>touch /etc/ld.so.conf</userinput></screen>
<para>Then apply the same patch we used previously:</para>
<screen><userinput>patch -Np1 -i ../&glibc-sscanf-patch;</userinput></screen> <screen><userinput>patch -Np1 -i ../&glibc-sscanf-patch;</userinput></screen>
@ -73,6 +67,12 @@ kernel headers into <filename>/usr/include</filename>.</para></listitem>
<para>The test suite notes from <xref linkend="ch05-glibc"/> are still very much <para>The test suite notes from <xref linkend="ch05-glibc"/> are still very much
appropriate here. Be sure to refer back there should you have any doubts.</para> appropriate here. Be sure to refer back there should you have any doubts.</para>
<para>Though it is a harmless message, the install stage of Glibc will
complain about the absence of <filename>/etc/ld.so.conf</filename>. Fix this
annoying little warning with:</para>
<screen><userinput>touch /etc/ld.so.conf</userinput></screen>
<para>And install the package:</para> <para>And install the package:</para>
<screen><userinput>make install</userinput></screen> <screen><userinput>make install</userinput></screen>

View File

@ -3,8 +3,8 @@
"/usr/share/docbook/docbookx.dtd" [ "/usr/share/docbook/docbookx.dtd" [
<!ENTITY version "CVS-20031211"> <!ENTITY version "CVS-20031212">
<!ENTITY releasedate "December 11th, 2003"> <!ENTITY releasedate "December 12th, 2003">
<!ENTITY milestone "5.1"> <!ENTITY milestone "5.1">
<!ENTITY nbsp " "> <!ENTITY nbsp " ">