diff options
author | Marc Heerdink <gimli@linuxfromscratch.org> | 2002-04-09 09:12:01 +0000 |
---|---|---|
committer | Marc Heerdink <gimli@linuxfromscratch.org> | 2002-04-09 09:12:01 +0000 |
commit | 3f62e369bf69e174ac713ce1398692f2579e412e (patch) | |
tree | 889c2a45d59231f1553c9a4ad60b44c3e536e3ab /chapter05/grep-inst.xml | |
parent | fe6591a61f33a481df24cca007e38916f7f87694 (diff) |
[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
Diffstat (limited to 'chapter05/grep-inst.xml')
-rw-r--r-- | chapter05/grep-inst.xml | 9 |
1 files changed, 5 insertions, 4 deletions
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.</para> <para><screen><userinput>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</userinput></screen></para> <para>If you are using a newer glibc version (2.2.x), you can use the following commands to install Grep:</para> - -<para><screen><userinput>./configure --prefix=$LFS/usr --disable-nls \ - --bindir=$LFS/bin && + +<para><screen><userinput>./configure --prefix=$LFS/usr --bindir=$LFS/bin \ + --disable-nls --disable-perl-regexp && make LDFLAGS=-static && make install</userinput></screen></para> |