[OpenAFS] env vars being ignored - 1.4.2 building aklog

Jeff Blaine jblaine@kickflop.net
Wed, 03 Jan 2007 16:00:04 -0500


Indeed - error on my part.

I mistakenly assumed that the option for pointing to
krb5-config would be --with-krb5-config=PATH

It's --with-krb5-conf :|

Jeffrey Altman wrote:
> Configure OpenAFS with --with-krb5 then aklog will build.
> 
> 
> Jeff Blaine wrote:
>> CC and CPPFLAGS being ignored (I am using GNU make of course)
>> when building aklog.  Also, isn't this supposed to build by
>> default, what with kaserver's deprecation and all... ?
>>
>> Any ideas?
>>
>> LDFLAGS="-L/export/k5/lib -R/export/k5/lib"
>> CPPFLAGS="-I/export/k5/include"
>> export LDFLAGS CPPFLAGS
>> CC=gcc; export CC
>>
>> configure --opts-here... , make, make dest blah blah
>> ...
>> src > cd aklog
>> aklog > make
>> /opt/SUNWspro/bin/cc  -DALLOW_REGISTER
>> -I/export/home/src/openafs-1.4.2/src/config -I. -I.
>> -I/export/home/src/openafs-1.4.2/include
>> -I/export/home/src/openafs-1.4.2/include/afs
>> -I/export/home/src/openafs-1.4.2/include/rx
>> -I/export/home/src/openafs-1.4.2 -I/export/home/src/openafs-1.4.2/src
>> -I/export/home/src/openafs-1.4.2/src -dy -Bdynamic  -c aklog.c
>> "aklog.h", line 15: cannot find include file: <krb5.h>
>> "aklog.c", line 21: warning: implicit function declaration: exit
>> cc: acomp failed for aklog.c
>> make: *** [aklog.o] Error 2
>> aklog > grep SUNWspro *
>> aklog > ls /export/k5/include/
>> com_err.h    gssrpc/      krb5/        profile.h
>> gssapi/      kerberosIV/  krb5.h
>> aklog >
>> _______________________________________________
>> OpenAFS-info mailing list
>> OpenAFS-info@openafs.org
>> https://lists.openafs.org/mailman/listinfo/openafs-info