compiling free radius 1.1.7 on NetBSD

Alan DeKok aland at deployingradius.com
Tue Aug 28 11:51:36 CEST 2007


Ray Phillips wrote:
> Yes, it is there.  I suppose I'm obstinate, but I'd like the original
> sources to be compilable without having to patch them.

  I've fixed it in CVS head.  For 1.1.8 (if it's released), we'll see.

> If you understand them.  :)  It looks to me as though none of the
> patches in /usr/pkgsrc/net/freeradius/patches apply to files in
> ./src/modules/rlm_krb5.

  Ask the pkgsrc package maintainer for patches, OR create them yourself.

> change the RLM_FLAGS line to
> 
> RLM_CFLAGS =     -I/usr/include/et -I/usr/include/krb5
> 
> (what's normally in /usr/include/et by the way?  I've not heard of that
> directory.)

  It's where the Kerberos headers live on many other systems.
...
> rlm_krb5.c: In function 'verify_krb5_tgt':
> rlm_krb5.c:96: warning: implicit declaration of function
> 'krb5_princ_component'
> rlm_krb5.c:96: error: 'c' undeclared (first use in this function)

  <shrug>  I no longer user NetBSD on a daily basis, and I no longer use
Kerberos.

> Can you see what should be done about this?

  Someone using Kerberos on NetBSD should track down the problem and
submit a patch.

  Alan DeKok.



More information about the Freeradius-Users mailing list