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?
on 2012-12-18 04:14
on 2012-12-18 07:54
Hello, On 12/18/12 7:13 AM, 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: > [...] We don't have an access to the system with AIX 5.3. The build works OK on 7.1 with gcc 4.6.0 though. -- Maxim Konovalov +7 (910) 4293178 http://nginx.com/support.html
on 2012-12-18 13:53
Hello! On Mon, Dec 17, 2012 at 10:13:29PM -0500, Earle Ake wrote: > src/event/modules -I src/os/unix -I objs -o > src/os/unix/ngx_process.c:529: warning: signed and unsigned type in > > 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
on 2012-12-18 15:40
It now compiles. Can't help the OS as that is what we are given. Will see if it ow runs. Thanks! -Earle
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.