yaoweibin / nginx_ajp_module

support AJP protocol proxy with Nginx
http://github.com/yaoweibin/nginx_ajp_module
246 stars 59 forks source link

Compile error with nginx 1.4.1 #10

Closed hostingnuggets closed 11 years ago

hostingnuggets commented 11 years ago

Hi,

I am trying to compile this AJP module with the latest nginx 1.4.1 but unfortunately it fails. Here is my configure parameters:

./configure --prefix=/opt/nginx-spdy --user=www-data --group=www-data --with-http_spdy_module --with-http_ssl_module --with-openssl=/opt/source/openssl-1.0.1e --with-http_stub_status_module --with-http_realip_module --with-http_gzip_static_module --add-module=/opt/source/nginx_ajp_module

and here is the make output just before it fails:

... cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I /opt/source/nginx_ajp_module/modules -I /opt/source/nginx_ajp_module -I /opt/source/openssl-1.0.1e/.openssl/include -I objs -I src/http -I src/http/modules -I src/mail \ -o objs/addon/nginx_ajp_module/ngx_http_ajp_handler.o \ /opt/source/nginx_ajp_module/ngx_http_ajp_handler.c /opt/source/nginx_ajp_module/ngx_http_ajp_handler.c: In function ‘ngx_http_ajp_handler’: /opt/source/nginx_ajp_module/ngx_http_ajp_handler.c:105: error: ‘ngx_event_pipe_t’ has no member named ‘keepalive’ /opt/source/nginx_ajp_module/ngx_http_ajp_handler.c: In function ‘ngx_http_ajp_end_response’: /opt/source/nginx_ajp_module/ngx_http_ajp_handler.c:1024: error: ‘ngx_event_pipe_t’ has no member named ‘keepalive’ make[1]: * [objs/addon/nginx_ajp_module/ngx_http_ajp_handler.o] Error 1 make[1]: Leaving directory `/opt/source/nginx-1.4.1' make: * [build] Error 2

Any ideas what's wrong here?

Thanks H.N.

hostingnuggets commented 11 years ago

sorry my bad forgot to patch nginx!