[414] in Kerberos-V5-bugs

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

Can't compile krb5 Beta 3.

daemon@ATHENA.MIT.EDU (jsb@gumby.dsd.TRW.COM)
Thu Jan 27 23:06:19 1994

To: krb5-bugs@MIT.EDU
Cc: jsb@pokey.sp.trw.com
Date: Thu, 27 Jan 94 20:06:02 -0800
From: jsb@gumby.dsd.TRW.COM


Now that Beta 3 has been released, I hoped I could finally get
it to compile.  No luck (is this supposed to compile as is?).

First, I tried to compile it without KRB4 compatability (I figured
this would be the easiest).  "make world" dies when it gets to
	lib/krb5/krb/compat_recv.c

Seems like this is would only be used with KRB4 compatability?
caompat_rev.c does an include for both:
	<krb5/krb.h>
    and	<krb.h>
Of course, it can't file <krb.h> (which is in the $(Krb4Includes) directory).

------------------------
I then tried defining (in site.def)
   #define Krb4KDCCompat /* turn this on if you want the KDC to provide v4
                            tickets from a v5 database */

Looking at the Makefiles I then generated, *NOTHING* seemed to have 
changed.
I didn't bother defining "Krb4ApplCompat", since it didn't sound
necessary.   Greping through the stuff in config/, I can't find
a single reference to "Krb4KDCCompat"!   Does turning
this on do anything?  Looks like "Krb4ApplCompat" (which I didn't define)
is the one that does all the magic.

------------------------
Finally, I went for the full KRB4 compatable install (using the same
options as in site.def.mit).  I still get the same error for
	lib/krb5/krb/compat_recv.c

I'm not real good at Imakefiles. I don't see what I would change to
have -I$(Krb4Includes) added to the CFLAGS for compat_recv.c.
Off the top of my head, it doesn't look like I should be attempting
to compile this without the KRB4 compatabilty defined anyway.

------------------------
On another note:
If I don't want to install everything in /krb5 (I want it to go
into /usr/local/kerberos-5), it looks like I can add the line:

	#define Krb5Root        /usr/local/kerberos-5

to my site.def.  Is this not a very common option (I had to dig
around to find the magic word "Krb5Root". Is there a reason
this option is noted in the sample site.def file?)

-- 
	John Bien 				(310) 814-8546
	TRW Space and Electronics Group, Communications services
	j.bien@gumby.sp.TRW.COM			(Internet)

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