You're missing zlib.h, thus you need to install the development package for zlib. I'm guessing but i'd say an something along the lines of:

Code:
#apt-get install zlib-dev
or even
Code:
#apt-get install zlib1g-dev
should reduce the errors and perhaps even compile.