Adding NJS breaks nginx compilation (on Windows)
micheljung opened this issue · comments
I'm trying to build nginx with NJS on Windows
Building nginx only works, using this build script, as you can see in its build result.
If I simply add --add-module=njs/nginx
(which points to a cloned repository) as documented, the build fails with the last lines being:
install openssl.pc -> /c/projects/nginx-build-msys2/nginx/openssl-1.1.1g/.openssl/lib/pkgconfig/openssl.pc
make[2]: Leaving directory '/c/projects/nginx-build-msys2/nginx/openssl-1.1.1g'
make[1]: Leaving directory '/c/projects/nginx-build-msys2/nginx'
make: *** [Makefile:8: build] Error 2
Not being used to build things myself, I'm lost here. Any help would be much appreciated - and maybe we can then share a Windows build project that just works :-)
Hi @micheljung,
njs project does not support Windows, (only POSIX-compatible OSs: linux, freebsd, Solaris, macOs,..).
I will add the list of supported operation systems to the official documentation.