lfs/chapter05/grep-inst.xml
2001-04-16 02:04:19 +00:00

20 lines
492 B
XML

<sect2>
<title>Installation of Grep</title>
<para>
Install Grep by running the following commands:
</para>
<blockquote><literallayout>
<userinput>export CPPFLAGS=-Dre_max_failures=re_max_failures2
&amp;&amp;</userinput>
<userinput>./configure --prefix=$LFS/usr --disable-nls
&amp;&amp;</userinput>
<userinput>unset CPPFLAGS &amp;&amp;</userinput>
<userinput>make LDFLAGS=-static &amp;&amp;</userinput>
<userinput>make install</userinput>
</literallayout></blockquote>
</sect2>