apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jerry Jeremiah <Jerry.Jerem...@telecom.co.nz>
Subject RE: APR on AIX 5.3 with xlC 6.0
Date Wed, 02 Jun 2010 06:17:06 GMT


On Tuesday, 1 June 2010 12:06 pm, Eric Covener wrote:
> 
> On Mon, May 31, 2010 at 8:00 PM, Jerry Jeremiah wrote:
> > When I try to compile APR for AIX I see no errors from make and
> > make returns successfully.  When I run make test it appears to
> > compile successfully but the tests fail (shown below)
> > Does anyone know why?
>
> > testsock                    9      1     11.11%
> > make: 1254-004 The error code from the last command is 1.
>
> Yes,
>
> The IN6_IS_ADDR_V4MAPPED macro on AIX evaluates to false when passed
> ::ffff:0.0.0.0, the v4mapped form of INADDR_ANY.  This seems to be very
> different than other platforms.
>
> #define IS_IPV4ADDR6(a) \
>         (((a).s6_addr32[0] == 0) && \
>          ((a).s6_addr32[1] == 0) && \
>          ((a).s6_addr32[2] == 0x0000ffff) && \
>          ((a).s6_addr32[3] != 0))
>
>
> APR could replace the macro, or the test suite could use a loopback
> address instead of INADDR_ANY.
>
> Eric Covener

Thanks so much for the advice.

So, I attempt to use APR on this platform anyway, hoping I will have no trouble.  And when
I compile the APR utils the test fail with:

ie1365:/temp_install/apr-util-1.3.9/test>testall -v
teststrmatch        : SUCCESS
testuri             : SUCCESS
testuuid            : SUCCESS
testbuckets         : \Line 325: Skipped: could not create large file
SUCCESS
testpass            : SUCCESS
testmd4             : SUCCESS
testmd5             : SUCCESS
testdbd             : SUCCESS
testdate            : SUCCESS
testmemcache        : SUCCESS
testxml             : SUCCESS
testxlate           : -Line 63: expected <0>, but saw <22>
FAILED 1 of 1
testrmm             : SUCCESS
testdbm             : SUCCESS
testqueue           : SUCCESS
testreslist         : SUCCESS
Failed Tests            Total   Fail    Failed %
===================================================
testxlate                   1      1    100.00%

But I have no idea what that means.  Is it something really bad?  I am trying to compile Subversion
1.6.11 and I am worried that there will be problems...

Thanks,

Jerry

Mime
View raw message