[OpenAFS] Failure to build OpenAFS 1.6.1a

Michael D. Norwick mnorwick@centurytel.net
Sun, 07 Oct 2012 17:59:12 -0500


Good Day;
I am trying to compile OpenAFS 1.6.1a from a tarball downloaded from
openafs.org last Thursday.  I am using Slackware 13.37,

Linux rainey 2.6.37.6 #3 SMP Sat Apr 9 22:49:32 CDT 2011 x86_64 AMD
Phenom(tm) II X4 965 Processor AuthenticAMD GNU/Linux

and G.C.C.,

root@rainey:/usr/src# gcc -v
Reading specs from /usr/lib64/gcc/x86_64-slackware-linux/4.5.2/specs
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-slackware-linux/4.5.2/lto-wrapper
Target: x86_64-slackware-linux
Configured with: ../gcc-4.5.2/configure --prefix=/usr
--libdir=/usr/lib64 --mandir=/usr/man --infodir=/usr/info
--enable-shared --enable-bootstrap
--enable-languages=ada,c,c++,fortran,java,objc,lto
--enable-threads=posix --enable-checking=release --with-system-zlib
--with-python-dir=/lib64/python2.6/site-packages
--disable-libunwind-exceptions --enable-__cxa_atexit --enable-libssp
--enable-lto --with-gnu-ld --verbose --disable-multilib
--target=x86_64-slackware-linux --build=x86_64-slackware-linux
--host=x86_64-slackware-linux
Thread model: posix
gcc version 4.5.2 (GCC)

I installed Kerberos 1.7.1 from a SlackBuild and it built and configured
without error.  The text of the error message follows;

afscp_util.c: In function '_GetSecurityObject':
afscp_util.c:160:5: error: 'krb5_creds' has no member named 'keyblock'
afscp_util.c:199:21: error: 'krb5_creds' has no member named 'keyblock'
make[3]: *** [afscp_util.o] Error 1
make[3]: Leaving directory `/usr/src/openafs-1.6.1a/src/libafscp'
make[2]: *** [libafscp] Error 2
make[2]: Leaving directory `/usr/src/openafs-1.6.1a'
make[1]: *** [build] Error 2
make[1]: Leaving directory `/usr/src/openafs-1.6.1a'
make: *** [all] Error 2

Am I lacking a patch for OpenAFS or Kerberos or something?  I did
./configure --with-krb5=/usr/kerberos
--with-krb5-include=/usr/kerberos/include --with-krb5-lib=/usr/kerberos/lib.

Thank You,
Michael