aboutsummaryrefslogtreecommitdiffstats
path: root/prologue/hostreqs.xml
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2014-03-02 18:29:21 +0000
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2014-03-02 18:29:21 +0000
commita09a9147a58cdaca21f7d910904153544de25e56 (patch)
tree2c3f6fa06e616c16725d30a297e2d61bb87b23d3 /prologue/hostreqs.xml
parent4a3208584d11d4f7048dfabd213476e631fba9c3 (diff)
Update host system requirements
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10494 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'prologue/hostreqs.xml')
-rw-r--r--prologue/hostreqs.xml17
1 files changed, 16 insertions, 1 deletions
diff --git a/prologue/hostreqs.xml b/prologue/hostreqs.xml
index 153f31898..8e83e864b 100644
--- a/prologue/hostreqs.xml
+++ b/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>