From 2c5ca043a6fb88ca6af49c16dc75398cb5d5a12e Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Wed, 5 Feb 2014 19:46:52 +0000 Subject: Fix e2fsprogs tests to run properly in the LFS chroot envirnment. Remove unnecessary mkdir in groff. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10455 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/e2fsprogs.xml | 29 ++++++++++++++++------------- 1 file changed, 16 insertions(+), 13 deletions(-) (limited to 'chapter06/e2fsprogs.xml') diff --git a/chapter06/e2fsprogs.xml b/chapter06/e2fsprogs.xml index bf4332ba9..6fc766ee3 100644 --- a/chapter06/e2fsprogs.xml +++ b/chapter06/e2fsprogs.xml @@ -44,6 +44,11 @@ Installation of E2fsprogs + First fix a problem with running regression tests in the LFS chroot + environment: + +sed -i -e 's|^LD_LIBRARY_PATH.*|&:/tools/lib|' tests/test_config + The E2fsprogs documentation recommends that the package be built in a subdirectory of the source tree: @@ -52,16 +57,15 @@ cd build Prepare E2fsprogs for compilation: -export PKG_CONFIG_PATH=/tools/lib/pkgconfig - -LIBS=-L/tools/lib \ -CFLAGS=-I/tools/include \ -../configure --prefix=/usr \ - --with-root-prefix="" \ - --enable-elf-shlibs \ - --disable-libblkid \ - --disable-libuuid \ - --disable-uuidd \ +LIBS=-L/tools/lib \ +CFLAGS=-I/tools/include \ +PKG_CONFIG_PATH=/tools/lib/pkgconfig \ +../configure --prefix=/usr \ + --with-root-prefix="" \ + --enable-elf-shlibs \ + --disable-libblkid \ + --disable-libuuid \ + --disable-uuidd \ --disable-fsck @@ -131,10 +135,9 @@ CFLAGS=-I/tools/include \ make install - Install the static libraries and headers and do some clean up: + Install the static libraries: -make install-libs -unset PKG_CONFIG_PATH +make install-libs Make the installed static libraries writable so debugging symbols can be removed later: -- cgit v1.2.3-54-g00ecf