[krbdev.mit.edu #2240] krb5-config --cflags gssapi when usedby OpenSSH-snap-20040212

Douglas E. Engert deengert at anl.gov
Fri Feb 13 14:29:13 EST 2004



> Jeffrey Altman wrote:
> 
> DEEngert at anl.gov via RT wrote:
> 
> > krb5-1.3.2-beta3:
> > krb5-config --cflag gssapi
> > returns -I${includedir} which in my case is -I/krb5/include
> >
> > But the gssapi.h is in /krb5/include/gssapi
> > Most gssapi programs use #include <gssapi.h>
> > So the gssapi.h is not found.
> >
> I truly believe it should be filed as a bug against those applications.

I would still say if MIT wants people to use the krb5-config 
then the gssapi.h should be accessable from the list of include 
directories returned by the krb5-config --cflag gssapi 

It is not clear where a generic application should find the gssapi.h.
RFC-2744 does not say where the gssapi.h should be, just: 
   "C-language GSS-API implementations should include a copy of the
   following header-file."

Looking at the Heimdal source, Is looks like they install gssapi.h
in the include directory, not a subdirectory of it. 

On Solaris, there is a /usr/include/gssapi/gssapi.h 

On one of our HPs, there is a link 
/usr/include/gssapi.h -> /usr/include/gssapi/gssapi.h





> 
>              ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
> _______________________________________________
> krb5-bugs mailing list
> krb5-bugs at mit.edu
> https://mailman.mit.edu/mailman/listinfo/krb5-bugs

-- 

 Douglas E. Engert  <DEEngert at anl.gov>
 Argonne National Laboratory
 9700 South Cass Avenue
 Argonne, Illinois  60439 
 (630) 252-5444


More information about the krb5-bugs mailing list