[OpenAFS-devel] 1.4.2-beta2 still fails on RHEL3 due to missing krb524 definition
Derek Atkins
warlord@MIT.EDU
Fri, 14 Jul 2006 09:36:27 -0400
*sigh*
The 1.4.2-beta2 candidate still fails on RHEL3. The configure
tests work. It DOES find the symbol in -lkrb524... However it
is not properly setting the defines in the afsconfig.h file that
tell the build that it's found the symbol.
The makelog says:
...
checking for krb5_524_convert_creds... no
checking for krb524_convert_creds_kdc... no
checking for krb524_convert_creds_kdc in -lkrb524... yes
...
However, src/config/afsconfig.h is not getting set properly:
[root@vmware-rhel3 openafs-1.4.2-beta2]# grep 524 src/config/afsconfig.h
/* Define if you have the krb5_524_convert_creds function. */
/* #undef HAVE_KRB5_524_CONVERT_CREDS */
[root@vmware-rhel3 openafs-1.4.2-beta2]#
I'm wondering if the AC_DEFINE() is interacting poorly with the
AC_CHECK_FUNCS() when they both want to define HAVE_KRB524_CONVERT_CREDS_KDC?
I have no idea why HAVE_KRB524_CONVERT_CREDS_KDC isn't even listed
in src/config/afsconfig.h!
I do know that my previous patch that I submitted after 1.4.1
worked. Yes, it was more complicated, but it did work. I don't
know why this one isn't working -- I thought I had actually tested
it before.
The build failure I get is:
aklog_main.c:207:2: #error "You must have one of krb5_523_convert_creds or krb524_convert_creds_kdc available"
make[3]: *** [aklog_main.o] Error 1
I also get the warning about the redefinition of ENCRYPT and DECRYPT, but
I'm willing to live with that.
Any ideas? I'm wondering if it's a problem with the version of autoconf
used to generate the configure script? The script is still generated
with autoconf 2.13 -- I did my testing with 2.5x. So.. It's possible
that this is an autoconf bug? I'll test this theory and get back to you.
-derek
--
Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
Member, MIT Student Information Processing Board (SIPB)
URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH
warlord@MIT.EDU PGP key available