I tried to install passenger 2.2.0 for NGIX, but i got installation
problems i use Ubuntu 8.10 x64 and i leaved all the default options:
Someone know ho to solve?
The errors:
gcc -c -O -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -
Wno-unused-function -Wunused-variable -Wunused-value -Werror -g -I
src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I
src/http -I src/http/modules -I src/mail \
-o objs/addon/nginx/ngx_http_passenger_module.o \
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/
passenger-2.2.0/ext/nginx/ngx_http_passenger_module.c
cc1: warnings being treated as errors
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/
passenger-2.2.0/ext/nginx/ngx_http_passenger_module.c: In function
‘start_helper_server’:
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/
passenger-2.2.0/ext/nginx/ngx_http_passenger_module.c:296: error:
ignoring return value of ‘read’, declared with attribute
warn_unused_result
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/
passenger-2.2.0/ext/nginx/ngx_http_passenger_module.c:309: error:
ignoring return value of ‘fchown’, declared with attribute
warn_unused_result
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/
passenger-2.2.0/ext/nginx/ngx_http_passenger_module.c: In function
‘shutdown_helper_server’:
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/
passenger-2.2.0/ext/nginx/ngx_http_passenger_module.c:367: error:
ignoring return value of ‘write’, declared with attribute
warn_unused_result
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/
passenger-2.2.0/ext/nginx/ngx_http_passenger_module.c:406: error:
ignoring return value of ‘system’, declared with attribute
warn_unused_result
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/
passenger-2.2.0/ext/nginx/ngx_http_passenger_module.c: In function
‘pre_config_init’:
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/
passenger-2.2.0/ext/nginx/ngx_http_passenger_module.c:527: error:
ignoring return value of ‘system’, declared with attribute
warn_unused_result
make[1]: *** [objs/addon/nginx/ngx_http_passenger_module.o] Error 1
make[1]: Leaving directory `/tmp/nginx-0.6.36'
make: *** [build] Error 2