aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/gawk-inst.xml
blob: 985ac46c79322288360266b264ba4b1bb8cf085b (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
27
28
<sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>

<sect2>
<title>Installation of Gawk</title>

<para>This package requires its patch to be applied before you can
install it. Issue the following command to apply the patch:</para>

<para><screen><userinput>patch -Np1 -i ../gawk-&gawk-patch-version;.patch</userinput></screen></para>

<para>This patch alters the code that determines the location of the
libexec directory. The patch will allow us to override it by passing
<emphasis>--libexecdir</emphasis> to the configure script.</para>

<para>Prepare Gawk to be compiled:</para>

<para><screen><userinput>./configure --prefix=/usr --libexecdir=/usr/bin</userinput></screen></para>

<para>Continue with compiling the package:</para>

<para><screen><userinput>make</userinput></screen></para>

<para>Finish installing the package:</para>

<para><screen><userinput>make install</userinput></screen></para>

</sect2>