| Date: | Wed, 02 Feb 2005 08:36:29 -0800 |
| From: | Quanah Gibson-Mount <quanah@stanford.edu> |
| To: | krb5-bugs@mit.edu |
| Subject: | krb5-1.4 fails to build on alpha-dux40 |
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
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