-
Notifications
You must be signed in to change notification settings - Fork 72
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
error trying to make with nginx 1.11.8 mainline #9
Comments
then i did make without socks-nginx-module module then it went fine. thanks |
Wow, they did some breaking changes in the internal API again. I'm very busy right now and will fix it ASAP. |
Dannote leave his message half year ago and nothing changed. Apparently Danila still working hard at job) So we have to do it yourself...
P.S. I'm not a programmer. Applying and using this patch at your risk. |
RukaZhop's patch gets the module working on the latest stable version of nginx too (1.18.0 as of writing this). |
I'm working on a rewrite of this module (b16b6f2), so it's unlikely that I would merge this patch. I'll keep this issue open so you can try it at your own risk. |
i am trying to build nginx 1.11.8 on cent os x64 with socks-nginx-module, i have tried building with 1.11.5 and it completes successfully, but with 1.11.8 i get
/home/deploy/socks-nginx-module/src/ngx_http_socks_upstream.c: In function ‘ngx_http_socks_upstream_send_response’:
/home/deploy/socks-nginx-module/src/ngx_http_socks_upstream.c:2755:45: error: ‘ngx_http_file_cache_t’ has no member named ‘temp_path’
if (r->cache && r->cache->file_cache->temp_path) {
^
/home/deploy/socks-nginx-module/src/ngx_http_socks_upstream.c:2756:54: error: ‘ngx_http_file_cache_t’ has no member named ‘temp_path’
p->temp_file->path = r->cache->file_cache->temp_path;
^
/home/deploy/socks-nginx-module/src/ngx_http_socks_upstream.c: In function ‘ngx_http_socks_upstream_add’:
/home/deploy/socks-nginx-module/src/ngx_http_socks_upstream.c:4794:21: error: ‘ngx_http_upstream_srv_conf_t’ has no member named ‘default_port’
if (uscfp[i]->default_port && u->default_port
^
/home/deploy/socks-nginx-module/src/ngx_http_socks_upstream.c:4795:24: error: ‘ngx_http_upstream_srv_conf_t’ has no member named ‘default_port’
&& uscfp[i]->default_port != u->default_port)
^
/home/deploy/socks-nginx-module/src/ngx_http_socks_upstream.c:4817:9: error: ‘ngx_http_upstream_srv_conf_t’ has no member named ‘default_port’
uscf->default_port = u->default_port;
^
make[1]: *** [objs/addon/src/ngx_http_socks_upstream.o] Error 1
make[1]: Leaving directory `/home/deploy/nginx-1.11.8'
make: *** [build] Error 2
thanks
The text was updated successfully, but these errors were encountered: