From adcd988063a38da4e61e176228632bc48e2541c8 Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Wed, 4 Jul 2018 20:07:40 +0000 Subject: Fix currency for attr and acl git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11429 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/e2fsprogs.xml | 9 +++------ chapter06/readline.xml | 3 ++- 2 files changed, 5 insertions(+), 7 deletions(-) (limited to 'chapter06') diff --git a/chapter06/e2fsprogs.xml b/chapter06/e2fsprogs.xml index f95317273..f127be40e 100644 --- a/chapter06/e2fsprogs.xml +++ b/chapter06/e2fsprogs.xml @@ -52,10 +52,7 @@ cd build Prepare E2fsprogs for compilation: -LIBS=-L/tools/lib \ -CFLAGS=-I/tools/include \ -PKG_CONFIG_PATH=/tools/lib/pkgconfig \ -../configure --prefix=/usr \ +../configure --prefix=/usr \ --bindir=/bin \ --with-root-prefix="" \ --enable-elf-shlibs \ @@ -66,7 +63,7 @@ PKG_CONFIG_PATH=/tools/lib/pkgconfig \ The meaning of the environment variable and configure options: - + --with-root-prefix="" and --bindir=/bin diff --git a/chapter06/readline.xml b/chapter06/readline.xml index da1eb34a7..93abec7ea 100644 --- a/chapter06/readline.xml +++ b/chapter06/readline.xml @@ -79,9 +79,10 @@ sed -i '/{OLDSUFF}/c:' support/shlib-install make SHLIB_LIBS="-L/tools/lib -lncurses" install Now move the dynamic libraries to a more appropriate location - and fix up some symbolic links: + and fix up some permissions and symbolic links: mv -v /usr/lib/lib{readline,history}.so.* /lib +chmod -v u+w /lib/lib{readline,history}.so.* ln -sfv ../../lib/$(readlink /usr/lib/libreadline.so) /usr/lib/libreadline.so ln -sfv ../../lib/$(readlink /usr/lib/libhistory.so ) /usr/lib/libhistory.so -- cgit v1.2.3-54-g00ecf