diff options
Diffstat (limited to 'prologue/hostreqs.xml')
-rw-r--r-- | prologue/hostreqs.xml | 17 |
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(){}' > dummy.c && 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> |