From 3f62e369bf69e174ac713ce1398692f2579e412e Mon Sep 17 00:00:00 2001 From: Marc Heerdink Date: Tue, 9 Apr 2002 09:12:01 +0000 Subject: [Bug 327] Added --disable-perl-regexp to the grep configure flags to avoid linking against a non-existing static pcre library. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1815 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter01/changelog.xml | 4 ++++ chapter05/grep-inst.xml | 9 +++++---- chapter05/grep.xml | 1 + index.xml | 5 +++-- 4 files changed, 13 insertions(+), 6 deletions(-) diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 66d02023e..a95365fea 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -6,6 +6,10 @@ +April 9th, 2002 [marcheerdink]: Added --disable-perl-regexp +to the grep configure flags to avoid linking against a non-existing static +pcre library. + April 8th, 2002 [gerard]: Added the http://ftp.de.linuxfromscratch.org mirror (to complement ftp://ftp.de). 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. export CPPFLAGS=-Dre_max_failures=re_max_failures2 && -./configure --prefix=$LFS/usr --disable-nls --bindir=$LFS/bin && +./configure --prefix=$LFS/usr --bindir=$LFS/bin \ +   --disable-nls --disable-perl-regexp && unset CPPFLAGS && make LDFLAGS=-static && make install If you are using a newer glibc version (2.2.x), you can use the following commands to install Grep: - -./configure --prefix=$LFS/usr --disable-nls \ -   --bindir=$LFS/bin && + +./configure --prefix=$LFS/usr --bindir=$LFS/bin \ +   --disable-nls --disable-perl-regexp && make LDFLAGS=-static && make install 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; &c5-grep-inst; +&c5-grep-exp; &aa-grep-desc; &aa-grep-dep; diff --git a/index.xml b/index.xml index 577d7a629..c84ce4012 100644 --- a/index.xml +++ b/index.xml @@ -4,8 +4,8 @@ - - + + @@ -165,6 +165,7 @@ + -- cgit v1.2.3-54-g00ecf