Becaust the note, you must install the zlib first!
Before installing libpng, you must first install zlib. zlib
can usually be found wherever you got libpng. zlib can be
placed in another Directory, at the same level as libpng.
Note that your system might already have a preinstalled
zlib, but you will still need to have Access to the
zlib.h and zconf.h include files that correspond to the
version of zlib that's installed.
http://www.gzip.org/zlib/
ftp://ftp.uu.net/graphics/png/src/zlib-1.1.3.tar.gz