MIT krb5 1.12.1 configure fails on AIX 6.1 and 7.1

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

MIT krb5 1.12.1 configure fails on AIX 6.1 and 7.1

yaberger
Hi,

I'm facing a similar issue that was reported by someone else in August
2013:
http://kerberos.996246.n3.nabble.com/krb5-1-11-3-shared-libraries-on-AIX-7-1-td38338.html

When trying to configure MIT krb5 1.12.1 on AIX 7.1 TL2 SP3 with IBM XL
C/C++ 12.1.0.6, the configure command fails:
export PATH=$PATH:/usr/vac/bin
gzip -cd krb5-1.12.1.tar.gz |tar xf -
cd krb5-1.12.1/src
./configure --prefix=/usr/local/krb5-1.12.1
...
configure: error: Shared libraries are not yet supported on this platform.

same issue with:
export PATH=$PATH:/usr/vac/bin
gzip -cd krb5-1.12.1.tar.gz |tar xf -
cd krb5-1.12.1/src
...
./configure --prefix=/usr/local/krb5-1.12.1 --disable-shared
--enable-static

The same happens on AIX 6.1 TL8 SP3 with IBM XL C/C++ 10.1.0.19
AIX 5.3 TL12 SP8 with IBM XL C/C++ 11.1.0.16 doesn't seem to have this
issue.


Best regards,

Yannick Bergeron
Advisory IT Specialist
_______________________________________________
krbdev mailing list             [hidden email]
https://mailman.mit.edu/mailman/listinfo/krbdev
Reply | Threaded
Open this post in threaded view
|

Re: MIT krb5 1.12.1 configure fails on AIX 6.1 and 7.1

Greg Hudson
On 01/27/2014 10:43 AM, [hidden email] wrote:
> The same happens on AIX 6.1 TL8 SP3 with IBM XL C/C++ 10.1.0.19
> AIX 5.3 TL12 SP8 with IBM XL C/C++ 11.1.0.16 doesn't seem to have this
> issue.

It looks like our src/config/shlib.conf recognizes AIX 4 and 5 but not 6
and 7.  The static library support in our build system is not
comprehensive enough to be used as an alternative to shared library support.

It's possible that the AIX 5 support would also work for AIX 6 and 7, if
there haven't been any significant changes to linking semantics since
AIX 5.  So you could try replacing the "*-*-aix5*)" line with
"*-*-aix[567]*)".  Let us know if it works.

(AIX is not one of our supported platforms as listed in
<http://k5wiki.kerberos.org/wiki/Supported_platforms>, but we are
willing to make some kinds of changes to make krb5 work on it; this
would obviously be one of them.)
_______________________________________________
krbdev mailing list             [hidden email]
https://mailman.mit.edu/mailman/listinfo/krbdev
Reply | Threaded
Open this post in threaded view
|

Re: MIT krb5 1.12.1 configure fails on AIX 6.1 and 7.1

yaberger
Hi Greg,

The configure completed successfully with this modification on AIX 7.1 so
I expect it to work on AIX 6.1
export PATH=$PATH:/usr/vac/bin
gzip -cd krb5-1.12.1.tar.gz |tar xf -
cd krb5-1.12.1/src
/usr/bin/perl -i -pe "s/aix5/aix[567]/" config/shlib.conf
./configure --prefix=/usr/local/krb5-1.12.1
Could you perform the modification in 1.12 (and maybe even 1.11) so that
it would be included in the next release(s)?

I'll pursue my attempt to complete successfully the build/test/install.
I understand that AIX is not on your official supported platform list but
as you stated, if it's possible to successfully build with only a few
issues to be fixed, that could be worth the effort.


Best regards,

Yannick Bergeron
Advisory IT Specialist



From:   Greg Hudson <[hidden email]>
To:     Yannick Y Bergeron/Bromont/IBM@IBMCA, [hidden email]
Date:   01/27/2014 11:02 AM
Subject:        Re: MIT krb5 1.12.1 configure fails on AIX 6.1 and 7.1



On 01/27/2014 10:43 AM, [hidden email] wrote:
> The same happens on AIX 6.1 TL8 SP3 with IBM XL C/C++ 10.1.0.19
> AIX 5.3 TL12 SP8 with IBM XL C/C++ 11.1.0.16 doesn't seem to have this
> issue.

It looks like our src/config/shlib.conf recognizes AIX 4 and 5 but not 6
and 7.  The static library support in our build system is not
comprehensive enough to be used as an alternative to shared library
support.

It's possible that the AIX 5 support would also work for AIX 6 and 7, if
there haven't been any significant changes to linking semantics since
AIX 5.  So you could try replacing the "*-*-aix5*)" line with
"*-*-aix[567]*)".  Let us know if it works.

(AIX is not one of our supported platforms as listed in
<http://k5wiki.kerberos.org/wiki/Supported_platforms>, but we are
willing to make some kinds of changes to make krb5 work on it; this
would obviously be one of them.)


_______________________________________________
krbdev mailing list             [hidden email]
https://mailman.mit.edu/mailman/listinfo/krbdev