[krbdev.mit.edu #2909] krb5-1.4 fails to build on alpha-dux40

Quanah Gibson-Mount via RT rt-comment at krbdev.mit.edu
Wed Feb 2 15:23:19 EST 2005


When building krb5-1.4 on our DEC alpha box:

checking build system type... alpha-dec-osf4.0f

I found that MIT Krb5 1.4 fails to build because it incorrectly defines 
HAVE_GETHOSTNAME_R and HAVE_GETSERVBYNAME.  In previous MIT Kerberos 
releases, this did not happen.

Example diff between krb5/autoconf.h from krb5-1.3.6 and krb5-1.4:

 /* Define if gethostbyname_r exists and its return type is known */
-/* #undef HAVE_GETHOSTBYNAME_R */
+#define HAVE_GETHOSTBYNAME_R 1
+


 /* Define if getservbyname_r exists and its return type is known */
-/* #undef HAVE_GETSERVBYNAME_R */
+#define HAVE_GETSERVBYNAME_R 1
+


If I change the above to "#undef <variable>" the build will then continue 
properly.

--Quanah

--
Quanah Gibson-Mount
Principal Software Developer
ITSS/Shared Services
Stanford University
GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html

"These censorship operations against schools and libraries are stronger
than ever in the present religio-political climate. They often focus on
fantasy and sf books, which foster that deadly enemy to bigotry and blind
faith, the imagination." -- Ursula K. Le Guin




More information about the krb5-bugs mailing list