| 12345678910111213141516171819202122232425262728293031 | <sect2><title> </title><para> </para></sect2><sect2><title>Installation of Grep</title><para>Prepare Grep to be compiled:</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>: Thisconfigure option makes sure <filename>grep</filename> is not linked againstthe PCRE library, which is often only available as a shared library indistributions. Not using this option might result in a compilationerror.</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>
 |