[2982] in Kerberos

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

Re: Missing header file...? (kerberosVb3)

daemon@ATHENA.MIT.EDU (grossa@SDSC.EDU)
Thu Jan 20 01:05:37 1994

Date: Wed, 19 Jan 94 21:48:45 PST
From: grossa@SDSC.EDU
To: tytso@MIT.EDU
Cc: cmetz@thor.tjhsst.edu, kerberos@MIT.EDU

>    Date: Wed, 19 Jan 1994 16:55:51 EST
>    From: Craig Metz <cmetz@thor.tjhsst.edu>
> 
> 	   In lib/krb5/krb/compat_recv.c, a file named "krb.h" is included. 
>    I looked throughout the distribution and could not find it. Can anyone
>    suggest either where I might find it (ie it's missing) or how it's generated
>    (since I've had plenty-o-problems so far, it wouldn't surprise me if it
>    just didn't get built).
> 
> Whoops; it should be #include <kerberosIV/krb.h> instead.  Sorry about
> that...
> 						- Ted

Hello,

   This doesn't fix all of the problem as kerberosIV/krb.h includes
kerberosIV/des.h and kerberosIV/mit-copyright.h .  I went into
include/ and made softlinks:

        ln -s kerberosIV/des.h des.h
        ln -s kerberosIV/krb.h krb.h
        ln -s kerberosIV/mit-copyright.h mit-copyright.h

I didn't try to fix the Imakefile because I didn't see an easy way to
add the correct include directory to CFLAGS .


   Also, the "concat"'s in config/Project.tmpl need to be capitalized
or make install will fail to make the include/* directories, i.e.

diff -r -c src/config/Project.tmpl src-ref/config/Project.tmpl
*** src/config/Project.tmpl     Wed Jan 19 21:32:02 1994
--- src-ref/config/Project.tmpl Mon Jan 17 16:41:41 1994
***************
*** 633,639 ****
        FILE_MANDIR = FileMandir
        KRB5_LIBDIR = Krb5Libdir
        KRB5_INCDIR = Krb5Incdir
!   KRB5_INCSUBDIRS = Concat(Krb5Incdir,/krb5) \
!                     Concat(Krb5Incdir,/krb5/asn.1) \
!                     Concat(Krb5Incdir,/kerberosIV)
   KRB5_OTHERMKDIRS = Krb5Othermkdirs
--- 633,639 ----
        FILE_MANDIR = FileMandir
        KRB5_LIBDIR = Krb5Libdir
        KRB5_INCDIR = Krb5Incdir
!   KRB5_INCSUBDIRS = concat(Krb5Incdir,/krb5) \
!                     concat(Krb5Incdir,/krb5/asn.1) \
!                     concat(Krb5Incdir,/kerberosIV)
   KRB5_OTHERMKDIRS = Krb5Othermkdirs


Andrew Gross
--
Andrew Gross (grossa@sdsc.edu)                          Voice: +1 619 534-5086
San Diego Supercomputer Center                            FAX: +1 619 534-5152
P. O. Box 85608                                 Quis custodiet ipsos custodes.
San Diego CA 92186-9784                         --Juvenal, _Satires_, VI, 347 

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