[2597] in Kerberos-V5-bugs

home help back first fref pref prev next nref lref last post

pending/312: krb5-1.0 compile problem on Solaris 2.5 and using BIND-4.9.*

daemon@ATHENA.MIT.EDU (Randall S. Winchester)
Fri Dec 20 01:07:08 1996

Resent-From: gnats@rt-11.MIT.EDU (GNATS Management)
Resent-To: gnats-admin@rt-11.MIT.EDU
Resent-Reply-To: krb5-bugs@MIT.EDU, "Randall S. Winchester" <rsw@Glue.umd.edu>
Date: Fri, 20 Dec 1996 01:06:41 -0500 (EST)
From: "Randall S. Winchester" <rsw@Glue.umd.edu>
To: krb5-bugs@MIT.EDU


>Number:         312
>Category:       pending
>Synopsis:       krb5-1.0 compile problem on Solaris 2.5 and using BIND-4.9.*
>Confidential:   yes
>Severity:       serious
>Priority:       medium
>Responsible:    gnats-admin
>State:          open
>Class:          sw-bug
>Submitter-Id:   unknown
>Arrival-Date:   Fri Dec 20 01:07:00 EST 1996
>Last-Modified:
>Originator:
>Organization:
>Release:
>Environment:
>Description:
>How-To-Repeat:
>Fix:
>Audit-Trail:
>Unformatted:
MAXHOSTNAMELEN is not defined when you build with BIND-4.9.5-P1 and such.

This is because solaris went and put MAXHOSTNAMELEN in on of the BIND
include files where it really does not belong.

Some global include file should have something like:

#ifndef MAXHOSTNAMELEN
#define MAXHOSTNAMELEN 256
#endif

As a workaround I can just:
configure --with-ccopts="-DMAXHOSTNAMELEN=256 -I/usr/local/bind/include"

but it is not all that elegant.


Randall


home help back first fref pref prev next nref lref last post