The Tar package contains an archiving program.
Fix an incompatibility between this package and Glibc-2.16.0:
sed -i -e '/gets is a/d' gnu/stdio.in.h
Prepare Tar for compilation:
FORCE_UNSAFE_CONFIGURE=1 \ ./configure --prefix=/usr \ --bindir=/bin \ --libexecdir=/usr/sbin
The meaning of the configure options:
FORCE_UNSAFE_CONFIGURE=1
This forces the test for mknod
to be run as root. It is generally considered dangerous to
run this test as the root user, but as it is being run on an
only partially built system, overriding it is OK.
Compile the package:
make
To test the results (about 1 SBU), issue:
make check
Install the package:
make install make -C doc install-html docdir=/usr/share/doc/tar-1.26