aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05
diff options
context:
space:
mode:
Diffstat (limited to 'chapter05')
-rw-r--r--chapter05/grep-inst.xml11
1 files changed, 11 insertions, 0 deletions
diff --git a/chapter05/grep-inst.xml b/chapter05/grep-inst.xml
index 6051ffd2e..8db7e3e42 100644
--- a/chapter05/grep-inst.xml
+++ b/chapter05/grep-inst.xml
@@ -8,6 +8,17 @@
<para><screen><userinput>./configure --prefix=/tools \
&nbsp;&nbsp;&nbsp;&nbsp;--disable-perl-regexp --with-included-regex</userinput></screen></para>
+<para>The meaning of the configure switches:</para>
+
+<itemizedlist>
+<listitem><para><userinput>--disable-perl-regexp</userinput>: This makes sure
+that grep does not get linked against a PCRE library that may be present on
+the host, but would not be available once we enter the chroot environment.</para></listitem>
+<listitem><para><userinput>--with-included-regex</userinput>: This ensures that
+grep uses it's internal regular expression code. Without it, it will use
+the code from glibc, which is known to be slightly buggy.</para></listitem>
+</itemizedlist>
+
<para>Compile the programs:</para>
<para><screen><userinput>make </userinput></screen></para>