Hello All,
In response to Mark's email, I pasted the config.log file below.

# cat config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.61. Invocation command line was

$ ./configure --prefix=/usr/local --cache-file=/dev/null --srcdir=.

## --------- ##
## Platform. ##
## --------- ##

hostname = webd0601
uname -m = sun4u
uname -r = 5.9
uname -s = SunOS
uname -v = Generic_122300-19

/usr/bin/uname -p = sparc
/bin/uname -X = System = SunOS
Node = webd0601
Release = 5.9
KernelID = Generic_122300-19
Machine = sun4u
BusType =
Serial =
Users =
OEM# = 0
Origin# = 1
NumCPU = 1

/bin/arch = sun4
/usr/bin/arch -k = sun4u
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown

PATH: /usr/bin
PATH: /sbin
PATH: /usr/sbin
PATH: /etc
PATH: /usr/opt/SUNWmd/sbin
PATH: /usr/ccs/bin/ar
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /opt/SUNWspro/bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:2127: checking build system type
configure:2145: result: sparc-sun-solaris2.9
configure:2167: checking host system type
configure:2182: result: sparc-sun-solaris2.9
configure:2205: checking whether make sets $(MAKE)
configure:2226: result: yes
configure:2278: checking for ranlib
configure:2308: result: no
configure:2344: checking for a BSD-compatible install
configure:2400: result: ./../../install-sh -c
configure:2419: checking for ar
configure:2452: result: no
configure:2471: error:
ar program not found. Please fix your PATH to include the directory in
which ar resides, or set AR in the environment with the full path to ar.


## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=sparc-sun-solaris2.9
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_F77_set=
ac_cv_env_F77_value=
ac_cv_env_FFLAGS_set=
ac_cv_env_FFLAGS_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_host=sparc-sun-solaris2.9
ac_cv_prog_make_make_set=yes

## ----------------- ##
## Output variables. ##
## ----------------- ##

