zlib123src.txt -- ZLIB (compression library) for Minix 2.0.X (32 bit)
Minix source distribution by Michael Kennett 25/July/2005
Complete package is zlib123src.taz.
You may want this package if you want to compile python 1.5.2 from
source, using the py152-src.taz packages, although it is possible to do
so without zlib. See py152-src.txt for more information.
The zlib compression library (http://www.zlib.org) is a free data
compression library used by many software projects. The source package
contains a cutdown version of the standard zlib-1.2.3 sources, removing
support for other platforms, and (most of) the contributed files.
To install the source package from a set of floppies (e.g. created by
fdvol) enter the command:
$ setup
where is the directory in which the sources will be unpacked
(e.g. your home directory, or /usr/local/src).
Build Configuration
-------------------
The following command line should be used to configure the sources:
$ ./configure
After the sources have been configured, the binaries can be built:
$ make test
$ make install
The default installation occurs in /usr/local.
Changes from the original distribution
--------------------------------------
The original zlib files can be downloaded from http://www.zib.net/.
This distribution has removed many of the original files that are
related to other (non-Minix) platforms, and the examples showing
how to use the zlib library.
The configure script has been modified to support Minix, and the
Makefile.in file has been extended to support installing the 'mini'
compression commands. Finally, the distributed Makefile has been
generated by the configure script, and is suitable for the Minix
platform (so strictly, the configuration step is not required).
Errors
------
The zlib library will fail if the process has insufficient memory.
To resolve this, use the chmem(1) command to increase the amount of
memory allocated to the process.