nginx-eval-module icon indicating copy to clipboard operation
nginx-eval-module copied to clipboard

Unable to install it.

Open jnbdz opened this issue 12 years ago • 2 comments

For some reason I am unable to install it on my server. When I do make I get these errors:

/root/src/nginx_eval_module-1.0.1/ngx_http_eval_module.c: In function ‘ngx_http_eval_block’: /root/src/nginx_eval_module-1.0.1/ngx_http_eval_module.c:531:39: error: variable ‘pclcf’ set but not used [-Werror=unused-but-set-variable] /root/src/nginx_eval_module-1.0.1/ngx_http_eval_module.c:522:32: error: variable ‘ecf’ set but not used [-Werror=unused-but-set-variable] cc1: all warnings being treated as errors make[1]: *** [objs/addon/nginx_eval_module-1.0.1/ngx_http_eval_module.o] Error 1 make[1]: Leaving directory `/root/src/nginx-1.2.7' make: *** [build] Error 2

jnbdz avatar May 15 '13 08:05 jnbdz

I ask the question in ServerFault (http://serverfault.com/questions/507909/getting-a-build-error-when-installing-a-nginx-eval-module/507916?noredirect=1). They told me to remove the -Werror in objs/Makefile. So I did... And now it works. But I am not sure this is best thing to do.

What are your thoughts?

jnbdz avatar May 15 '13 20:05 jnbdz

This as been resolved here: https://github.com/vkholodkov/nginx-eval-module/issues/10

jnbdz avatar May 17 '13 01:05 jnbdz