Compiling nginx with zlib-1.2.6 error

Allan Davy a_davy at
Tue Apr 17 15:56:54 UTC 2012

I attempted to compile nginx-1.0.15 with zlib-1.2.6 on a Solaris 11 platform and received the following error.

cd ../zlib-1.2.6 \
    && gmake distclean \
    && CFLAGS="-O2 -fomit-frame-pointer -pipe " CC="gcc" \
        ./configure \
    && gmake libz.a
gmake[2]: Entering directory `/home/produser/Downloads/zlib-1.2.6'
make -f distclean
make: Fatal error in reader:, line 57: Unexpected end of line seen
Current working directory /home/produser/Downloads/zlib-1.2.6
gmake[2]: *** [distclean] Error 1
gmake[2]: Leaving directory `/home/produser/Downloads/zlib-1.2.6'
gmake[1]: *** [../zlib-1.2.6/libz.a] Error 2
gmake[1]: Leaving directory `/home/produser/Downloads/nginx-1.0.15'
gmake: *** [build] Error 2

Pleae advise what I should do.  There were many many bug fixes and enhancements to zlib 1.2.6 over the 1.2.5 and would like to know if its going to work or not.

Tank you,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx mailing list