configure: error: *** zlib.h missing - please install first or check config.log ***
原因是缺少 zlib
有yum源的直接执行
# yum -y install zlib zlib-devel
没有yum源的可以直接在网上下载zlib的压缩包
# tar zxf zlib***.tar.gz
# cd zlib-***/
# ./configure
# make test
# make install
# make clean
# ./configure --shared
# make test
# make install
# cp zutil.h /usr/local/include/
# cp zutil.c /usr/local/include/
再次执行./configure 就没有问题了