While trying to build Ruby 1.9.33-p429 under AIX version 7, the
*./configure
*phase goes fine, but it failed during the make phase with the errors
listed below.
Any help is appreciated.
Thank you
basicsocket.c: In function ‘bsock_getpeereid’:
basicsocket.c:433:5: warning: implicit declaration of function
‘getpeereid’
[-Wimplicit-function-decl aration]
compiling socket.c
socket.c: In function ‘socket_s_ip_address_list’:
socket.c:1507:5: warning: implicit declaration of function ‘getifaddrs’
[-Wimplicit-function-declarat ion]
socket.c:1513:27: error: dereferencing pointer to incomplete type
socket.c:1514:14: error: dereferencing pointer to incomplete type
socket.c:1514:36: error: dereferencing pointer to incomplete type
socket.c:1514:36: error: dereferencing pointer to incomplete type
socket.c:1515:45: error: dereferencing pointer to incomplete type
socket.c:1519:5: warning: implicit declaration of function ‘freeifaddrs’
[-Wimplicit-function-declara tion]
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.
make: 1254-004 The error code from the last command is 2.
While trying to build Ruby 1.9.33-p429 under AIX version 7, the *./configure
*phase goes fine, but it failed during the make phase with the errors
listed below.
Good luck! Please let me know what sort of fixes you wind up with. I
wound up just going with jruby (which also has a problem with IBM’s
Java)
– Matt
It’s not what I know that counts.
It’s what I can remember in time to use.
basicsocket.c: In function ‘bsock_getpeereid’:
basicsocket.c:433: warning: implicit declaration of function
‘getpeereid’
compiling socket.c
socket.c: In function ‘socket_s_ip_address_list’:
socket.c:1627: warning: comparison between signed and unsigned integer
expressions
compiling ipsocket.c
The warning is in a different #elif branch (#elif defined(SIOCGIFCONF))
than your errors, which are in the #if defined(HAVE_GETIFADDRS) part. So
apparently there’s some difference between our systems…
Then my build failed anyway, like this:
compiling syslog.c
linking shared-object syslog.so
installing default syslog libraries
Target “all” is up to date.
Target “all” is up to date.
Target “all” is up to date.
Target “all” is up to date.
Target “all” is up to date.
linking ruby
: not found
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.
make: 1254-004 The error code from the last command is 2.