diff options
author | DJ Lucas <dj@linuxfromscratch.org> | 2008-10-21 05:31:18 +0000 |
---|---|---|
committer | DJ Lucas <dj@linuxfromscratch.org> | 2008-10-21 05:31:18 +0000 |
commit | c350d43a4dc6c1a35be23ff9d91da11617c20fcc (patch) | |
tree | 7c4c5ee41b3159433482b4afa0a322c425ab2c26 | |
parent | 36f12da493f48bd1d97694665dbcc7481a5cb80c (diff) |
Fixed grep's -i feature.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8688 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
-rw-r--r-- | chapter01/changelog.xml | 5 | ||||
-rw-r--r-- | chapter05/grep.xml | 13 | ||||
-rw-r--r-- | chapter06/grep.xml | 18 |
3 files changed, 33 insertions, 3 deletions
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 2a09590fa..2a6a26461 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -41,6 +41,11 @@ <para>2008-10-21</para> <itemizedlist> <listitem> + <para>[dj] - Added '--without-included-regex' to grep instrcutions + in order to force the use of glibc's regex library. This fixes the + -i switch for grep.</para> + </listitem> + <listitem> <para>[dj] - Reintroduced the command to supress installation of the vi_VN.TCVN locale as bash is still broken with it.</para> </listitem> diff --git a/chapter05/grep.xml b/chapter05/grep.xml index 46e3b1c42..de2600a26 100644 --- a/chapter05/grep.xml +++ b/chapter05/grep.xml @@ -46,10 +46,11 @@ <para>Prepare Grep for compilation:</para> <screen><userinput remap="configure">./configure --prefix=/tools \ - --disable-perl-regexp</userinput></screen> + --disable-perl-regexp \ + --without-included-regex</userinput></screen> <variablelist> - <title>The meaning of the configure option:</title> + <title>The meaning of the configure switches:</title> <varlistentry> <term><parameter>--disable-perl-regexp</parameter></term> @@ -61,6 +62,14 @@ </listitem> </varlistentry> + <varlistentry> + <term><parameter>--without-included-regex</parameter></term> + <listitem> + <para>The configure check for glibc's regex library is broken when + building against glibc-2.8. This switch forces the use of glibc's + regex library.</para> + </listitem> + </varlistentry> </variablelist> <para>Compile the package:</para> diff --git a/chapter06/grep.xml b/chapter06/grep.xml index 22d65df95..4e9127b02 100644 --- a/chapter06/grep.xml +++ b/chapter06/grep.xml @@ -55,7 +55,23 @@ <para>Prepare Grep for compilation:</para> -<screen><userinput remap="configure">./configure --prefix=/usr --bindir=/bin</userinput></screen> +<screen><userinput remap="configure">./configure --prefix=/usr \ + --bindir=/bin \ + --without-included-regex</userinput></screen> + + + <variablelist> + <title>The meaning of the configure switch:</title> + <varlistentry> + <term><parameter>--without-included-regex</parameter></term> + <listitem> + <para>The configure check for glibc's regex library is broken when + building against glibc-2.8. This switch forces the use of glibc's + regex library.</para> + </listitem> + </varlistentry> + </variablelist> + <para>Compile the package:</para> |