couldn't build Nginx with spdy support on Windows XP

Valentin V. Bartenev vbart at nginx.com
Fri Mar 8 16:51:24 UTC 2013


On Friday 08 March 2013 14:16:36 三浦大佑 wrote:
> Hi,
> I have a problem about spdy support.
> 
> I tried building Nginx with SPDY according to the page.
> http://nginx.org/en/docs/howto_build_on_win32.html
> 
> but, make command was stopped when making ngx_http_spdy.obj.
> 
> [Environment]
> Nginx: 1.3.14(from svn source)
> uname -a: MINGW32_NT-5.1 EBB007K 1.0.18(0.48/3/2) 2012-11-21 22:34 i686
> Msys
> 
> $ export LIB="C:\\Program Files\\Microsoft Visual Studio
> 10.0\\VC\\lib;C:\\Program Files\\Microsoft SDKs\\Windows\\v7.1\\Lib"
> $ export INCLUDE="C:\\Program Files\\Microsoft Visual Studio
> 10.0\\VC\\include;C:\\Program Files\\Microsoft
> SDKs\\Windows\\v7.1\\Include"
> $ export PATH="$PATH:/c/strawberryperl/perl/bin:/c/Program Files/Microsoft
> Visual Studio 10.0/VC/bin:/c/Program Files/Microsoft Visual Studio
> 10.0/Common7/IDE:/c/Program Files/Microsoft SDKs/Windows/v7.1/Bin"
> 
> configure command
> $auto/configure --with-cc=cl --builddir=obj --prefix=
> --conf-path=conf/nginx.conf --pid-path=logs/ngi
> nx.pid --http-log-path=logs/access.log --error-log-path=logs/error.log
> --sbin-path=nginx.exe --http-
> client-body-temp-path=temp/client_body_temp
> --http-proxy-temp-path=temp/proxy_temp --http-fastcgi-te
> mp-path=temp/fastcgi_temp --with-cc-opt=-DFD_SETSIZE=1024
> --with-pcre=obj/lib/pcre-8.32 --with-zlib=
> obj/lib/zlib-1.2.7 --with-openssl=obj/lib/openssl-1.0.1e
> --with-select_module --with-http_ssl_module
>  --with-http_spdy_module --with-http_perl_module --with-http_dav_module
> 
> make command
> $ nmake -f obj/Makefile
> 
> ...
>         cl -c -O2  -W4 -WX -nologo -MT -Zi -DFD_SETSIZE=1024
> -DNO_SYS_TYPES_H -Yungx_config.h -Fpobj
> /ngx_config.pch -I src/core  -I src/event  -I src/event/modules  -I
> src/os/win32  -I obj/lib/pcre-8.
> 32  -I obj/lib/openssl-1.0.1e/openssl/include  -I obj/lib/zlib-1.2.7  -I
> obj  -I src/http  -I src/ht
> tp/modules  -I src/http/modules/perl  -I src/mail
>  -Foobj/src/http/ngx_http_spdy.obj  src/http/ngx_h
> ttp_spdy.c
> ngx_http_spdy.c
> src/http/ngx_http_spdy.c(1264) : error C2220: warning treated as error - no
> 'object' file generated
> src/http/ngx_http_spdy.c(1264) : warning C4244: 'function' : conversion
> from 'off_t' to 'size_t', po
> ssible loss of data
> src/http/ngx_http_spdy.c(1642) : warning C4310: cast truncates constant
> value
> NMAKE : fatal error U1077: '"\Program Files\Microsoft Visual Studio
> 10.0\VC\bin\cl.EXE"' : return co
> de '0x2'
> Stop.
> 
> No one try to build Nginx with SPDY on Windows XP?
> This problem is happened only on Windows?

Yes, looks so.

> Please help me.
> 

Well, I'll try.

  wbr, Valentin V. Bartenev

--
http://nginx.org/en/donation.html



More information about the nginx-devel mailing list