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

tha lastest openresty and stream-lua-nginx-module ,has no member named ‘privileged_agent_connections’ #288

Open
tomhunts opened this issue Feb 23, 2022 · 1 comment

Comments

@tomhunts
Copy link

hello, i use the latest openresty is openresty-1.19.9.1 and the latest of stream-lua-nginx-module in stream-lua-nginx-module-0.0.11rc1

this is my configure command

./configure --prefix=/usr/local/openresty --with-luajit --without-http_redis2_module --with-http_iconv_module --with-stream --add-module=../stream-lua-nginx-module-0.0.11rc1 

the configure is ok
but the make takes same error issues/258

/home/ubuntu/nginx-test/openrestry/openresty-1.19.9.1/../stream-lua-nginx-module-0.0.11rc1/src/ngx_stream_lua_worker.c: In function ‘ngx_stream_lua_ffi_enable_privileged_agent’:
/home/ubuntu/nginx-test/openrestry/openresty-1.19.9.1/../stream-lua-nginx-module-0.0.11rc1/src/ngx_stream_lua_worker.c:124:8: error: ‘ngx_core_conf_t {aka struct <anonymous>}’ has no member named ‘privileged_agent_connections’
ccf->privileged_agent_connections = connections;
        ^
objs/Makefile:3278: recipe for target 'objs/addon/src/ngx_stream_lua_worker.o' failed
make[2]: *** [objs/addon/src/ngx_stream_lua_worker.o] Error 1
make[2]: Leaving directory '/home/ubuntu/nginx-test/openrestry/openresty-1.19.9.1/build/nginx-1.19.9'
Makefile:10: recipe for target 'build' failed
make[1]: *** [build] Error 2
make[1]: Leaving directory '/home/ubuntu/nginx-test/openrestry/openresty-1.19.9.1/build/nginx-1.19.9'
Makefile:4: recipe for target 'all' failed
make: *** [all] Error 2

is this bugfixed? thank you help.

@zhuizhuhaomeng
Copy link
Contributor

the openresty-1.19.9.1 do not include the latest patch in https://github.com/openresty/openresty/patches

you need to create tarball yourself via https://github.com/openresty/openresty/blob/master/util/mirror-tarballs

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

No branches or pull requests

2 participants