[tex-live] Comments on 7z compression tools

Nelson H. F. Beebe beebe at math.utah.edu
Wed Feb 1 14:20:02 CET 2006


Yesterday, I made build attempts for version p7zip_4.30 of the 7z
compression tools.  Unless these are universally available, we CANNOT
use them in distributions, and 7z fails badly.

Here are notes about what I found.

Source distributions:

	http://www.7-zip.org/
	http://sourceforge.net/projects/sevenzip/

p7zip_4.30 is not autoconfigurized, and as a result, (1) it forces use
of gcc and g++, and (2) it fails to build on several platforms.  Also,
you need to do "make all2" to get it to build 7z and 7za, instead of
just 7za alone.  In addition, the files 7zip/Crypto/AES/MyAES.h and
7zip/Crypto/7zAES/SHA256.h are missing newlines at the end of the files.

Build failures occurred on at least these systems:

	Alpha	OSF/1 4.0 and 5.1	error: `timegm' undeclared
	IA-32	FreeBSD 5.0		cannot find -lpthread
	IA-32	NetBSD 1.6		pthread.h: No such file or directory
	IA-32	OpenBSD 3.2		wchar.h: No such file or directory
	IA-32	Solaris 10		sys/endian.h: No such file or directory
	MIPS	SGI IRIX 6.5		undeclared multibyte function mbrtowc()
	PowerPC	Mac OS X		sys/endian.h: No such file or directory

Builds succeeded on these:

	AMD64	GNU/Linux
	Alpha	GNU/Linux
	IA-32	GNU/Linux
	IA-64	GNU/Linux
	MIPS	GNU/Linux
	PowerPC	GNU/Linux
	SPARC	GNU/Linux
	SPARC	Solaris 7, 8, 10

The top-level README file also contains this warning:

	FIRST : DO NOT USE the 7-zip format for backup purpose on
	Linux/Unix because : - 7-zip does not store the owner/group of
	the file.

-------------------------------------------------------------------------------
- Nelson H. F. Beebe                    Tel: +1 801 581 5254                  -
- University of Utah                    FAX: +1 801 581 4148                  -
- Department of Mathematics, 110 LCB    Internet e-mail: beebe at math.utah.edu  -
- 155 S 1400 E RM 233                       beebe at acm.org  beebe at computer.org -
- Salt Lake City, UT 84112-0090, USA    URL: http://www.math.utah.edu/~beebe/ -
-------------------------------------------------------------------------------



More information about the tex-live mailing list