Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
Martin.vGagern@… originally submitted this as ticket:404
PyKerberos won't compile against Heimdal 1.3.3 on my Gentoo Linux system.
Some of these, like the missing
I'll attach a patch addressing the errors, but I assume it will break compatibility with MIT Kerberos. Don't know the best approach to cater for both. Maybe we should check some preprocessor macro. Or we could check the presence of certain header files in setup.py, and supply our own preprocessor macro from this information. Or we could investigate the list of libraries that krb5-config generates, as I believe e.g.
Some functions used by the code are deprecated according to the Heimdal header file:
I haven't addressed these in my patch, as they are only warnings, but perhaps you should note them for future reference. And if MIT Kerberos provides the newer functions as well, you should switch as soon as possible.
If I just try to change the includes: