Building nginx from Source on Windows

Igal @ Lucee.org igal at lucee.org
Mon Dec 28 19:44:32 UTC 2015


Thank you, Maxim!

I prefer to build with gcc if that is possible.  MS Visual C is a mess 
IMO.  As a Java developer I'm used to more intuitive tools and options, 
I guess.

I will try to add --with-select_module and hopefully that will do the 
trick.  I will report back once I have some findings.


On 12/28/2015 6:53 AM, Maxim Dounin wrote:
> 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.
>



More information about the nginx mailing list