nginx can't spawn sub process

Maxim Dounin mdounin at
Wed Sep 28 15:53:49 UTC 2016


On Wed, Sep 28, 2016 at 03:41:38PM +0000, shang yu wrote:

> I compiled nginx 1.8.1 from source on Windows XP . when I run it 
> , it can spawn sub process but the sub process crashed 
> immediately .
> BTW , because I did not install cygwin on my system . I create 
> the needed files ngx_auto_headers.h ngx_auto_config.h and 
> ngx_modules.c

You don't need Cygwin, but you have to install MSYS to properly 
run configure.  By trying to create required files yourself you 
are looking for troubles.

See here for recommended steps if you want to built nginx on 
Windows yourself:

Maxim Dounin

More information about the nginx mailing list