nginx can't spawn sub process

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


Hello!

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:

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

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



More information about the nginx mailing list