[OpenAFS] Building OpenAFS on MacOSX
Mike Bydalek
mbydalek@contentconnections.com
Tue, 29 Nov 2005 15:42:49 -0700
Frank Burkhardt wrote:
> Hi,
>
> On Tue, Nov 29, 2005 at 02:41:20PM -0700, Mike Bydalek wrote:
>
>>> PS: What about this --with-krb5-conf ? There's no /usr/bin/krb5-config on
>>> my MacOS (10.3).
>>>
>>>
>> You need to set KRB5LIBS and KRB5CFLAGS when doing a ./configure.
>> Here's what I used for 10.3:
>>
>> KRB5LIBS=-L/usr/lib -Wl,-search_paths_first -lkrb5 -lk5crypto -lcom_err
>> -lresolv
>> KRB5CFLAGS=-I/usr/include
>>
>
> Hmm... './configure --with-afs-sysname=ppc_darwin_70' worked for me -
> configure didn't complain about missing krb5-options. The resulting package
> behaves like the original one from openafs.org. I'm using a
> 'aklog-kerberos-plugin' to get a token using a krb5-TGT. Is there any
> improvement that can be achived by using krb5-options for compiling the
> openafs package?
>
I suppose I should have said "./configure --with-krb5 on OS X 10.3, you
need those flags". The reason for this is that 10.3 doesn't have the
krb5-config script (which ./configure looks for by default).
The advantages to having krb5 is that you can use Kerberos to get tokens
as opposed to the kaserver (I believe, since I've only used Kerberos).
-Mike