From bc82645e958948a6aefd3147a0d7f712de9eaf6b Mon Sep 17 00:00:00 2001 From: Gerard Beekmans Date: Fri, 2 May 2003 18:20:20 +0000 Subject: Integrated Pure LFS - Phase 1 git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2490 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter05/grep-inst.xml | 28 ++++++---------------------- 1 file changed, 6 insertions(+), 22 deletions(-) (limited to 'chapter05/grep-inst.xml') diff --git a/chapter05/grep-inst.xml b/chapter05/grep-inst.xml index 4e232435c..efa72f258 100644 --- a/chapter05/grep-inst.xml +++ b/chapter05/grep-inst.xml @@ -3,29 +3,13 @@ Installation of Grep -Prepare Grep to be compiled: +CFLAGS="-O2 -pipe" ./configure --prefix=/stage1 \ +    --disable-perl-regexp --with-included-regex +make LDFLAGS="-s" +chmod 750 ./tests/* +make check +make install -LDFLAGS="-static" CPPFLAGS=-Dre_max_failures=re_max_failures2 \ -    ./configure --prefix=$LFS/static --disable-nls \ -    --disable-perl-regexp - -The meaning of the configure option is: - - ---disable-perl-regexp: This -configure option makes sure grep is not linked against -the PCRE library, which is often only available as a shared library in -distributions. Not using this option might result in a compilation -error. - - -Continue with compiling the package: - -make - -And finish off installing the package: - -make install -- cgit v1.2.3-54-g00ecf