From 533664111568c587115b2278fa788d1171e22876 Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Thu, 3 Dec 2015 23:12:18 +0000 Subject: [PATCH] Update to gmp-6.1.0. Clean up Eudev configure options. Update host requirements to require GCC-4.7 or later. Clarify that setting and using the LFS variable assumes the bash shell. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10974 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter01/changelog.xml | 21 +++++++++++++++++++++ chapter01/whatsnew.xml | 4 ++-- chapter02/aboutlfs.xml | 6 +++++- chapter06/eudev.xml | 17 +++++++++++------ chapter06/gmp.xml | 4 ++-- general.ent | 4 ++-- packages.ent | 8 ++++---- prologue/hostreqs.xml | 4 ++-- 8 files changed, 49 insertions(+), 19 deletions(-) diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 228483650..11b3408f1 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -36,6 +36,27 @@ --> + + 2015-12-03 + + + [bdubbs] - Update to gmp-6.1.0. Fixes + #3862. + + + [bdubbs] - Clean up Eudev configure options. Fixes + #3865. + + + [bdubbs] - Update host requirements to require GCC-4.7 or later. + + + [bdubbs] - Clarify that setting and using the LFS variable + assumes the bash shell. + + + + 2015-11-18 diff --git a/chapter01/whatsnew.xml b/chapter01/whatsnew.xml index b5d1d6946..141739190 100644 --- a/chapter01/whatsnew.xml +++ b/chapter01/whatsnew.xml @@ -97,9 +97,9 @@ - + diff --git a/chapter02/aboutlfs.xml b/chapter02/aboutlfs.xml index 88dbe6793..7193794da 100644 --- a/chapter02/aboutlfs.xml +++ b/chapter02/aboutlfs.xml @@ -47,6 +47,10 @@ One way to ensure that the LFS variable is always set is to edit the .bash_profile file in both your personal home directory and in /root/.bash_profile and - enter the export command above. + enter the export command above. In addition, the shell specified in the + /etc/passwd file for all users that need the + LFS variable needs to be bash to ensure that the + /root/.bash_profile file is incorporated as a part of + the login process. diff --git a/chapter06/eudev.xml b/chapter06/eudev.xml index 77d31664a..498ec8c30 100644 --- a/chapter06/eudev.xml +++ b/chapter06/eudev.xml @@ -63,14 +63,19 @@ EOF --libexecdir=/lib \ --with-rootprefix= \ --with-rootlibdir=/lib \ - --enable-split-usr \ --enable-manpages \ - --enable-hwdb \ - --disable-introspection \ - --disable-gudev \ --disable-static \ - --config-cache \ - --disable-gtk-doc-html + --config-cache + + Compile the package: diff --git a/chapter06/gmp.xml b/chapter06/gmp.xml index bc57f9d20..7d353d90c 100644 --- a/chapter06/gmp.xml +++ b/chapter06/gmp.xml @@ -91,10 +91,10 @@ make html make check 2>&1 | tee gmp-check-log - Ensure that all 188 tests in the test suite passed. + Ensure that all 190 tests in the test suite passed. Check the results by issuing the following command: -awk '/tests passed/{total+=$2} ; END{print total}' gmp-check-log +awk '/# PASS:/{total+=$3} ; END{print total}' gmp-check-log Install the package and its documentation: diff --git a/general.ent b/general.ent index fe1994e85..cb3beb7d1 100644 --- a/general.ent +++ b/general.ent @@ -1,7 +1,7 @@ - + - + diff --git a/packages.ent b/packages.ent index 5b5b4a191..b29d9385d 100644 --- a/packages.ent +++ b/packages.ent @@ -239,11 +239,11 @@ - - - + + + - + diff --git a/prologue/hostreqs.xml b/prologue/hostreqs.xml index 2720db439..8b88d752d 100644 --- a/prologue/hostreqs.xml +++ b/prologue/hostreqs.xml @@ -61,7 +61,7 @@ - GCC-4.1.2 including the C++ + GCC-4.7 including the C++ compiler, g++ (Versions greater than &gcc-version; are not recommended as they have not been tested) @@ -207,7 +207,7 @@ sed --version | head -n1 tar --version | head -n1 makeinfo --version | head -n1 xz --version | head -n1 - + echo 'int main(){}' > dummy.c && g++ -o dummy dummy.c if [ -x dummy ] then echo "g++ compilation OK";