Building nginx from Source on Windows

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


Hello!

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

> update:  so I ran the following command:
> 
> auto/configure --with-cc=gcc --prefix= --conf-path=conf/nginx.conf
> --pid-path=nginx.pid --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:

http://nginx.org/en/docs/howto_build_on_win32.html

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

-- 
Maxim Dounin
http://nginx.org/



More information about the nginx mailing list