Tar Archive: /hpux/Misc/lzma-4.32.7/lzma-4.32.7-src-11.31.tar.gz Filename: lzma-4.32.7/HPUX.Install Package name: lzma Version number: 4.32.7 Original author: Igor Pavlov and othersOriginal URL: http://tukaani.org/lzma/ HP-UX URL: http://hpux.connect.org.uk/hppd/cgi-bin/search?package=&term=/lzma- License: GNU General Public License v2 Languages: C C++ Build-time deps: make Install tree: /usr/local Report bugs to: lasse.collin@tukaani.org Tested on: HP rp3440 running HP-UX 11.31 and HP rx2660 running HP-UX 11.31 Compilers used: PA-RISC - B.11.11.24 (HP C) Itanium - A.06.28 (HP C) LDOPTS setting: export LDOPTS="+s -L/usr/local/lib/hpux32 -L/usr/local/lib -L/usr/lib/hpux32 -L/usr/lib" Purpose: LZMA compression utilities for POSIX systems. This package has a gzip-like command line tool and a zlib-like library, which would make it easy to adapt the new compression technology to existing applications. Date archived: Tue 15 Aug 2017 ------------------------------------------------------------------------------- Files changed: * Many Makefile.in files: - "gmake clean" now also deletes config.cache. * configure: - Cache file is now config.cache, rather than /dev/null. - Set up an HP-UX override section, including: * Set prefix to /usr/local. * Put /usr/local/bin in the front of the PATH. * If Itanium, set libdir to /usr/local/lib/hpux64 and CXX2FLAGS to +O1 (otherwise libdir isn't changed and CXX2FLAGS is set to nothing). * Compile with "cc +O3 +Onolimit -I/usr/local/include" and "/opt/aCC/bin/aCC -AA +O3 +Onolimit -I/usr/local/include". * Set LDFLAGS to embed $libdir as a run-time library search path. * Set RANLIB to /bin/true. * Enable both shared and static library building. - Strip any installed binaries. - Set 755 permissions on any installed scripts. - Don't link with +h . - Only build . as a shared lib (i.e. no version numbers). * src/lzma/lzmp.cpp: - HP's ANSI C++ doesn't like silent casts of constant strings (aka char *) to other pointer/string types, so cast them manually to avoid a warning. * src/sdk/7zip/Compress/LZMA/LZMAEncoder.cpp and src/sdk/7zip/Compress/RangeCoder/RangeCoder.h: - Cast some constant shifts (which are int) to UInt64() to avoid compiler warnings. * src/sdk/7zip/Compress/LZMA/Makefile.in: - Pick up CXX2FLAGS from configure setting. - Create LZMAEncoder.o using additional CXX2FLAGS setting. This is to work around a +O2 or +O3 optimiser compiler bug on the Itanium platform when creating this file. * tests/mkdtemp: - HP-UX's dd command outputs record info to stderr, so send that to /dev/null instead. To compile: [Edit the HP-UX override section of configure for your site, particularly the prefix setting] ./configure gmake To test: gmake check [This should pass all the tests OK] To install (usually as root): gmake install Notes: * Yes, this builds with no compiler warnings (HP C/C++ or gcc/g++) or test failures on all 5 of the platforms we support - hooray! Note that although lzma will build with gcc/g++ OK, the binary depots are built using HP's C/C++.