[OpenAFS] Re: Failure to build OpenAFS 1.6.1a

Michael D. Norwick mnorwick@centurytel.net
Mon, 08 Oct 2012 20:50:59 -0500


On 10/08/2012 02:32 PM, Andrew Deason wrote:
> On Mon, 8 Oct 2012 14:42:11 -0400
> Andrew Deason <adeason@sinenomine.net> wrote:
>
>> Can you provide the config.log from the build process? (I think it's
>> in /tmp/SBo/krb5-1.7.1/src/config.log, or something like that.) Or at
>> least see what it says a few lines after:
> Er, sorry, that must have sounded really confusing. I mean the OpenAFS
> config.log, not the krb5 config.log. So,
> /usr/src/openafs-1.6.1a/config.log, or wherever you ran configure.
>
> Also, you shouldn't need to give the --with-krb5* options. I think we
> should be able to find /usr/kerberos/bin/krb5-config automatically; or
> if you want, you can force it with the KRB5_CONFIG environment variable.
>
> I did just try the configure invocation you gave on a slackware 13.37
> box, though, and couldn't get it to fail. You don't have kerberos also
> installed somewhere else or anything like that, do you?
>
Thank You for the responses.  I had installed the Heimdal slackpkg from
SlackBuild.org for Slackware 13.37, but I took it off using 'removepkg'
after the first time the OpenAFS build failed.  I then installed
krb-1.7.1 using the slackpkg while troubleshooting the OpenAFS build.  I
had some directories in /usr/lib and /var labeled heimdal but I deleted
them and tried ./configure straight up without any switches.  The build
just failed again.  I might have to bork the whole system and start from
scratch.

gcc  -O -I/usr/src/openafs-1.6.1a/src/config
-I/usr/src/openafs-1.6.1a/include -I. -I.  -I.. -DNINTERFACE
-DAFS_PTHREAD_ENV -pthread -D_REENTRANT -D_LARGEFILE64_SOURCE -DRXDEBUG
-I/usr/kerberos/include -c afscp_util.c
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

It has been a number of years since I have used OpenAFS although, I have
lurked on this list since around 2000.  Now, I wish to test OpenAFS as
an alternative to applications like M$ Sharepoint.
Thank you for the help

Michael