Skip Menu |

Download (untitled) / with headers
text/plain 3.2KiB
From Tue Mar 13 00:25:42 2001
by (8.9.3/8.9.3) with ESMTP id AAA20898
for <>; Tue, 13 Mar 2001 00:25:38 -0500 (EST)
Received: from ( [])
by (8.9.2/8.9.2) with ESMTP id AAA00027
for <>; Tue, 13 Mar 2001 00:25:39 -0500 (EST)
Received: from [] ( [])
by (8.8.7/8.8.7) with ESMTP id XAA09674;
Mon, 12 Mar 2001 23:25:34 -0600 (CST)
Message-Id: <p04320400b6d35eb6c1b8@[]>
Date: Mon, 12 Mar 2001 23:25:27 -0600
From: David Schooley <>
Subject: Compiling Kerberos5 on MacOS X

Show quoted text
>Number: 928
>Category: krb5-build
>Synopsis: MACH check keeps Kerberos from compiling on OS X
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: krb5-unassigned
>State: open
>Class: sw-bug
>Submitter-Id: unknown
>Arrival-Date: Tue Mar 13 00:26:00 EST 2001
>Last-Modified: Fri Sep 14 13:47:52 EDT 2001
>Originator: David Schooley <>
Show quoted text
>Release: krb5-1.2.2
<machine, os, target, libraries (multiple lines)>
System: Darwin fahrrad.localnet 1.2 Darwin Kernel Version 1.2: Wed
Aug 30 23:32:53 PDT 200
0; root:xnu/xnu-103.obj~1/RELEASE_PPC Power Macintosh powerpc

Show quoted text
Various parts of the source check to see if __MACH__ is defined. If
so, then the assumption is that only the client programs are needed.
Code enabled by the checks also makes Macintosh/OS X specific function
calls and tries to pull in Macintosh specific source. All of this
is great unless you are attempting to compile Kerberos from the
command line on the BSD side of OS X (Darwin). In this case, the
__MACH__ checks cause the build to fail. Globally changing __MACH__
to __MAxCH__ allows Kerberos to compile and run cleanly under Darwin.

Show quoted text
Attempt to compile krb5 from the command line in OS X or Darwin.

Show quoted text
I'm not sure the best way to go about fixing this if checking for
__MACH__ is still necessary. It might be possible to do something
with configure.
David C. Schooley, Ph.D.
Transmission Operations/Technical Operations Support
Commonwealth Edison Company
work phone: 630-691-4466/(472)-4466
work email:
home email:
Show quoted text

Responsible-Changed-From-To: gnats-admin->krb5-unassigned
Responsible-Changed-By: raeburn
Responsible-Changed-When: Mon Mar 26 22:11:48 2001


From: Ken Raeburn <raeburn@MIT.EDU>
Cc: krb5-bugs@MIT.EDU,
Subject: Re: krb5-build/928: MACH check keeps Kerberos from compiling on OS X
Date: Mon, 26 Mar 2001 22:17:00 -0500

Yes, the compilation of krb5 under Darwin in that mode has not been
the priority for our Mac developers at this time. When there's less
time pressure, I expect this'll be cleaned up a bit, but I can't say
for sure where it's going at this time.

Show quoted text