packages icon

Tar Archive: /hpux/Misc/lbzip2-2.5/lbzip2-2.5-hppa_32-11.31.depot.gz
Filename:    lbzip2/lbzip2-RUN/usr/local/doc/lbzip2/HPUX.Install
Package name:     lbzip2
Version number:   2.5
Original author:  Laszlo Ersek and Mikolaj Izdebski 
Original URL:     http://lbzip2.org/
HP-UX URL:        http://hpux.connect.org.uk/hppd/cgi-bin/search?package=&term=/lbzip2-
License:          GNU General Public License v3
Languages:        C 
Build-time deps:  make
Install tree:     /usr/local
Report bugs to:   hpux@connect.org.uk
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/hpux64 -L/usr/local/lib -L/usr/lib/hpux64 -L/usr/lib"
Purpose:
Multi-threaded bzip2 compression program. It can use multiple CPU cores to
efficiently compress or decompress files and doesn't require bzip2 to be
installed first either.
Date archived:    Fri  6 Oct 2017

-------------------------------------------------------------------------------

Files changed:

* Makefile.in:
  - "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.
    * Compile with "cc -O".
    * Link with -lpthread.
    * Set RANLIB to /bin/true.
    * Enable both shared and static library building.
  - Strip any installed binaries.
  - Set 755 permissions on any installed scripts.

* src/main.c:
  - If HP-UX, include headers to support pstat_getdynamic().
  - Use strchr() instead of the obsolete index().
  - If HP-UX, hard-code maximum threads as 4.
  - If HP-UX, call pstat_getdynamic() to get number of CPUs.

* tests/Tester:
  - Remove non-portable "set -C" flag.
  - Don't call ulimit.

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