aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/grep-inst.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter05/grep-inst.xml')
-rw-r--r--chapter05/grep-inst.xml5
1 files changed, 3 insertions, 2 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>