5.17. Gawk-3.1.5

The Gawk package contains programs for manipulating text files.

5.17.1. Installation of Gawk

This patch corrects a bug when gawk is run on a non-existant file:

patch -Np1 -i ../gawk-3.1.5-segfault_fix-1.patch

Prepare Gawk for compilation:

./configure --prefix=/tools

Gawk's configure script does not detect some functionality correctly:

echo "#define HAVE_LANGINFO_CODESET 1" >> config.h
echo "#define HAVE_LC_MESSAGES 1" >> config.h

Compile the package:

make

Install the package:

make install

Details on this package are located in Section 6.21.2, “Contents of Gawk.”