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

Failed to build on Win32 #162

Open
mhoran opened this issue Apr 30, 2019 · 0 comments
Open

Failed to build on Win32 #162

mhoran opened this issue Apr 30, 2019 · 0 comments

Comments

@mhoran
Copy link

mhoran commented Apr 30, 2019

I tried following some combination of openresty/README-windows.md and stream-lua-nginx-module/README.md to build this module (before discovering the the RC version of openresty with support for ssl_certificate_by_lua_block). While I no longer need to build this module by source, I thought the maintainers may want to know about this error.

mingw32-make[1]: *** No rule to make target '/c/build/stream-lua-nginx-module-0.0.7rc1/src/ddebug.h', needed by 'objs/addon/src/ngx_stream_lua_api.o'.  Stop.
mingw32-make[1]: Leaving directory 'C:/build/nginx-release-1.13.6'
mingw32-make: *** [Makefile:8: build] Error 2

I ran auto/configure with the following arguments:

auto/configure --with-stream --with-stream_ssl_module --add-module=/c/build/stream-lua-nginx-module-0.0.7rc1 --without-http --with-openssl=objs/lib/openssl-1.1.1b

I downloaded nginx 1.13.6 as specified in the README. I also had to patch src/stream/ngx_stream_script.c as per https://trac.nginx.org/nginx/changeset/9e25a5380a21240cdb66646f1e20ef7247b646a1/nginx. I'm using the MinGW-w64 toolchain.

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