2002-03-09 02:54:58 +00:00
|
|
|
<sect2>
|
|
|
|
<title>Installation of Gawk</title>
|
|
|
|
|
2002-04-01 15:42:18 +01:00
|
|
|
<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
|
|
|
|
<libexecdir>/*</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>
|
|
|
|
|
2002-05-01 20:10:46 +01:00
|
|
|
<para>Install Gawk by running the following commands:</para>
|
2002-03-09 02:54:58 +00:00
|
|
|
|
2002-05-26 21:32:12 +01:00
|
|
|
<para><screen><userinput>CPPFLAGS=-Dre_max_failures=re_max_failures2 \
|
2002-05-25 01:19:47 +01:00
|
|
|
./configure --prefix=$LFS/static --disable-nls \
|
|
|
|
--libexecdir=$LFS/static/bin &&
|
2002-03-09 02:54:58 +00:00
|
|
|
make LDFLAGS=-static &&
|
|
|
|
make install</userinput></screen></para>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|