From a09a9147a58cdaca21f7d910904153544de25e56 Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Sun, 2 Mar 2014 18:29:21 +0000 Subject: Update host system requirements git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10494 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- prologue/hostreqs.xml | 17 ++++++++++++++++- prologue/standards.xml | 4 ++-- 2 files changed, 18 insertions(+), 3 deletions(-) (limited to 'prologue') 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 @@ GCC-4.1.2 including the C++ compiler, g++ (Versions greater than &gcc-version; are not recommended as they have not been tested) + + 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. + @@ -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 +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 EOF bash version-check.sh diff --git a/prologue/standards.xml b/prologue/standards.xml index cc5db1916..a4dbd2d7e 100644 --- a/prologue/standards.xml +++ b/prologue/standards.xml @@ -112,7 +112,7 @@ LSB Core: - At, Batch (a part of At), Cpio, Fcrontab, Initd-tools, + At, Batch (a part of At), Cpio, Ed, Fcrontab, Initd-tools, Lsb_release, PAM, Sendmail (or Postfix or Exim) @@ -165,7 +165,7 @@ LSB Core: - None + time (executable) and pax -- cgit v1.2.3-54-g00ecf