[3734] in Kerberos

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

problems compiling k5b2p2 on Solaris 2.3

daemon@ATHENA.MIT.EDU (Bob Drzyzgula)
Thu Aug 18 09:20:08 1994

To: kerberos@MIT.EDU
Date: Thu, 18 Aug 1994 12:41:55 GMT
From: milnor@netcom.com (Bob Drzyzgula)


I've been hacking around for a couple of days trying to get this
to work, without complete success. Here's some of the things
I've tried:

  * Using a native SVR4 environment, with Sun cc, gcc (2.5.8),
    and /usr/ucb/cc

  * Using a bsd environment (with /usr/ucb at the front of my
    path, and /usr/ucblib at the front of my LD_LIBRARY_PATH)
    and /usr/ucb/cc.

Depending on which way I do it, I get more or less far through
the compile. The one time I made it most of the way, I was able
to create the kerberos database (with kdb5_create), but I get
the error:

  "krb5kdc: Permission denied in replay cache code while\
  expunging replay cache 'dfl:'"

when trying to start up the server.

Somehow the snapshot also seems to be broken in some fundamental
ways. In util/et and util/ss, for example, the -ll and -ly
libraries get left out of the Makefile. And in the kdc Makefile,
configure  puts $(KRB4)/lib/libdes.a (which works out to
/lib/libdes.a, since $(KRB4) is null) in the krb5kdc compile
statement, even though I configured with no Kerb 4 support. I
changed it to ../lib/libdes425.a, but I can't tell if that was
the right thing to do. I've also had to put in things like -lnsl.

The documentation, such as it is, suggests that Solaris was one
of their test builds, but for the life of me I can't figure out
the right incantations to make this work, even with all the
wonders of configure on my side. Is there anyone out there who
has done this?

Thanks,
Bob Drzyzgula
rcd@frb.gov
milnor@netcom.com
(I'm posting from my netcom account because our local usenet is
kind of constipated right now. If you see a near-duplicate of
this from frb.gov, my apologies)

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