[7706] in Kerberos

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

Problems compiling X11R6.1 with Kerberos 5-beta6

daemon@ATHENA.MIT.EDU (Charles Karney)
Fri Aug 2 06:50:11 1996

To: kerberos@MIT.EDU
Date: 01 Aug 1996 12:09:09 -0400
From: karney@pppl.gov (Charles Karney)
Reply-To: karney@princeton.edu

I'm trying to compile X11R6.1 with Kerberos 5-beta6.  I use in site.def:

    #define HasKrb5 YES
    #define Krb5Includes -I/usr/kerb/include
    #define Krb5Libraries -L/usr/kerb/lib -lkrb5 -lcrypto -lcom_err

However, it seems that X11R6.1 is written for another version of Kerberos.
The problems so far are:

(a) in lib/Xau/k5encode.c
    #include <krb5/krb5.h>
Fixed by ln -s . /usr/kerb/include/krb5.

(b) in programs/xdm/krb5auth.c
    #include <krb5/kdb.h>
kdb.h doesn't get installed with Kerberos 5-beta6.

(c) lib/Xau/k5encode.c uses krb5_princ_realm with one arg, but Kerberos
5-beta6 defines it with two (context, princ).  context isn't used in the
macro, so maybe I can fudge this...

Does someone have the patches for X11R6.1 to make it work with Kerberos
5-beta6.  Thanks.
-- 
   Charles Karney
   Plasma Physics Laboratory	  E-mail:  Karney@Princeton.EDU
   Princeton University		  Phone:   +1 609 243 2607
   Princeton, NJ 08543-0451	  FAX:	   +1 609 243 2662

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