2003-01-11 18:15:01 +00:00
|
|
|
<sect2><title> </title><para> </para></sect2>
|
|
|
|
|
2001-01-24 00:31:17 +00:00
|
|
|
<sect2>
|
|
|
|
<title>Installation of Grep</title>
|
|
|
|
|
2003-01-11 18:15:01 +00:00
|
|
|
<para>Prepare Grep to be compiled:</para>
|
2001-01-24 00:31:17 +00:00
|
|
|
|
2002-12-30 03:12:54 +00:00
|
|
|
<para><screen><userinput>LDFLAGS="-static" CPPFLAGS=-Dre_max_failures=re_max_failures2 \
|
2002-07-29 19:12:02 +01:00
|
|
|
./configure --prefix=$LFS/static --disable-nls \
|
2003-01-11 18:15:01 +00:00
|
|
|
--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 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.</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>
|
2001-01-24 00:31:17 +00:00
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|