Forum: NGINX Passenger for Nginx

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Jean-Philippe M. (Guest)
on 2009-04-17 01:30
(Received via mailing list)
Just for your information, in case you haven't been flooded by the
tweets and
blog posts, Passenger (a.k.a mod_rails) is available for nginx starting
with
passenger 2.2.0.
Apparently it's targeted for nginx 0.6.36 (from
bin/passenger-install-nginx-module).

Announcement :
http://blog.phusion.nl/2009/04/16/phusions-one-yea...
User guide :
http://www.modrails.com/documentation/Users guide Nginx.html
Joel H. (Guest)
on 2009-04-17 11:49
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
Ezra Z. (Guest)
on 2009-04-17 21:42
(Received via mailing list)
It is currently only compatible for the 0.6.3* series of nginx.


Ezra Z.
removed_email_address@domain.invalid
This topic is locked and can not be replied to.