From b8b390a5c18db7dd7c3d393b24b4e45f9d70f2b2 Mon Sep 17 00:00:00 2001 From: Gerard Beekmans Date: Sat, 11 Jan 2003 18:15:01 +0000 Subject: redid grep installation page git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2316 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter05/grep-exp.xml | 10 ---------- chapter05/grep-inst.xml | 25 +++++++++++++++++++++---- chapter05/grep.xml | 5 ++--- 3 files changed, 23 insertions(+), 17 deletions(-) delete mode 100644 chapter05/grep-exp.xml (limited to 'chapter05') diff --git a/chapter05/grep-exp.xml b/chapter05/grep-exp.xml deleted file mode 100644 index 80e162870..000000000 --- a/chapter05/grep-exp.xml +++ /dev/null @@ -1,10 +0,0 @@ - -Command explanations - ---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. - - - diff --git a/chapter05/grep-inst.xml b/chapter05/grep-inst.xml index 05609c353..99a9b6239 100644 --- a/chapter05/grep-inst.xml +++ b/chapter05/grep-inst.xml @@ -1,13 +1,30 @@ +   + Installation of Grep -Install Grep by running the following commands: +Prepare Grep to be compiled: LDFLAGS="-static" CPPFLAGS=-Dre_max_failures=re_max_failures2 \     ./configure --prefix=$LFS/static --disable-nls \ -    --disable-perl-regexp && -make && -make install +    --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 diff --git a/chapter05/grep.xml b/chapter05/grep.xml index a1c7e93ef..dbb0e80cf 100644 --- a/chapter05/grep.xml +++ b/chapter05/grep.xml @@ -5,10 +5,9 @@ Estimated build time: &grep-time-static; Estimated required disk space: &grep-compsize-static; -&c5-grep-inst; -&c5-grep-exp; -&aa-grep-desc; +&aa-grep-shortdesc; &aa-grep-dep; +&c5-grep-inst; -- cgit v1.2.3-54-g00ecf