6.35.1. Installation of Gawk
Under some circumstances, Gawk-3.1.5 attempts to free a chunk of
memory that was not allocated. This bug is fixed by the following
patch:
patch -Np1 -i ../gawk-3.1.5-segfault_fix-1.patch
Prepare Gawk for compilation:
./configure --prefix=/usr --libexecdir=/usr/lib
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