>Date: Wed, 15 Aug 2001 11:52:17 +0000 (GMT)
>From: Rich King <[EMAIL PROTECTED]>
>X-X-Sender: <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: building on BSD
>
>Having some problems compiling the source on an OpenBSD system.
>Has anyone had any luck with this?
Yes. I've a test K5 database running on an OpenBSD2.9 (i386)
machine. I had to make a very slight change to src/kdc/network.c;
the diffs are appended below. I then configured it with a command
line of the form:
./configure --with-cc=cc --with-ccopts=-O2 --prefix=/kerberosV \
--enable-dns-for-realm --with-krb4 \
--disable-tcl --enable-shared
and it compiled with just warning messages.
I haven't done much with this server, other than test basic issueing
of tickets etc.
*** network.c.orig Wed Feb 28 22:07:28 2001
--- network.c Thu May 17 09:40:39 2001
***************
*** 51,57 ****
--- 51,59 ----
#endif
#include <arpa/inet.h>
+ #ifndef OpenBSD
#include <net/if.h>
+ #endif /* OpenBSD */
extern int errno;