6.22. Gzip-1.3.12

The Gzip package contains programs for compressing and decompressing files.

6.22.1. Installation of Gzip

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

for file in $(grep -lr futimens *); do
  cp -v ${file}{,.orig}
  sed -e "s/futimens/gl_&/" ${file}.orig > ${file}
done

Prepare Gzip for compilation:

./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.41.2, “Contents of Gzip.”