5.19. Gawk-3.1.5

The Gawk package contains programs for manipulating text files.

Approximate build time: 0.2 SBU
Required disk space: 18.2 MB

5.19.1. Installation of Gawk

Prepare Gawk for compilation:

./configure --prefix=/tools

Due to a bug in the configure script, Gawk fails to detect certain aspects of locale support in Glibc. This bug leads to, e.g., Gettext testsuite failures. Work around this issue by appending the missing macro definitions to config.h:

cat >>config.h <<"EOF"
#define HAVE_LANGINFO_CODESET 1
#define HAVE_LC_MESSAGES 1
EOF

Compile the package:

make

To test the results, issue: make check.

Install the package:

make install

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