diff options
author | Gerard Beekmans <gerard@linuxfromscratch.org> | 2003-05-02 18:20:20 +0000 |
---|---|---|
committer | Gerard Beekmans <gerard@linuxfromscratch.org> | 2003-05-02 18:20:20 +0000 |
commit | bc82645e958948a6aefd3147a0d7f712de9eaf6b (patch) | |
tree | 4855b70f785c1e6bf04856e97824988120503b05 /chapter05/grep-inst.xml | |
parent | 55b50e3f6653cef278bad7e45fe5a378966953a7 (diff) |
Integrated Pure LFS - Phase 1
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2490 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter05/grep-inst.xml')
-rw-r--r-- | chapter05/grep-inst.xml | 28 |
1 files changed, 6 insertions, 22 deletions
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 @@ <sect2> <title>Installation of Grep</title> -<para>Prepare Grep to be compiled:</para> +<para><screen><userinput>CFLAGS="-O2 -pipe" ./configure --prefix=/stage1 \ + --disable-perl-regexp --with-included-regex +make LDFLAGS="-s" +chmod 750 ./tests/* +make check +make install</userinput></screen></para> -<para><screen><userinput>LDFLAGS="-static" CPPFLAGS=-Dre_max_failures=re_max_failures2 \ - ./configure --prefix=$LFS/static --disable-nls \ - --disable-perl-regexp</userinput></screen></para> - -<para>The meaning of the configure option is:</para> - -<itemizedlist> -<listitem><para><userinput>--disable-perl-regexp</userinput>: This -configure option makes sure <filename>grep</filename> 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.</para></listitem> -</itemizedlist> - -<para>Continue with compiling the package:</para> - -<para><screen><userinput>make</userinput></screen></para> - -<para>And finish off installing the package:</para> - -<para><screen><userinput>make install</userinput></screen></para> </sect2> |