Passenger for Nginx
Ezra Zygmuntowicz
ezmobius at gmail.com
Fri Apr 17 21:32:33 MSD 2009
It is currently only compatible for the 0.6.3* series of nginx.
Ezra Zygmuntowicz
ez at engineyard.com
On Apr 17, 2009, at 12:49 AM, Joel He wrote:
> unable to compile nginx 0.7.51 with passenger.
> ./configure --prefix=/usr/local/nginx
> --add-module=../passenger-2.2.0/ext/nginx
> ...
> configuring additional modules
> adding module in ../passenger-2.2.0/ext/nginx
> + ngx_http_passenger_module was configured
> ...
>
> make
> ...
> -o objs/addon/nginx/Configuration.o \
> ../passenger-2.2.0/ext/nginx/Configuration.c
> ../passenger-2.2.0/ext/nginx/Configuration.c: In function
> 'passenger_merge_loc_conf':
> ../passenger-2.2.0/ext/nginx/Configuration.c:402: error:
> 'ngx_garbage_collector_temp_handler' undeclared (first use in this
> function)
> ../passenger-2.2.0/ext/nginx/Configuration.c:402: error: (Each
> undeclared identifier is reported only once
> ../passenger-2.2.0/ext/nginx/Configuration.c:402: error: for each
> function it appears in.)
> cc1: warnings being treated as errors
> ../passenger-2.2.0/ext/nginx/Configuration.c:402: warning: passing
> argument 1 of 'ngx_conf_merge_path_value' from incompatible pointer
> type
> ../passenger-2.2.0/ext/nginx/Configuration.c:402: warning: passing
> argument 2 of 'ngx_conf_merge_path_value' from incompatible pointer
> type
> ../passenger-2.2.0/ext/nginx/Configuration.c:402: warning: passing
> argument 3 of 'ngx_conf_merge_path_value' from incompatible pointer
> type
> ../passenger-2.2.0/ext/nginx/Configuration.c:402: warning: passing
> argument 4 of 'ngx_conf_merge_path_value' makes pointer from integer
> without a cast
> ../passenger-2.2.0/ext/nginx/Configuration.c:402: error: too many
> arguments to function 'ngx_conf_merge_path_value'
> make[1]: *** [objs/addon/nginx/Configuration.o] Error 1
> make[1]: Leaving directory `/src/nginx/nginx-0.7.51'
> make: *** [build] Error 2
> --
> Posted via http://www.ruby-forum.com/.
>
More information about the nginx
mailing list