[OpenAFS] env vars being ignored - 1.4.2 building aklog

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


Jim Rees wrote:
> 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... ?
> 
> You want KRB5CFLAGS and KRB5LIBS.  These are options to configure, not to
> make.  If this isn't documented somewhere it should be.

Thanks Jim -

If I'm not misunderstanding the current configure output, these
are set by configure these days (when one runs configure properly).

config.log:configure:19785: result: Adding -I/export/k5/include to 
KRB5CFLAGS

[ I assume you saw (or will see) my response to J.A. ]

> To build aklog you need configure --with-krb5.  This is not currently the
> default but I'm sure it will be soon.  Note that if you are using heimdal
> you don't need aklog, use heimdal's afslog instead.  Again, if this isn't
> documented, it should be.
> 
> You shouldn't need gmake.  I don't know about the compiler issue but I'm
> sure it's been discussed on the -devel mailing list.