[953] in Kerberos
Porting Kerberos to an SYSV Platform
daemon@ATHENA.MIT.EDU (Peter_Van_Epp@cc.sfu.ca)
Fri May 18 20:46:21 1990
Date: Fri, 18 May 90 16:56:00 PDT
From: Peter_Van_Epp@cc.sfu.ca
To: kerberos@ATHENA.MIT.EDU
I probably can't give a full answer to 1) (I don't know enough!) but the
definition of sun, tahoe etc is done by you to indicate your host (I used
ibmrtaix as I recall). I would advise makeing a new machine define (in
util/imake.includes/config.Imakefile) for your specific machine and add
a -DSYSV at the same time (some but not all routines know about SYSV).
Given that, here is some possible help on 2): I added -DSYSV to imake/ccflags.c
to select SYSV header files, and needed to add my system define to the
line
#ifdef sun | ifdef hpux
#define REDUCE_TO_ASCII_SPACE
in util/imake/imake.c, before I did this imake died trying to create the
makefiles because the preprocessor was doing funny things to the blanks.
It sounds like this may be what is happening to you. I find it very useful
(as I have said before -) ) to have the Kerberos source up on a SUN platform
(a SPARC station in my case) to be able to look at what the code should do
since it builds ok there (thats how I found out about the above change!).
Good luck (although the code is so well written that I suspect you aren't
going to have much problem, I am a Unix beginner and am using the port of
Kerberos to an IBM RT to learn UNIX at the same time as Kerberos and I haven't
been stopped yet (but I'm not finished yet either -) -) ))! If you've got
more questions feel free to ask me (via E-mail if this isn't of general
interest to the list members! Comments keeper_of_the_list, what would you
prefer?)