[2792] in Kerberos
Re: How much ISODE do I need
daemon@ATHENA.MIT.EDU (gross andrew)
Sat Aug 28 21:20:37 1993
Date: Sat, 28 Aug 93 18:01:35 PDT
From: gross andrew <grossa@SDSC.EDU>
To: Jim_Miller@suite.com, kerberos@MIT.EDU
> I'm trying to build Kerberos V on a NeXT machine and was wondering how much of
> the isode-7.0 kit do I need to port/build in order to get the pepsy stuff that
> Kerberos V requires. I'd prefer not have to build the entire ISO development
> environment, just to get the pepsy stuff.
>
> Has anyone broken out the pepsy stuff from the rest of ISODE and packaged it
> separately? How difficult would it be to do this?
Hello,
I have V5 built and am debugging it on a NS turbo running NS 3.0. I used
ISODE-8.0 instead of 7.0 . I found that all that is needed for Kerberos can
be built by editing the top level makefile as follows:
1) comment out the OTHERS variable definition (about line 35)
2) delete the "imisc" entry from the DIRS variable definition (one line up)
3) comment out all of the lines under the "everything" target
This builds in about 28 minutes on a quiescent NS turbo. You get
xpepsy and libisode.a which is all Kerberos seems to use.
Other hints are:
1) use the bsd43 configuration files
2) apply the attached patch to h/internet.h to avoid the n_name collision
3) make a copy of h/acpkt.h to h/acpkt.def.h and #define ACSE in
the copy, then modify psap/ode2oid.c to #include the copy instead
of the original.
The first three points shorten the build. The second three are a
suggestion and two bugs that I have run into. I don't know why the
third modification is necessary but ACSE is clearly not defined when
psap/ode2oid.c includes h/acpkt.h .
I don't have all my V5 patches codified yet, but if you are interested
I can send you patches to make everything compile first try. I don't
have my bug fixes in patch form yet unfortunately.
Andrew Gross
========================================================================
*** internet.h.orig Sun Aug 22 21:52:16 1993
--- internet.h Sun Aug 22 21:52:26 1993
***************
*** 131,139 ****
--- 131,145 ----
#if defined(_AIX) && defined(n_name) /* different def in nlist.h clashes with netdb.h */
#undef n_name
#endif
+ #if defined(NeXT) && defined(n_name) /* different def in nlist.h clashes with netdb.h */
+ #undef n_name
+ #endif
#include <netdb.h>
#if defined(_AIX) && defined(SYS5)
#define n_name _n._n_name
+ #endif
+ #if defined(NeXT)
+ #define n_name n_un.n_name
#endif
#endif