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 10 June 2015 at 18:36, David Holland <dholland-pkgtech%netbsd.org@localhost> wrote:
> 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?

Interestingly in both cases (mit-krb5 installed from pkgsrc, and
heimdal from base), work/.buildlink/include is empty

> (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)

I'm not sure there *is* a configure script as such - its just a perl
Makefile.pl :/


Home | Main Index | Thread Index | Old Index