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; diff --git a/entities/grep.ent b/entities/grep.ent index 29885d7af..795fdcc08 100644 --- a/entities/grep.ent +++ b/entities/grep.ent @@ -2,12 +2,12 @@ - +