Trouble compiling nginx on AIX 5.3

Maxim Dounin mdounin at mdounin.ru
Tue Dec 18 12:53:24 UTC 2012


Hello!

On Mon, Dec 17, 2012 at 10:13:29PM -0500, Earle Ake wrote:

> I am having issues getting nginx v1.2.6 compiled on AIX 5.3.  This is
> the first time I have tried on AIX.  I am using the configure line:
> 
> ./configure --without-http_rewrite_module --without-http_gzip_module
> --with-http_ssl_module --with-zlib=/usr/lib/
> 
> It gets so far in compiling then stops at this error:
> 
>         gcc -c -pipe  -O -W -Wall -Wpointer-arith
> -Wno-unused-parameter -Werror -g  -I src/core  -I src/event  -I
> src/event/modules  -I src/os/unix  -I objs  -o
> objs/src/os/unix/ngx_process.o  src/os/unix/ngx_process.c
> src/os/unix/ngx_process.c: In function `ngx_process_get_status':
> src/os/unix/ngx_process.c:510: warning: signed and unsigned type in
> conditional expression
> src/os/unix/ngx_process.c:517: warning: signed and unsigned type in
> conditional expression
> src/os/unix/ngx_process.c:523: warning: signed and unsigned type in
> conditional expression
> src/os/unix/ngx_process.c:528: warning: signed and unsigned type in
> conditional expression
> src/os/unix/ngx_process.c:529: warning: signed and unsigned type in
> conditional expression
> make: 1254-004 The error code from the last command is 1.
> 
> 
> Stop.
> make: 1254-004 The error code from the last command is 2.
> 
> 
> Stop.
> 
> 
> I also tried V1.2.4 and got the same results but a slightly different
> line number.  Any help?

Line numbers suggests there is a problem with system headers and 
your compiler - it complains about macros like WTERMSIG().  If you 
are brave enough to assume these warnings are harmless, you may 
tro using

./configure --with-cc-opt="-Wno-error"

to compile nginx despite of the warnings.

-- 
Maxim Dounin
http://nginx.com/support.html



More information about the nginx mailing list