Installed
programs: awk (link to gawk),
gawk, gawk-3.1.5, grcat, igawk, pgawk, pgawk-3.1.5, and
pwcat
The Gawk package contains programs for manipulating text files.
Patch Gawk to fix a bug which causes it to segfault when invoked on a non-existent file:
patch -Np1 -i ../gawk-3.1.5-segfault_fix-1.patch
Prepare Gawk for compilation:
./configure --build=${CLFS_HOST} --host=${CLFS_TARGET} \
--prefix=/usr --libexecdir=/usr/lib
The configure script does not detect the following properly:
cat >> config.h << "EOF" #define HAVE_LANGINFO_CODESET 1 #define HAVE_LC_MESSAGES 1 EOF
Compile the package:
make
Install the package:
make DESTDIR=${CLFS} install