aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05
diff options
context:
space:
mode:
Diffstat (limited to 'chapter05')
-rw-r--r--chapter05/grep-inst.xml9
-rw-r--r--chapter05/grep.xml1
2 files changed, 6 insertions, 4 deletions
diff --git a/chapter05/grep-inst.xml b/chapter05/grep-inst.xml
index 92dc5208e..62244f357 100644
--- a/chapter05/grep-inst.xml
+++ b/chapter05/grep-inst.xml
@@ -8,16 +8,17 @@ 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 --bindir=$LFS/bin &amp;&amp;
+./configure --prefix=$LFS/usr --bindir=$LFS/bin \
+&nbsp;&nbsp;&nbsp;--disable-nls --disable-perl-regexp &amp;&amp;
unset CPPFLAGS &amp;&amp;
make LDFLAGS=-static &amp;&amp;
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 \
-&nbsp;&nbsp;&nbsp;--bindir=$LFS/bin &amp;&amp;
+
+<para><screen><userinput>./configure --prefix=$LFS/usr --bindir=$LFS/bin \
+&nbsp;&nbsp;&nbsp;--disable-nls --disable-perl-regexp &amp;&amp;
make LDFLAGS=-static &amp;&amp;
make install</userinput></screen></para>
diff --git a/chapter05/grep.xml b/chapter05/grep.xml
index bd219ca82..a1c7e93ef 100644
--- a/chapter05/grep.xml
+++ b/chapter05/grep.xml
@@ -6,6 +6,7 @@
Estimated required disk space: &grep-compsize-static;</screen>
&c5-grep-inst;
+&c5-grep-exp;
&aa-grep-desc;
&aa-grep-dep;