aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05
diff options
context:
space:
mode:
Diffstat (limited to 'chapter05')
-rw-r--r--chapter05/grep-inst.xml5
-rw-r--r--chapter05/shellutils-inst.xml4
-rw-r--r--chapter05/textutils-inst.xml2
3 files changed, 6 insertions, 5 deletions
diff --git a/chapter05/grep-inst.xml b/chapter05/grep-inst.xml
index 22102fd1d..92dc5208e 100644
--- a/chapter05/grep-inst.xml
+++ b/chapter05/grep-inst.xml
@@ -8,7 +8,7 @@ can also be used for other glibc versions so if you aren't sure, then
use the first version.</para>
<para><screen><userinput>export CPPFLAGS=-Dre_max_failures=re_max_failures2 &amp;&amp;
-./configure --prefix=$LFS/usr --disable-nls &amp;&amp;
+./configure --prefix=$LFS/usr --disable-nls --bindir=$LFS/bin &amp;&amp;
unset CPPFLAGS &amp;&amp;
make LDFLAGS=-static &amp;&amp;
make install</userinput></screen></para>
@@ -16,7 +16,8 @@ make install</userinput></screen></para>
<para>If you are using a newer glibc version (2.2.x), you can use the
following commands to install Grep:</para>
-<para><screen><userinput>./configure --prefix=$LFS/usr --disable-nls &amp;&amp;
+<para><screen><userinput>./configure --prefix=$LFS/usr --disable-nls \
+&nbsp;&nbsp;&nbsp;--bindir=$LFS/bin &amp;&amp;
make LDFLAGS=-static &amp;&amp;
make install</userinput></screen></para>
diff --git a/chapter05/shellutils-inst.xml b/chapter05/shellutils-inst.xml
index 03619e480..d449d03d2 100644
--- a/chapter05/shellutils-inst.xml
+++ b/chapter05/shellutils-inst.xml
@@ -18,8 +18,8 @@ best to apply it.</para>
make LDFLAGS=-static &amp;&amp;
make install &amp;&amp;
cd $LFS/usr/bin &amp;&amp;
-mv date echo false pwd stty $LFS/bin &amp;&amp;
-mv true uname hostname $LFS/bin</userinput></screen></para>
+mv basename date echo false hostname $LFS/bin &amp;&amp;
+mv pwd sleep stty su test true uname $LFS/bin &amp;&amp;</userinput></screen></para>
</sect2>
diff --git a/chapter05/textutils-inst.xml b/chapter05/textutils-inst.xml
index d9ad8c448..08c544b75 100644
--- a/chapter05/textutils-inst.xml
+++ b/chapter05/textutils-inst.xml
@@ -6,7 +6,7 @@
<para><screen><userinput>./configure --prefix=$LFS/usr --disable-nls &amp;&amp;
make LDFLAGS=-static &amp;&amp;
make install &amp;&amp;
-mv $LFS/usr/bin/cat $LFS/bin</userinput></screen></para>
+mv $LFS/usr/bin/cat $LFS/usr/bin/head $LFS/bin</userinput></screen></para>
</sect2>