http://www.freesoftware.com/pub/infozip/zlib/ ftp://ftp.freesoftware.com/pub/infozip/zlib/zlib-1.1.3.tar.gz
For Unix: "configure; make test; make install" should work for most machines.
configure; make test *** zlib test OK ***
pkg=zlib make -n install | tee ../../logs/$pkg.log.0 make install | tee ../../logs/$pkg.log.1
First thing to do (I assume you have successfully unpacked it!) is to run:
make check
# dir default.defs lrwxrwxrwx 1 500 group1 16 Sep 28 11:49 default.defs -> defs/redhat.defs
Next, check the above symbolic link points to the file that best describes your system. Yes.
Second, try to compile it.
make
The first time you type make, it is likely to complain. This is to remind you to remove any libraries from previous versions of the distribution that are likely to confuse this make… Type 'make' again.
make