From c350d43a4dc6c1a35be23ff9d91da11617c20fcc Mon Sep 17 00:00:00 2001 From: DJ Lucas Date: Tue, 21 Oct 2008 05:31:18 +0000 Subject: [PATCH] Fixed grep's -i feature. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8688 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter01/changelog.xml | 5 +++++ chapter05/grep.xml | 13 +++++++++++-- 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 @@ -40,6 +40,11 @@ 2008-10-21 + + [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. + [dj] - Reintroduced the command to supress installation of the vi_VN.TCVN locale as bash is still broken with it. 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 @@ Prepare Grep for compilation: ./configure --prefix=/tools \ - --disable-perl-regexp + --disable-perl-regexp \ + --without-included-regex - The meaning of the configure option: + The meaning of the configure switches: --disable-perl-regexp @@ -61,6 +62,14 @@ + + --without-included-regex + + 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. + + Compile the package: 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 @@ Prepare Grep for compilation: -./configure --prefix=/usr --bindir=/bin +./configure --prefix=/usr \ + --bindir=/bin \ + --without-included-regex + + + + The meaning of the configure switch: + + --without-included-regex + + 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. + + + + Compile the package: