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

DEEngert@anl.gov via RT rt-comment at krbdev.mit.edu
Fri Feb 13 12:22:41 EST 2004


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. 

Previous versions of OpenSSH with Simon's modifications
did not use the krb5-config but added -I /krb5/include/gssapi
With openssh-snap-20040212 it now calls krb5-config --cflag gssapi

Possible solutions:
  
    (1) krb5-config --cflag gssapi could return -I/${includedir} -I/${includedir}/gssapi

    (2) Programs could use #include <gssapi/gssapi.h>

    (3) The gssapi.h could be installed in ${includedir}

    (4) Install could do a ln -s gssapi/gssapi.h gssapi.h in the ${includedir}

I suggest (1) as the others could impact other applications or Kerberos implementations. 


-- 

 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