Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to install it. #14

Open
jnbdz opened this issue May 15, 2013 · 2 comments
Open

Unable to install it. #14

jnbdz opened this issue May 15, 2013 · 2 comments

Comments

@jnbdz
Copy link

jnbdz commented May 15, 2013

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
Copy link
Author

jnbdz commented May 15, 2013

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
Copy link
Author

jnbdz commented May 17, 2013

This as been resolved here: #10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant