I’m new to using SVN and what I want to achieve is:
custom compiled nginx web server with http push module on windows using
either mingw, cygwin or Visual Studio compilers.
The problem lies in 2 things:
after I checked out the svn, it downloaded almost 2 gigabytes of data
and I don’t know how to compile it since in trunk directory there are no
configure scripts i could run
after downloading linux version of nginx from nginx.org and unpacking
it, i tried to configure it but i get error on “checking int size” but
if i run the configuration script with parameters the windows version of
nginx from site was compiled with, configuration script finishes without
problem but then i cannot “make” the source “no rule to make target
src/os/win32/ngx_win32_config.h…”
In this thread http://forum.nginx.org/read.php?2,192475,192511 the
author of nginx mentions, that there are sources for window on svn so
i’ve started to going that way but like i’ve said i don’t know how to
configure it since there are no configuration scripts there.
Please help me. I’m struggling with this for some time now and I don’t
know what else I could do.
On Sat, Jul 09, 2011 at 03:34:43PM -0400, t0meck wrote:
Hello everyone,
I’m new to using SVN and what I want to achieve is:
custom compiled nginx web server with http push module on windows using
either mingw, cygwin or Visual Studio compilers.
The problem lies in 2 things:
after I checked out the svn, it downloaded almost 2 gigabytes of data
and I don’t know how to compile it since in trunk directory there are no
configure scripts i could run
In svn, configure script is located in auto/configure. You may
run as ./auto/configure. Note there are also other minor layout
differences from release tarballs (e.g. building manpage will
fail).
after downloading linux version of nginx from nginx.org and unpacking
it, i tried to configure it but i get error on “checking int size” but
if i run the configuration script with parameters the windows version of
nginx from site was compiled with, configuration script finishes without
problem but then i cannot “make” the source “no rule to make target
src/os/win32/ngx_win32_config.h…”
There are no win32-related files in release tarballs.
In this thread http://forum.nginx.org/read.php?2,192475,192511 the
author of nginx mentions, that there are sources for window on svn so
i’ve started to going that way but like i’ve said i don’t know how to
configure it since there are no configuration scripts there.
Please help me. I’m struggling with this for some time now and I don’t
know what else I could do.
Right now the only person who knows how to correctly compile
native nginx for Windows is Igor, and in the message you’ve
referenced he clearly states that he isn’t going to support
building procedure.
I was able to compile nginx binary using a combination of MSYS
environment from MinGW and Visual C compiler, with something like
this:
Thanks for fast reply.
I was able to start making windows executable under linux host.
I’ve downloaded original nginx and then checked with “-V” option
configure parameters.
In the end I had to do some changes to the Makefile generated by
configure script which i’ve copied from linux tarball.
In the end, make crashed after making man pages. If i remember correctly
it was on openssl or other thing i couldn’t fix.
If only Igor could produce his packages with http_push module compiled
in…
Sorry for posting on this old thread but I am really hoping that someone
was able to get nginx and http_push_module compiled and running on
Windows. If you did please let me know. If you didn’t, what route did
you go instead. I’m very interested!