5.21. Gawk-3.1.6

The Gawk package contains programs for manipulating text files.

Approximate build time: 0.3 SBU
Required disk space: 19 MB

5.21.1. Installation of Gawk

Prepare Gawk for compilation:

./configure --prefix=/tools ac_cv_func_working_mktime=yes

The meaning of the configure option:

ac_cv_func_working_mktime=yes

This parameter bypasses the search for mktime in configure and uses the version in glibc. The is necessary due to a change in gcc that has not been incorporated into this package yet.

Compilation is now complete. As discussed earlier, running the test suite is not mandatory for the temporary tools here in this chapter. To run the Gawk test suite anyway, issue the following command:

make

To test the results, issue:

make check

Install the package:

make install

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