2002-03-09 02:54:58 +00:00
|
|
|
<sect2>
|
|
|
|
<title>Installation of Gawk</title>
|
|
|
|
|
2002-05-30 12:51:27 +01:00
|
|
|
<para>This package requires its patch to be applied before you can
|
|
|
|
install it. Make sure it's unpacked before running the installation
|
|
|
|
commands.</para>
|
|
|
|
|
2002-04-01 15:42:18 +01:00
|
|
|
<para>Warning: do NOT run <userinput>make uninstall</userinput> on this
|
2002-05-30 12:51:27 +01:00
|
|
|
package if you apply the patch to change the
|
2002-04-01 15:42:18 +01:00
|
|
|
<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-03-09 02:54:58 +00:00
|
|
|
<para>Install Gawk by running the following commands:</para>
|
|
|
|
|
2002-07-02 20:25:34 +01:00
|
|
|
<para><screen><userinput>patch -Np1 -i ../gawk-&gawk-patch-version;.patch &&
|
2002-03-16 23:28:17 +00:00
|
|
|
./configure --prefix=/usr --libexecdir=/usr/bin &&
|
2002-03-09 02:54:58 +00:00
|
|
|
make &&
|
|
|
|
make install</userinput></screen></para>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|