Can't compile since 0.8.33 on CentOS
mdounin at mdounin.ru
Fri Apr 16 01:17:31 MSD 2010
On Thu, Apr 15, 2010 at 01:42:31PM -0700, Michael Shadle wrote:
> Now that I examine this, it's treating warnings as errors. Ideally
> this wouldn't be a warning either, but what could be going on to make
> this force fail?
nginx uses -Werror by default
> src/http/modules/ngx_http_fastcgi_module.c: In function
> src/http/modules/ngx_http_fastcgi_module.c:1104: warning: unused variable ‘fh’
> make: *** [objs/src/http/modules/ngx_http_fastcgi_module.o] Error 1
> make: Leaving directory `/usr/src/build/nginx-0.8.35'
Known issue, --without-http-cache breaks this way. You may either
patch it (patch is trivial and was already posted here) or just
compile it with cache.
More information about the nginx