[OpenAFS] env vars being ignored - 1.4.2 building aklog

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

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"
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 -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 >