Hi,
Link ==> http://code.google.com/p/nginx-upstream-jvm-route/
step1) /opt/httpwebserver/nginx_upstream_jvm_route $ patch p0 < jvm_route.patch
step2 /opt/httpwebserver/nginx-1.3.7$ ./configure --add-module=../nginx_upstream_jvm_route
step3)make
step4) make install
Everything is success untill now - life is easy
StepA) i have removed step1 folder i.e nginx_upstream_jvm_route and freshly extracted nginx-upstream-jvm-route-0.1.tar.gz
StepB) /opt/httpwebserver/nginx-1.3.7$ ./configure --add-module=../nginx_upstream_jvm_route
stepC) make
stepD) make install
Build failed i.e stepC & D.
../nginx_upstream_jvm_route/ngx_http_upstream_jvm_route_module.c:428: error: ‘ngx_http_upstream_srv_conf_t’ has no member named ‘session_cookie’
../nginx_upstream_jvm_route/ngx_http_upstream_jvm_route_module.c:429: error: ‘ngx_http_upstream_srv_conf_t’ has no member named ‘session_cookie’
../nginx_upstream_jvm_route/ngx_http_upstream_jvm_route_module.c:434: error: ‘ngx_http_upstream_srv_conf_t’ has no member named ‘session_url’
../nginx_upstream_jvm_route/ngx_http_upstream_jvm_route_module.c:435: error: ‘ngx_http_upstream_srv_conf_t’ has no member named ‘session_url’
../nginx_upstream_jvm_route/ngx_http_upstream_jvm_route_module.c:446: error: ‘ngx_http_upstream_srv_conf_t’ has no member named ‘session_url’
../nginx_upstream_jvm_route/ngx_http_upstream_jvm_route_module.c:447: error: ‘ngx_http_upstream_srv_conf_t’ has no member named ‘session_url’
../nginx_upstream_jvm_route/ngx_http_upstream_jvm_route_module.c:472: error: ‘ngx_http_upstream_srv_conf_t’ has no member named ‘reverse’
../nginx_upstream_jvm_route/ngx_http_upstream_jvm_route_module.c:476: error: ‘ngx_http_upstream_srv_conf_t’ has no member named ‘values’
../nginx_upstream_jvm_route/ngx_http_upstream_jvm_route_module.c:477: error: ‘ngx_http_upstream_srv_conf_t’ has no member named ‘lengths’
if i try to apply patch again step1) /opt/httpwebserver/nginx_upstream_jvm_route $ patch p0 < jvm_route.patch
i get this error
|Binary files src/core/.ngx_string.h.swp and src-change/core/.ngx_string.h.swp differ
|diff -ruN src/http/ngx_http_upstream.c src-change/http/ngx_http_upstream.c
|--- src/http/ngx_http_upstream.c 2009-07-01 14:24:20.000000000 +0800
|+++ src-change/http/ngx_http_upstream.c 2009-07-06 15:11:27.000000000 +0800
--------------------------
File to patch:
How to fix this issue please help me, i appreciate