Trouble compiling nginx on AIX 5.3

Earle Ake earle.ake at gmail.com
Tue Dec 18 14:39:46 UTC 2012


It now compiles.  Can't help the OS as that is what we are given.  Will see
if it ow runs.  Thanks!


-Earle

On Tue, Dec 18, 2012 at 7:53 AM, Maxim Dounin <mdounin at mdounin.ru> wrote:

> 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
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20121218/e108345a/attachment.html>


More information about the nginx mailing list