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
Can you provide a detailed nginx-clojure-embed compilation process ? #269
Comments
Please try to execute below command under nginx folder after you execute nginx-clojure-embed/configure-win32
If successful, a dll file named |
Ok thank you, I will try later, if there is a problem, I will report again. |
I executed C:\Users\xtherk\Desktop\nginx-env\nginx>nmake -f objs/Makefile NGX_WIN64=1 embed
"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\bin\HostX64\x64\nmake.exe" -f auto/lib/openssl/makefile.msvc OPENSSL="objs/lib/openssl-3.0.5" OPENSSL_OPT="enable-tlsext"
cd objs/lib/openssl-3.0.5
perl Configure VC-WIN64A no-shared --prefix="%cd%/openssl" --openssldir="%cd%/openssl/ssl" enable-tlsext
Failure! build file wasn't produced.
Please read INSTALL.md and associated NOTES-* files. You may also have to
look over your available compiler tool chain or change your configuration.
***** Unsupported options: enable-tlsext
NMAKE : fatal error U1077: “perl”: 返回代码“0xff”
Stop.
NMAKE : fatal error U1077: “"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\bin\HostX64\x64\nmake.exe"”: 返回代码“0x2”
Stop. I tried google some answers, but did not query useful information. |
I remove the option 找不到 C:\Users\xtherk\Desktop\nginx-env\nginx\objs\lib\openssl-3.0.5\legacy.*
NMAKE : fatal error U1077: “cmd”: 返回代码“0x1”
Stop.
NMAKE : fatal error U1077: “"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\bin\HostX64\x64\nmake.exe"”: 返回代码“0x2”
Stop.
NMAKE : fatal error U1077: “if”: 返回代码“0x2”
Stop.
NMAKE : fatal error U1077: “"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\bin\HostX64\x64\nmake.exe"”: 返回代码“0x2”
Stop. I compiled in a clean virtual machine. |
Sorry, some internals of NGINX have changed since 1.23.0, so even though we fixed compilation issues with openssl 3.x on windows, we cannot successfully compile nginx-clojure with these versions. |
Ok thanks. Can you provide your previous compilation of successful nginx version information and |
Building nginx-clojure-embed on windows is harder than on other systems. Below is my compilation environment:
And we must modify auto/lib/openssl/makefile.msvc to
Also add below code to nginx_win32_config.h
|
@xfeep 非常感谢! |
Since the release version does not support the
ip_hash
feature, I want to try to compile.I successfully compiled nginx.exe with this environment.
Progress
I execute
/nginx-clojure-embed/configure-win32
, it output ..But the current version of nginx no longer exists
lib/sha1/makefile.msvc
so idk how do it,Or can you provide support
ip_hash
nginx (dll/so/dylib) ?The text was updated successfully, but these errors were encountered: