From 8ad94ab722857c1be1a8357258a18ad2591b921e Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Mon, 27 Jan 2014 22:32:09 +0000 Subject: Add an environment variable to util-linux in Chapter 5 to prevent an installation error for hosts that have unneeded capabilities availible. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10452 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter01/changelog.xml | 13 ++++++++++++- chapter05/ncurses.xml | 3 +-- chapter05/util-linux.xml | 15 ++++++++++++--- general.ent | 4 ++-- 4 files changed, 27 insertions(+), 8 deletions(-) diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 63551102b..e6eb44116 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -36,7 +36,18 @@ --> - 2014-01-25 + 2014-01-27 + + + [bdubbs] - Add an environment variable to util-linux + in Chapter 5 to prevent an installation error for + hosts that have unneeded capabilities availible. + + + + + + 2014-01-26 [bdubbs] - Update to man-pages-3.57. Fixes diff --git a/chapter05/ncurses.xml b/chapter05/ncurses.xml index 2db0a770c..a18a9c819 100644 --- a/chapter05/ncurses.xml +++ b/chapter05/ncurses.xml @@ -45,8 +45,7 @@ Prepare Ncurses for compilation: - -./configure --prefix=/tools \ +./configure --prefix=/tools \ --with-shared \ --without-debug \ --without-ada \ diff --git a/chapter05/util-linux.xml b/chapter05/util-linux.xml index 8407f802c..7156895c2 100644 --- a/chapter05/util-linux.xml +++ b/chapter05/util-linux.xml @@ -42,9 +42,10 @@ Prepare Util-linux for compilation: -./configure --prefix=/tools \ - --disable-makeinstall-chown \ - --without-systemdsystemunitdir +./configure --prefix=/tools \ + --disable-makeinstall-chown \ + --without-systemdsystemunitdir \ + PKG_CONFIG="" The meaning of the configure option: @@ -67,6 +68,14 @@ This switch disables the unnecessary action. + + + PKG_CONFIG="" + + Setting this envronment variable prevents adding unneeded + features that may be available on the host. + + Compile the package: diff --git a/general.ent b/general.ent index 09d820b85..f8329ff18 100644 --- a/general.ent +++ b/general.ent @@ -1,5 +1,5 @@ - - + + -- cgit v1.2.3-54-g00ecf