tech-pkg archive

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

Re: security/p5-GSSAPI fails to build if kit-krb5 installed



On Wed, Jun 10, 2015 at 04:18:37PM +0100, David Brownlee wrote:
 > I have a package which is trying to pull in security/p5-GSSAPI as a
 > dependency, but its failing to build because mit-krb5 is installed.
 > This is on NetBSD-7_BETA amd64.
 > 
 > It fails trying to include gssapi/gssapi_generic.h, which is in the
 > mit-krb5 package, but not in the base gssapi includes.
 > GSSAPI.xs:34:35: fatal error: gssapi/gssapi_generic.h: No such file or directory
 >  #include <gssapi/gssapi_generic.h>
 > 
 > Interestingly "make show-var VARNAME=KRB5_TYPE" reports heimdal, so it
 > looks like an interaction between the os builtin heimdal and mit-krb5
 > package confusing the package configure...

I suspect if you don't set KRB5_TYPE according to what you have
installed things will not work too well. What kerberos headers are
buildlinked? I bet it's the ones from base. If you fix that, does it
work?

(if you don't want it to use mit-krb5 even though it's installed,
that's a different problem and you need to figure out what the
configure script is finding from mit-krb5 and stop it)

-- 
David A. Holland
dholland%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index