Author: bdubbs
Date: 2012-08-27 11:50:50 -0600 (Mon, 27 Aug 2012)
New Revision: 9963
Modified:
trunk/BOOK/chapter01/changelog.xml
trunk/BOOK/chapter05/glibc.xml
trunk/BOOK/chapter06/glibc.xml
trunk/BOOK/general.ent
Log:
Add instructions to Chapter 5 glibc to add rpc headers
to the host system if they are missing.
Modified: trunk/BOOK/chapter01/changelog.xml
===================================================================
--- trunk/BOOK/chapter01/changelog.xml 2012-08-26 20:12:51 UTC (rev 9962)
+++ trunk/BOOK/chapter01/changelog.xml 2012-08-27 17:50:50 UTC (rev 9963)
@@ -37,6 +37,19 @@
-->
<listitem>
+ <para>2012-08-27</para>
+ <itemizedlist>
+ <listitem>
+ <para>[bdubbs] - Add instructions to Chapter 5 glibc
+ to add rpc headers to the host system if they are missing.</para>
+ </listitem>
+ <listitem>
+ <para>[bdubbs] - Apply upstream patches to make.</para>
+ </listitem>
+ </itemizedlist>
+ </listitem>
+
+ <listitem>
<para>2012-08-26</para>
<itemizedlist>
<listitem>
Modified: trunk/BOOK/chapter05/glibc.xml
===================================================================
--- trunk/BOOK/chapter05/glibc.xml 2012-08-26 20:12:51 UTC (rev 9962)
+++ trunk/BOOK/chapter05/glibc.xml 2012-08-27 17:50:50 UTC (rev 9963)
@@ -43,6 +43,19 @@
<sect2 role="installation">
<title>Installation of Glibc</title>
+ <para>In some cases, particularly LFS 7.1, the rpc headers were not
+ installed properly. Test to see if they are installed in the host system
+ and install if they are not:</para>
+
+<screen><userinput remap="pre">if [ ! -r /usr/include/rpc/types.h ]; then
+ su -c 'mkdir -p /usr/include/rpc'
+ su -c 'cp -v sunrpc/rpc/*.h /usr/include/rpc'
+fi</userinput></screen>
+
+ <para>Fix an issue when building Glibc-&glibc-version; with
GCC-&gcc-version;:</para>
+
+<screen><userinput remap="pre">sed -i 's/ -lgcc_s//'
Makeconfig</userinput></screen>
+
<para>The Glibc documentation recommends building Glibc outside of the
source
directory in a dedicated build directory:</para>
@@ -63,10 +76,7 @@
i?86) echo "CFLAGS += -march=i486 -mtune=native" > configparms ;;
esac</userinput></screen>
-->
- <para>Fix an issue when building Glibc-&glibc-version; with
GCC-&gcc-version;:</para>
-<screen><userinput remap="pre">sed -i 's/ -lgcc_s//'
../glibc-&glibc-version;/Makeconfig</userinput></screen>
-
<para>Next, prepare Glibc for compilation:</para>
<screen><userinput remap="configure">../glibc-&glibc-version;/configure
\
Modified: trunk/BOOK/chapter06/glibc.xml
===================================================================
--- trunk/BOOK/chapter06/glibc.xml 2012-08-26 20:12:51 UTC (rev 9962)
+++ trunk/BOOK/chapter06/glibc.xml 2012-08-27 17:50:50 UTC (rev 9963)
@@ -71,11 +71,11 @@
<screen><userinput remap="pre">sed -i '/vi_VN.TCVN/d'
localedata/SUPPORTED</userinput></screen>
-->
-
+<!--
<para>Fix a bug that causes the build to fail:</para>
<screen><userinput remap="pre">sed -i 's#<rpc/types.h>#"rpc/types.h"#'
sunrpc/rpc_clntout.c</userinput></screen>
-
+-->
<!-- <para>When running <command>make install</command>, a script called
<filename>test-installation.pl</filename> performs a small sanity test on
our newly installed Glibc. However, because our toolchain still points to
@@ -223,7 +223,8 @@
<screen><userinput remap="install">make install</userinput></screen>
<para>Install NIS and RPC related headers that are not installed by
- default; these are required by several BLFS packages:</para>
+ default; these are required ito rebuild glibc and by several BLFS
+ packages:</para>
<screen><userinput remap="install">cp -v
../glibc-&glibc-version;/sunrpc/rpc/*.h /usr/include/rpc
cp -v ../glibc-&glibc-version;/sunrpc/rpcsvc/*.h /usr/include/rpcsvc
Modified: trunk/BOOK/general.ent
===================================================================
--- trunk/BOOK/general.ent 2012-08-26 20:12:51 UTC (rev 9962)
+++ trunk/BOOK/general.ent 2012-08-27 17:50:50 UTC (rev 9963)
@@ -1,5 +1,5 @@
-<!ENTITY version "SVN-20120826">
-<!ENTITY releasedate "August 26, 2012">
+<!ENTITY version "SVN-20120827">
+<!ENTITY releasedate "August 27, 2012">
<!ENTITY copyrightdate "1999-2012"><!-- jhalfs needs a literal dash, not
– -->
<!ENTITY milestone "7.2">
<!ENTITY generic-version "development"> <!-- Use "development", "testing", or
"x.y[-pre{x}]" -->
--
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page