A=''
ALWAYS_DEFINES=''
AR=''
ARFLAGS='cruv'
BIND9_TOP_BUILDDIR=''
BIND9_VERSION=''
BSD_COMP=''
CC=''
CCOPT=''
CFLAGS=''
CPP=''
CPPFLAGS=''
CXX=''
CXXCPP=''
CXXFLAGS=''
DAEMON_OBJS=''
DEFS=''
DO_PTHREADS=''
ECHO='echo'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
ETAGS=''
EXEEXT=''
F77=''
FFLAGS=''
GETGROUPLIST_ARGS=''
GETNETBYADDR_ADDR_T=''
GREP=''
GROUP_R_ARGS=''
GROUP_R_BAD=''
GROUP_R_END_RESULT=''
GROUP_R_END_RETURN=''
GROUP_R_ENT_ARGS=''
GROUP_R_OK=''
GROUP_R_RETURN=''
GROUP_R_SET_RESULT=''
GROUP_R_SET_RETURN=''
HAS_INET6_STRUCTS=''
HAS_IN_ADDR6=''
HAVE_MD5=''
HAVE_MINIMUM_IFREQ=''
HAVE_SA_LEN=''
HAVE_SIN6_SCOPE_ID=''
HAVE_SOCKADDR_STORAGE=''
HAVE_STRNDUP=''
HOSTENT_DATA=''
HOST_R_ARGS=''
HOST_R_BAD=''
HOST_R_COPY=''
HOST_R_COPY_ARGS=''
HOST_R_END_RESULT=''
HOST_R_END_RETURN=''
HOST_R_ENT_ARGS=''
HOST_R_ERRNO=''
HOST_R_OK=''
HOST_R_RETURN=''
HOST_R_SETANSWER=''
HOST_R_SET_RESULT=''
HOST_R_SET_RETURN=''
INNETGR_ARGS=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
IRIX_DNSSEC_WARNINGS_HACK=''
ISC_EXTRA_OBJS=''
ISC_EXTRA_SRCS=''
ISC_IPV6_C=''
ISC_IPV6_H=''
ISC_IPV6_O=''
ISC_ISCIPV6_O=''
ISC_LWRES_ENDHOSTENTINT=''
ISC_LWRES_ENDNETENTINT=''
ISC_LWRES_GETADDRINFOPROTO=''
ISC_LWRES_GETHOSTBYADDRVOID=''
ISC_LWRES_GETIPNODEPROTO=''
ISC_LWRES_GETNAMEINFOPROTO=''
ISC_LWRES_NEEDHERRNO=''
ISC_LWRES_SETNETENTINT=''
ISC_PLATFORM_FIXIN6ISADDR=''
ISC_PLATFORM_HAVEIN6PKTINFO=''
ISC_PLATFORM_MSGHDRFLAVOR=''
ISC_PLATFORM_NEEDATON=''
ISC_PLATFORM_NEEDNETINET6IN6H=''
ISC_PLATFORM_NEEDNETINETIN6H=''
ISC_PLATFORM_NEEDNTOP=''
ISC_PLATFORM_NEEDPORTT=''
ISC_PLATFORM_NEEDPTON=''
ISC_PLATFORM_NEEDSTRSEP=''
ISC_PLATFORM_NEEDSYSSELECTH=''
ISC_PLATFORM_NEEDTIMESPEC=''
ISC_PLATFORM_NEEDVSNPRINTF=''
ISC_PLATFORM_QUADFORMAT=''
ISC_SOCKLEN_T=''
ISC_THREAD_DIR=''
LDFLAGS=''
LIBOBJS=''
LIBS=''
LIBTOOL=''
LIBTOOL_MKDEP_SED=''
LIBTOOL_MODE_COMPILE=''
LIBTOOL_MODE_INSTALL=''
LIBTOOL_MODE_LINK=''
LN='ln'
LN_S=''
LTLIBOBJS=''
MKDEPCC=''
MKDEPCFLAGS=''
MKDEPPROG=''
NEED_DAEMON=''
NEED_GETTIMEOFDAY=''
NEED_IN6ADDR_ANY=''
NEED_PSELECT=''
NEED_STRERROR=''
NEED_STRSEP=''
NETENT_DATA=''
NET_R_ARGS=''
NET_R_BAD=''
NET_R_COPY=''
NET_R_COPY_ARGS=''
NET_R_END_RESULT=''
NET_R_END_RETURN=''
NET_R_ENT_ARGS=''
NET_R_OK=''
NET_R_RETURN=''
NET_R_SETANSWER=''
NET_R_SET_RESULT=''
NET_R_SET_RETURN=''
NGR_R_ARGS=''
NGR_R_BAD=''
NGR_R_CONST=''
NGR_R_COPY=''
NGR_R_COPY_ARGS=''
NGR_R_END_ARGS=''
NGR_R_END_RESULT=''
NGR_R_END_RETURN=''
NGR_R_OK=''
NGR_R_PRIVATE=''
NGR_R_RETURN=''
NGR_R_SET_ARGS=''
NGR_R_SET_CONST=''
NGR_R_SET_RESULT=''
NGR_R_SET_RETURN=''
O=''
OBJEXT=''
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PASS_R_ARGS=''
PASS_R_BAD=''
PASS_R_COPY=''
PASS_R_COPY_ARGS=''
PASS_R_END_RESULT=''
PASS_R_END_RETURN=''
PASS_R_ENT_ARGS=''
PASS_R_OK=''
PASS_R_RETURN=''
PASS_R_SET_RESULT=''
PASS_R_SET_RETURN=''
PATH_SEPARATOR=':'
PERL=''
PORT_DIR=''
PORT_INCLUDE=''
PORT_NONBLOCK=''
PROTOENT_DATA=''
PROTO_R_ARGS=''
PROTO_R_BAD=''
PROTO_R_COPY=''
PROTO_R_COPY_ARGS=''
PROTO_R_END_RESULT=''
PROTO_R_END_RETURN=''
PROTO_R_ENT_ARGS=''
PROTO_R_ENT_UNUSED=''
PROTO_R_OK=''
PROTO_R_RETURN=''
PROTO_R_SETANSWER=''
PROTO_R_SET_RESULT=''
PROTO_R_SET_RETURN=''
PURIFY=''
RANLIB=':'
SA=''
SERVENT_DATA=''
SERV_R_ARGS=''
SERV_R_BAD=''
SERV_R_COPY=''
SERV_R_COPY_ARGS=''
SERV_R_END_RESULT=''
SERV_R_END_RETURN=''
SERV_R_ENT_ARGS=''
SERV_R_ENT_UNUSED=''
SERV_R_OK=''
SERV_R_RETURN=''
SERV_R_SETANSWER=''
SERV_R_SET_RESULT=''
SERV_R_SET_RETURN=''
SETGRENT_VOID=''
SETNETGRENT_ARGS=''
SETPWENT_VOID=''
SET_MAKE=''
SHELL='/bin/bash'
SOLARIS2=''
SOLARIS_BITTYPES=''
STD_CDEFINES=''
STD_CINCLUDES=''
STD_CWARNINGS=''
STRIP=''
STRSEP_OBJS=''
USE_FIONBIO_IOCTL=''
USE_IFNAMELINKID=''
USE_POLL=''
WANT_IRS_DBPW_OBJS=''
WANT_IRS_GR=''
WANT_IRS_GR_OBJS=''
WANT_IRS_NIS=''
WANT_IRS_NISGR_OBJS=''
WANT_IRS_NISPW_OBJS=''
WANT_IRS_NIS_OBJS=''
WANT_IRS_PW=''
WANT_IRS_PW_OBJS=''
WANT_IRS_THREADSGR_OBJS=''
WANT_IRS_THREADSPW_OBJS=''
WANT_IRS_THREADS_OBJS=''
WANT_THREADS_OBJS=''
ac_ct_CC=''
ac_ct_CXX=''
ac_ct_F77=''
bindir='${exec_prefix}/bin'
build='sparc-sun-solaris2.9'
build_alias=''
build_cpu='sparc'
build_os='solaris2.9'
build_vendor='sun'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE}'
dvidir='${docdir}'
exec_prefix='NONE'
host='sparc-sun-solaris2.9'
host_alias=''
host_cpu='sparc'
host_os='solaris2.9'
host_vendor='sun'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr/local'
program_transform_name='s,x,x,'
psdir='${docdir}'
purify_path=''
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

## ------------------- ##
## File substitutions. ##
## ------------------- ##

BIND9_INCLUDES=''
BIND9_MAKE_RULES=''
LIBBIND_API=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""

configure: exit 1

Thanks again,
Mark

-----Original Message-----
From: Mark_Andrews@isc.org [mailto:Mark_Andrews@isc.org]
Sent: Thursday, September 04, 2008 9:02 PM
To: Stone, Mark S.
Cc: bind-users@isc.org
Subject: Re: Cant get bind 9.5.0-P2 to compile under cc or gcc


> (/opt/bind9/bind-9.5.0-P2/lib/bind)
> configure:32815: running /bin/bash ./configure '--prefix=/usr/local'
> --cache-file=/dev/null --src
> dir=.
> configure:32820: error: ./configure failed for lib/bind


I suggest that you post the config.log from
/opt/bind9/bind-9.5.0-P2/lib/bind

Mark

--
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742 INTERNET: Mark_Andrews@isc.org


CONFIDENTIALITY NOTICE: This E-Mail is intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If you have received this communication in error, please do not distribute and delete the original message. Please notify the sender by E-Mail at the address shown. Thank you for your compliance.