Windows build (nginx-19.8)
Ranier Vilela
ranier.vf at gmail.com
Thu Mar 11 01:29:11 UTC 2021
Hi,
The documentation at http://nginx.org/en/docs/howto_build_on_win32.html,
it's a little out of date.
But I can build nginx-1.10 successfully.
However I am trying to build nginx-1.19.8 now, and I have encountered
problems.
Windows 10 64 bits
Msvc 2019 64 bits
./configure --with-cc=cl --builddir=objs --prefix= \
> --conf-path=conf/nginx.conf --pid-path=logs/nginx.pid \
> --http-log-path=logs/access.log --error-log-path=logs/error.log \
> --sbin-path=nginx.exe --http-client-body-temp-path=temp/client_body_temp \
> --http-proxy-temp-path=temp/proxy_temp \
> --http-fastcgi-temp-path=temp/fastcgi_temp \
> --with-cc-opt=-DFD_SETSIZE=1024 --with-pcre=objs/lib/pcre-8.38 \
> --with-zlib=objs/lib/zlib-1.2.8 \
> --with-select_module --with-debug \
> --add-dynamic-module=ngx_rcpdv
checking for OS
+ MINGW32_NT-6.2 1.0.11(0.46/3/2) i686
+ using Microsoft Visual C++ compiler
+ cl version:
auto/cc/msvc: line 117: [: : integer expression expected
checking for MINGW32_NT-6.2 specific features
configuring additional dynamic modules
adding module in ngx_rcpdv
ngx_rcpdv/config: line 19: pg_config: command not found
ngx_rcpdv/config: line 20: pg_config: command not found
ngx_http_rcpdv_module: using Sirius 1.0
checking for pg ... not found
+ ngx_http_rcpdv_module was configured
creating objs/Makefile
Configuration summary
+ using PCRE library: objs/lib/pcre-8.38
+ OpenSSL library is not used
+ using zlib library: objs/lib/zlib-1.2.8
nginx path prefix: ""
nginx binary file: "/nginx.exe"
nginx modules path: "/modules"
nginx configuration prefix: "/conf"
nginx configuration file: "/conf/nginx.conf"
nginx pid file: "/logs/nginx.pid"
nginx error log file: "/logs/error.log"
nginx http access log file: "/logs/access.log"
nginx http client request body temporary files: "temp/client_body_temp"
nginx http proxy temporary files: "temp/proxy_temp"
nginx http fastcgi temporary files: "temp/fastcgi_temp"
nginx http uwsgi temporary files: "uwsgi_temp"
nginx http scgi temporary files: "scgi_temp"
nmake
Microsoft (R) Program Maintenance Utility Versão 14.28.29337.0
Direitos autorais da Microsoft Corporation. Todos os direitos reservados.
"c:\Program Files (x86)\Microsoft Visual
Studio\2019\Community\VC\Tools\MSVC\14.28.29333\bin\HostX64\x64\nmake.exe"
-f objs/Makefile
Microsoft (R) Program Maintenance Utility Versão 14.28.29337.0
Direitos autorais da Microsoft Corporation. Todos os direitos reservados.
NMAKE : fatal error U1073: não sabe como criar
'src/os/win32/ngx_win32_config.h'
Stop.
NMAKE : fatal error U1077: '"c:\Program Files (x86)\Microsoft Visual
Studio\2019\Community\VC\Tools\MSVC\14.28.29333\bin\HostX64\x64\nmake.exe"'
: código de retorno '0x2'
Stop.
It seems to me that ngx_win32_config.h was not created.
Question, is Windows build, is it supported yet?
regards,
Ranier Vilela
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx-devel/attachments/20210310/531efc6f/attachment.htm>
More information about the nginx-devel
mailing list