lfs/chapter05/gawk-inst.xml
Gerard Beekmans 9ef92bb74c removed gzip command explanation
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1910 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2002-05-26 20:32:12 +00:00

24 lines
924 B
XML

<sect2>
<title>Installation of Gawk</title>
<para>Warning: do NOT run <userinput>make uninstall</userinput> on this
package if you apply the <emphasis>sed</emphasis> fix to change the
<filename class="directory">libexec</filename> directory definition. The
<emphasis>uninstall</emphasis> rule in the <filename>Makefile</filename>
file runs a command like <userinput>rm -rf
&lt;libexecdir&gt;/*</userinput> Since we change the <filename
class="directory">libexec</filename> directory to <filename
class="directory">/usr/bin</filename> it'll run <userinput>rm -rf
/usr/bin/*</userinput></para>
<para>Install Gawk by running the following commands:</para>
<para><screen><userinput>CPPFLAGS=-Dre_max_failures=re_max_failures2 \
./configure --prefix=$LFS/static --disable-nls \
&nbsp;&nbsp;&nbsp;&nbsp;--libexecdir=$LFS/static/bin &amp;&amp;
make LDFLAGS=-static &amp;&amp;
make install</userinput></screen></para>
</sect2>