[7949] in Kerberos

home help back first fref pref prev next nref lref last post

Re: cannot make -- gssapi/gssapi.h ??

daemon@ATHENA.MIT.EDU (Tom I Helbekkmo)
Fri Sep 13 17:36:38 1996

To: kerberos@MIT.EDU
Date: Fri, 13 Sep 1996 18:33:26 GMT
From: Tom I Helbekkmo <tih@hamartun.priv.no>

[Richard Wackerbarth]

|  I don't see where gssapi/gssapi.h is generated  (Unix system -
|  i386-unknown-freebsd2.1.5)
|  
|  Any ideas?
|  
|  
|  ./configure
|  make
|  ....
|  
|  making all in lib/gssapi/generic...
|  cc  -DHAVE_STDLIB_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADE\
|  RS=1 -DSIZEOF_SHORT=2 -DSIZEOF_INT=4 -DSIZEOF_LONG=4 -DKRB5_KRB4_COMPAT -\
|  I./../../../include -I../../../include -I./../../../include/krb5 -I../../\
|  ../include/krb5 -I. -I. -DUSE_AUTOCONF_H -c ./disp_com_err_status.c
|  In file included from ./gssapiP_generic.h:38,
|                   from ./disp_com_err_status.c:27:
|  ./gssapi_generic.h:33: gssapi/gssapi.h: No such file or directory
|  *** Error code 1

It's a case of stuff getting done in the wrong order.  The quick
workaround at build time is (if you build in a separate directory)

# cd lib/gssapi/generic
# ln -s ../../../../src/lib/gssapi/generic gssapi
# make
# rm gssapi

...and then go back to the build root and do another 'make' to
complete the build.  If you build in the source tree, adjust as
necessary.  The 'make' in the lib/gssapi/generic directory installs
the gssapi header files in "../../../include/gssapi", so that the
#include directive will have been going to have been working (if I
understand Dr. Dan Streetmentioner correctly).

-tih
-- 
Popularity is the hallmark of mediocrity.  --Niles Crane, "Frasier"

home help back first fref pref prev next nref lref last post