[940] in Kerberos-V5-bugs
bsdi build/compile problems
daemon@ATHENA.MIT.EDU (David Blob)
Fri Nov 4 13:27:17 1994
Date: Fri, 4 Nov 1994 12:25:42 -0600
From: blob@syl.dl.nec.com (David Blob)
To: krb5-bugs@MIT.EDU
Howdy...I've come up with a list of things I noticed needed to be
fixed to get most of kerberos 5 beta 4 patchlevel 3 going...
Hope this helps...
(1) ar cruv doesn't always do the trick for adding to
libraries. Sometimes (if the object filename is
> 15 chars?) once you add that file, ar ranlib,
etc just won't work...i needed ar crTuv...
(this is in lib/krb5/gssapi, btw).
maybe a config macro to check for how filenames > 15
characters would do the trick here...? I'm no m4
expert though...maybe I'll send a new and improved
AC_PROG_ARCHIVE_ADD later.
(2) setpgrp is called with no arguments instead of 2
in lib/krb5/posix/daemon.c, probably becaus TIOCNOTTY
is not define in bsdi's include files...it could
just as well use setsid, since there is a macro
for HAS_SETSID anyhow...
adding AC_FUNC_CHECK(setsid, [DEFS="$DEFS -DHAS_SETSID"])
to the configure script should fix this.
(3) in util/ss/mk_cmds, /bin/sed should be simply sed, as it
is in /usr/bin on bsdi.
(4) in appl/bsd/krlogin.c, need to include stdlib.h or unistd.h
to get exit defined, so you can use it as an argument to
signal...
also, although bsdi claims to be posix_termios compliant,
some of the macros (TAB3, XTABS, TABDLY, ONOCR) arent
defined...
i never got these working...if I do, i'll send patches.
-- Dave Blob
blob@nec.com