aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Utley <jeremy@linuxfromscratch.org>2003-09-12 23:16:54 +0000
committerJeremy Utley <jeremy@linuxfromscratch.org>2003-09-12 23:16:54 +0000
commitdac0f591d2e2ee633d0bc6c3d2b4dbac33ce6f25 (patch)
treee6a51d3b92c07eea3b7b00413a7fc268407440e7
parent9b21339cc6f56c05fabc47f30a0ece72743b33c6 (diff)
Added descriptions to grep configure switches
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2795 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
-rw-r--r--chapter01/changelog.xml3
-rw-r--r--chapter05/grep-inst.xml11
2 files changed, 14 insertions, 0 deletions
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml
index a4ab32795..f0eecfe96 100644
--- a/chapter01/changelog.xml
+++ b/chapter01/changelog.xml
@@ -87,6 +87,9 @@
</itemizedlist>
</para></listitem>
+<listitem><para>September 12th, 2003 [jeremy]: Chapter 5 - Grep: Added
+descriptions of configure switches courtesy of Anderson Lizardo</para></listitem>
+
<listitem><para>September 12th, 2003 [gerard]: Removed /usr/lib/locale
directory creation - it's created during Chapter 6 - Glibc where it's more
relevant.</para></listitem>
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>