aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2018-07-04 20:07:40 +0000
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2018-07-04 20:07:40 +0000
commitadcd988063a38da4e61e176228632bc48e2541c8 (patch)
treec3adbaa839e0694cee87d7ae9513fff2949ccb93 /chapter06
parentf6528ac86d1a9dc96170011ae98ee0160b28abda (diff)
Fix currency for attr and acl
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11429 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/e2fsprogs.xml9
-rw-r--r--chapter06/readline.xml3
2 files changed, 5 insertions, 7 deletions
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</userinput></screen>
<para>Prepare E2fsprogs for compilation:</para>
-<screen><userinput remap="configure">LIBS=-L/tools/lib \
-CFLAGS=-I/tools/include \
-PKG_CONFIG_PATH=/tools/lib/pkgconfig \
-../configure --prefix=/usr \
+<screen><userinput remap="configure">../configure --prefix=/usr \
--bindir=/bin \
--with-root-prefix="" \
--enable-elf-shlibs \
@@ -66,7 +63,7 @@ PKG_CONFIG_PATH=/tools/lib/pkgconfig \
<variablelist>
<title>The meaning of the environment variable and configure options:</title>
-
+<!--
<varlistentry>
<term><parameter>PKG_CONFIG_PATH, LIBS, CFLAGS</parameter></term>
<listitem>
@@ -74,7 +71,7 @@ PKG_CONFIG_PATH=/tools/lib/pkgconfig \
<xref linkend="ch-tools-util-linux"/> package built earlier.</para>
</listitem>
</varlistentry>
-
+-->
<varlistentry>
<term><parameter>--with-root-prefix=""</parameter> and
<parameter>--bindir=/bin</parameter></term>
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</userinput></screen>
<screen><userinput remap="install">make SHLIB_LIBS="-L/tools/lib -lncurses" install</userinput></screen>
<para>Now move the dynamic libraries to a more appropriate location
- and fix up some symbolic links:</para>
+ and fix up some permissions and symbolic links:</para>
<screen><userinput remap="install">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</userinput></screen>