Because I have to look this up every. single. time.
pcre ---
apt-get install libpcre3 libpcre3-dev
zlib ---
apt-get install zlibc zlib1g zlib1g-dev
init script
Also, try running configure with
./configure --with-http_realip_module --with-http_gzip_static_module