Compiling krb5-1.6 for Windows

Danny Mayer mayer at ntp.isc.org
Mon Jan 29 21:22:20 EST 2007


Peger, Daniel Heinrich wrote:
> Hi,
> 
> following the instructions in the README I tried to create the Kerberos
> sources for compilation on a Windows platform. That is I did
> 
> 	path_to_krb5/krb5-1.6/src> ./configure && make -f Makefile.in
> kerbsrc.zip
> 
> make does some awk stuff but then exits with this error message:
> 
> make: *** No rule to make target `include/krb5\krb5.hin', needed by
> `include/krb5\krb5.h'.  Stop.
> 
> I also tried to do this:
> 
> 	path_to_krb5/krb5-1.6/src> ./configure && cd windows && make -f
> Makefile.in kerbsrc.zip
> 
> But than make complains about a malformed makefile:
> 
> Makefile.in:18: *** missing separator.  Stop.
> 
> Compiling on Windows itself (the README calls this "All-Windows Build
> Method") doesn't work either since I'm not able to find the "awk"
> command for windows wich - in contrast to the README telling only gawk
> is needed - seems to be essential for the building procedure.
> 
> I would appreciate any comments...
> 

I just responded to someone else about the same subject. Here is my
response to that note:

Yes the build environment for KfW is pretty badly broken at least the
3.0 environment which is what I ended up building (using VS 2005). Many
of the build files needed fixing, files were missing from the lists and
I needed to pull the krb-1.x code into a Unix environment, fix the
errors, create the zip file, move to windows, try and build, fix some
more, etc.. It was painful but I needed the source code in debug in
order to do what I needed. I'll probably need to do it again for KfW
3.1. There were also some obvious errors in the code as well that I
needed to fix.

I'd put in the fixes into the code base but I'd need to set up
subversion first and with all the different code management systems I
don't want to spend the time right now.

I wrote extensive notes on this just to get things to build.

Danny
> Best regards, Daniel.
>  
> E-Mail Disclaimer 

This is nonsense. This is a public mailing list and all your emails are
automatically archived.



More information about the Kerberos mailing list