Windows build failing - NMAKE : fatal error U1073

Alec Taylor alec.taylor6 at gmail.com
Sat May 2 03:51:20 UTC 2015


Following your guide: http://nginx.org/en/docs/howto_build_on_win32.html

With a few edits, I then ran:
./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.36
--with-zlib=objs/lib/zlib-1.2.8 --with-openssl=objs/lib/openssl-1.0.1e
--with-select_module --with-http_ssl_module --with-ipv6
--add-module=../ngx-fancyindex

Which succeeded. Finally I ran: `nmake -f objs/Makefile`, which gave
the following output:

Microsoft (R) Program Maintenance Utility Version 12.00.21005.1
Copyright (C) Microsoft Corporation.  All rights reserved.

NMAKE : fatal error U1073: don't know how to make 'src/os/win32/ngx_win32_config
.h'
Stop.

How do I build nginx on Windows?

Thanks for all suggestions



More information about the nginx mailing list