lfs/chapter05/grep-static-inst.sgml
Gerard Beekmans 6370fa6cff Initial commit - LFS 2.4.4 files
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@14 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2001-01-24 00:31:17 +00:00

22 lines
494 B
Plaintext

<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>