Compiling nginx with zlib-1.2.6 error
mdounin at mdounin.ru
Tue Apr 17 16:56:46 UTC 2012
On Tue, Apr 17, 2012 at 08:21:15PM +0400, Sergey Budnevitch wrote:
> On 17.04.2012, at 19:56, Allan Davy wrote:
> > Hello,
> > I attempted to compile nginx-1.0.15 with zlib-1.2.6 on a Solaris 11 platform and received the following error.
> I doubt you will be able to build static library on solaris 10 or 11.
> Try to build or install new dynamic zlib 1.2.6 and run nginx with LD_PRELOAD hack:
> LD_PRELOAD=/path/to/new/libz.so nginx
It builds fine with zlib 1.2.5. The problem is in zlib 1.2.6
Makefile / Makefile.in, see my reply.
> > gmake
> > .
> > .
> > .
> > cd ../zlib-1.2.6 \
> > && gmake distclean \
> > && CFLAGS="-O2 -fomit-frame-pointer -pipe " CC="gcc" \
> > ./configure \
> > && gmake libz.a
> > gmake: Entering directory `/home/produser/Downloads/zlib-1.2.6'
> > make -f Makefile.in distclean
> > make: Fatal error in reader: Makefile.in, line 57: Unexpected end of line seen
> > Current working directory /home/produser/Downloads/zlib-1.2.6
> > gmake: *** [distclean] Error 1
> > gmake: Leaving directory `/home/produser/Downloads/zlib-1.2.6'
> > gmake: *** [../zlib-1.2.6/libz.a] Error 2
> > gmake: 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,
> > Allan
> > _______________________________________________
> > nginx mailing list
> > nginx at nginx.org
> > http://mailman.nginx.org/mailman/listinfo/nginx
> nginx mailing list
> nginx at nginx.org
More information about the nginx