6.16. Gzip-1.3.12

The Gzip package contains programs for compressing and decompressing files.

6.16.1. Installation of Gzip

The following command renames the internal implementation of futimens to gl_futimens as newer versions of Glibc provide an incompatible version:

sed -i "s/futimens/gl_&/" $(grep -lr futimens *)

Prepare Gzip for compilation:

CC="${CC} ${BUILD64}" ./configure --prefix=/tools \
  --build=${CLFS_HOST} --host=${CLFS_TARGET}

Compile the package:

make

Install the package:

make install

Details on this package are located in Section 10.36.2, “Contents of Gzip.”