6.17. Installing Gawk-3.1.1

Estimated build time:           0.39 SBU
Estimated required disk space:  15 MB

6.17.1. Installation of Gawk

This package requires its patch to be applied before you can install it. Make sure it's unpacked before running the installation commands.

Warning: do NOT run make uninstall on this package if you apply the patch to change the libexec directory definition. The uninstall rule in the Makefile file runs a command like rm -rf <libexecdir>/* Since we change the libexec directory to /usr/bin it'll run rm -rf /usr/bin/*

Install Gawk by running the following commands:

patch -Np1 -i ../gawk-3.1.1-2.patch &&
./configure --prefix=/usr --libexecdir=/usr/bin &&
make &&
make install

6.17.2. Command explanations

patch -Np1 -i ../gawk-3.1.1-2.patch: This patch alters the code that determines the location of the libexec directory. This patch will allow us to override it by passing --libexecdir to the configure script.

6.17.3. Contents of Gawk

Last checked against version 3.1.1.

6.17.4. Gawk Installation Dependencies

Last checked against version 3.1.0.

(No dependencies checked yet.)