Making krb5 for Windows

Clifford Mc Cullough cmccullo at uccs.edu
Mon Aug 6 11:19:26 EDT 2012


Thanks for the quick response.  Any timeframe on when the zip file might be fixed?  I was hoping to use Kerberos in my thesis.

________________________________________
From: Greg Hudson [ghudson at mit.edu]
Sent: Sunday, August 05, 2012 7:52 PM
To: Clifford Mc Cullough
Cc: kerberos at mit.edu
Subject: Re: Making krb5 for Windows

On 08/05/2012 04:08 PM, Clifford Mc Cullough wrote:
> I followed the instructions for building MIT Kerberos krb5 for Windows located at krb5-1.10.2/src/windows/README.  I followed the Traditional Build Method, built the zip file and transferred it to my PC.  My PC is Windows 7 with Visual Studio 2010 Professional.
>
> When I got to instruction 4, I used nmake KRB5_DNS_LOOKUP.  I received the error
> NMAKE : fatal error U1073: don't know how to make 'KRB5_DNS_LOOKUP'

That's a usage/documentation error, in that the documentation is trying
to describe how to do something difficult without using a lot of words.

To define KRB5_DNS_LOOKUP, I think you'd have to do something like
"nmake CPPFLAGS=-DKRB5_DNS_LOOKUP".  But as mentioned in the
documentation, that wouldn't work because the code assumes a
libresolv-compatible resolver library.

> Next I tried nmake -f Makefile.  The make ran as far as
> NMAKE: fatal error U1073:  don't know how to make 'clients\kswitch\Makefile.in'
[...]

The rest of what you saw are bugs.  The current Windows developers are
building from a source checkout rather than a zip file, so the
kerbsrc.zip target has fallen out of date and we haven't had an internal
need to fix it.  Thanks for mentioning the issue.


More information about the Kerberos mailing list