[OpenAFS-devel] openafs-1.4.1 build failure on RHEL3 -- aklog fails to build

Derek Atkins warlord@MIT.EDU
Wed, 19 Apr 2006 13:34:03 -0400


Quoting Ken Hornstein <kenh@cmf.nrl.navy.mil>:

>> I suspect if we ask the user base they would prefer #2.  I don't think
>> it would be TOO hard to write a test that adds "-lkrb524" to LIBS and
>> checks again for appropriate symbol....
>
> Dumb question time.  Can you _not_ solve this by simply doing:
>
> configure [...] --with-krb5 KRB5LIBS="-L/usr/kerberos/lib -lkrb5 
> -lk5crypto -lcom_err -lkrb524"
>
> ... and possibly a few other options, but you get the idea.

That would imply a special hook in the SPEC file for RHEL3.  Right now
I have a single SPEC file that builds on all the supported RHEL and FC
systems.

> That would mean that you don't use krb5-config on RHEL3, but I don't think
> that's terrible (especially since RHEL3 ships with a version of Kerberos
> that OpenAFS explicitly decided not to support).

I see nothing wrong with using krb5-config.   That's not the problem, and
in fact using krb-config solves other problems.  I just need to detect
whether to also add -lkrb524 to the list of libraries returned from
krb5-config.

-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