blob: 29c1b421f7f84dcd590acc1714b26cac20c29f81 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
<sect2>
<title>Installation of Gawk</title>
<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>
<para>Warning: do NOT run <userinput>make uninstall</userinput> on this
package if you apply the patch 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>
<para>Install Gawk by running the following commands:</para>
<para><screen><userinput>patch -Np1 -i ../gawk-&gawk-patch-version;.patch &&
./configure --prefix=/usr --libexecdir=/usr/bin &&
make &&
make install</userinput></screen></para>
</sect2>
|