lfs/chapter05/grep-inst.xml
Gerard Beekmans e4b9338243 fix typo's
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2416 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2003-02-03 23:24:24 +00:00

32 lines
1014 B
XML

<sect2><title>&nbsp;</title><para>&nbsp;</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 \
&nbsp;&nbsp;&nbsp;&nbsp;./configure --prefix=$LFS/static --disable-nls \
&nbsp;&nbsp;&nbsp;&nbsp;--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>