Browse Source

Update host system requirements

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10494 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Bruce Dubbs 11 years ago
parent
commit
a09a9147a5
5 changed files with 31 additions and 6 deletions
  1. 10 0
      chapter01/changelog.xml
  2. 1 1
      chapter05/gettext.xml
  3. 2 2
      general.ent
  4. 16 1
      prologue/hostreqs.xml
  5. 2 2
      prologue/standards.xml

+ 10 - 0
chapter01/changelog.xml

@@ -35,6 +35,16 @@
       </itemizedlist>
     </listitem>
 -->
+    <listitem>
+      <para>2014-03-02</para>
+      <itemizedlist>
+        <listitem>
+          <para>[bdubbs] - Update host system requirements to address
+          possible host installation of inconsistent libraries.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
     <listitem>
       <para>2014-02-18</para>
       <itemizedlist>

+ 1 - 1
chapter05/gettext.xml

@@ -80,7 +80,7 @@ make -C src msgfmt
 make -C src msgmerge
 make -C src xgettext</userinput></screen>
 
-    <para>As only three prograsm have been compiled, it is not possible to run the
+    <para>As only three programs have been compiled, it is not possible to run the
     test suite without compiling additional support libraries from the Gettext
     package. It is therefore not recommended to attempt to run the test suite at
     this stage.</para>

+ 2 - 2
general.ent

@@ -1,5 +1,5 @@
-<!ENTITY version         "SVN-20140221">
-<!ENTITY releasedate     "February 21, 2014">
+<!ENTITY version         "SVN-20140302">
+<!ENTITY releasedate     "March 2, 2014">
 <!ENTITY copyrightdate   "1999-2014"><!-- jhalfs needs a literal dash, not &ndash; -->
 <!ENTITY milestone       "7.5">
 <!ENTITY generic-version "development"> <!-- Use "development", "testing", or "x.y[-pre{x}]" -->

+ 16 - 1
prologue/hostreqs.xml

@@ -64,6 +64,15 @@
       <para><emphasis role="strong">GCC-4.1.2</emphasis> including the C++
       compiler, <command>g++</command> (Versions greater than &gcc-version; are
       not recommended as they have not been tested)</para>
+
+      <note><para>On some distributions, there have been reports that some
+      libraries used by gcc have can be in an inconsistent state and that this
+      interferes with building some LFS packages.  To check this, look in
+      /usr/lib for libgmp.la, libmpfr.la, and libmpc.la.  Either all three
+      should be present or absent, but not only one or two.  If the problem
+      exists on your system, either rename or delete the .la files or install
+      the appropriate missing package.</para></note>
+
     </listitem>
 
     <listitem>
@@ -184,7 +193,13 @@ echo 'main(){}' &gt; dummy.c &amp;&amp; g++ -o dummy dummy.c
 if [ -x dummy ]
   then echo "g++ compilation OK";
   else echo "g++ compilation failed"; fi
-rm -f dummy.c dummy</literal>
+rm -f dummy.c dummy
+
+for lib in lib{gmp,mpfr,mpc}.la; do
+  echo $lib: $(if find /usr/lib* -name $lib|
+               grep -q $lib;then :;else echo not;fi) found
+done
+unset lib</literal>
 EOF
 
 bash version-check.sh</userinput></screen>

+ 2 - 2
prologue/standards.xml

@@ -112,7 +112,7 @@
       <varlistentry>
         <term><emphasis>LSB Core:</emphasis></term>
         <listitem>
-          <para>At, Batch (a part of At), Cpio, Fcrontab, Initd-tools,
+          <para>At, Batch (a part of At), Cpio, Ed, Fcrontab, Initd-tools,
           Lsb_release, PAM, Sendmail (or Postfix or Exim) </para>
         </listitem>
       </varlistentry>
@@ -165,7 +165,7 @@
       <varlistentry>
         <term><emphasis>LSB Core:</emphasis></term>
         <listitem>
-          <para>None</para>
+          <para>time (executable) and pax</para>
         </listitem>
       </varlistentry>