Building nginx from Source on Windows

Maxim Dounin mdounin at
Mon Dec 28 14:53:03 UTC 2015


On Sun, Dec 27, 2015 at 11:44:16AM -0800, Igal @ wrote:

> update:  so I ran the following command:
> auto/configure --with-cc=gcc --prefix= --conf-path=conf/nginx.conf
> --http-log-path=logs/access.log
> --error-log-path=logs/error.log--without-http_gzip_module
> --without-http_rewrite_module

The "--with-select_module" option is missing, and that's what 
causes your troubles.


> populates the directory structure with .o files, and produces nginx.exe
> which is about 3.14 MB (3,293,712 bytes).  can I just use that file or do I
> still need to run "make install"?  running

Running "make install" won't do anything good with an empty 
prefix.  Just run the nginx.exe binary.

See also this howto article:

It describes how to build nginx using MS Visual C as currently 
done for official win32 builds.

Maxim Dounin

More information about the nginx mailing list