[3183] in Kerberos-V5-bugs

home help back first fref pref prev next nref lref last post

pending/928: Compiling Kerberos5 on MacOS X

daemon@ATHENA.MIT.EDU (David Schooley)
Tue Mar 13 00:28:02 2001

Resent-From: gnats@rt-11.mit.edu (GNATS Management)
Resent-To: gnats-admin@rt-11.mit.edu
Resent-Reply-To: krb5-bugs@MIT.EDU, David Schooley <dcschooley@ieee.org>
Message-Id: <p04320400b6d35eb6c1b8@[192.168.1.100]>
Date: Mon, 12 Mar 2001 23:25:27 -0600
From: David Schooley <dcschooley@ieee.org>
To: krb5-bugs@mit.edu
Cc: dcschooley@ieee.org


>Number:         928
>Category:       pending
>Synopsis:       MACH check keeps Kerberos from compiling on OS X
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    gnats-admin
>State:          open
>Class:          sw-bug
>Submitter-Id:   unknown
>Arrival-Date:   Tue Mar 13 00:26:00 EST 2001
>Last-Modified:
>Originator:     
>Organization:
None
>Release:        krb5-1.2.2
>Environment:
         <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


>Description:
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.

>How-To-Repeat:
Attempt to compile krb5 from the command line in OS X or Darwin.

>Fix:
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: mailto:david.c.schooley@ucm.com
   home email: mailto:dcschooley@ieee.org
>Audit-Trail:
>Unformatted:

home help back first fref pref prev next nref lref last post