[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

kpam heimdal afs support



Hello list,

sorry for I know, that this probably isn't the right list to post
this on, but there doesn't seem to exist a better one.

I am experiencing difficulties while trying to compile kpam.

I am using heimdal-0.4e and kpam CVS.

./configure --enable-afs --with-krb5=/usr/heimdal

Prints after other things:

checking for krb5_afslog in -lkafs... no
ERROR--------------------------------------
you used --enable-afs,
but heimdal is built without afs support
ERROR--------------------------------------

In config.log I see:

configure:2616: checking for krb5_afslog in -lkafs
configure:2643: gcc -o conftest -O -fPIC -Wall -DPIC
-I/usr/heimdal/include  conftest.c -lkafs   -L/usr/heimdal/lib -lkrb5
-l//usr/src/heimdal-0.4e/lib/kafs/common.c:75: undefined reference to
`krb_life_to_time'
collect2: ld returned 1 exit status
configure:2646: $? = 1
configure: failed program was:
#line 2624 "configure"
#include "confdefs.h"

/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char krb5_afslog ();
int
main ()
{
krb5_afslog ();
  ;
  return 0;
}
configure:2663: result: no

I installed heimdal with afs support (by installing krb4-1.1) and
it works. (I can kinit user; afslog). Can someone enlighten me?

Thanks,
Ralf