I've been trying to set up my ROR app on AIX 5.3 with Passenger. Tried
all the different options. Till last night, I was getting below:
Commands:
cd /path to my app
passenger start
src/os/unix/ngx_errno.c: In function 'ngx_strerror':
src/os/unix/ngx_errno.c:36:43: error: expected expression before ')'
token
src/os/unix/ngx_errno.c: In function 'ngx_strerror_init':
src/os/unix/ngx_errno.c:57:24: error: invalid type argument of unary
'*' (have
long unsigned int')
src/os/unix/ngx_errno.c:64:37: error: expected expression before ';'
token
gmake[1]: *** [objs/src/os/unix/ngx_errno.o] Error 1
gmake[1]: Leaving directory `/tmp/abaziz-passenger-standalone-860288/
nginx-1.0.
I went in and manually changed file called ngx_auto_config.h, line 107 to:
#ifndef NGX_SYS_NERR
#define NGX_SYS_NERR
to
#ifndef NGX_SYS_NERR
#define NGX_SYS_NERR 1
This seem to have fixed the error. I want to confirm if this is a known an issue with nginx code?
Moving on - I'm now hitting different problems when I do the command:
passenger-install-nginx-module.
..........
config.status: executing depfiles commands
rm -f ext/libev//libev.la
cd ext/libev/ && make libev.la
/bin/sh ./libtool --tag=CC --mode=compile gcc -
DHAVE_CONFIG_H -I.
-g -O2 -O3 -c -o ev.lo ev.c
gcc -DHAVE_CONFIG_H -I. -g -O2 -O3 -c ev.c -o ev.o
ev.c: In function 'ev_invoke_pending':
ev.c:1997:9: error: 'ANPENDING' has no member named 'reqevents'
ev.c: In function 'ev_clear_pending':
ev.c:2465:15: error: 'ANPENDING' has no member named 'reqevents'
ev.c: In function 'ev_io_start':
ev.c:2506:3: error: 'ev_io' has no member named 'reqevents'
ev.c:2514:25: error: 'ev_io' has no member named 'reqevents'
ev.c:2515:4: error: 'ev_io' has no member named 'reqevents'
ev.c: In function 'ev_embed_start':
ev.c:3387:5: error: 'ev_io' has no member named 'reqevents'
ev.c: In function 'ev_once':
ev.c:3567:7: error: 'ev_io' has no member named 'reqevents'
make: 1254-004 The error code from the last command is 1.
Any help would be welcome.
Thanks,
Aziz