logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

RE: Update: Solaris, Bind 9, & GCC?: msg#00377

Subject: RE: Update: Solaris, Bind 9, & GCC?
Stephen,

When I installed mine, I installed a full system - this could be the difference.

Check the following details:

# md5 /lib/cpp
MD5 (/lib/cpp) = 682d11aec6bcbe25c59b4010536264a8
# sum /lib/cpp
22278 181 /lib/cpp
# uname -a
SunOS zas.csiro.au 5.9 Generic sun4u sparc SUNW,UltraAX-i2

There is also a Bind 9.2.1 Package on the SunFreeware website.  Unless you 
really need 9.2.2rc2 this might save you a bit of grief.

You could also try to install gcc from the Bonus CD.

-Rowan


-----Original Message-----
From: Stephen Fouchek [mailto:stephen.fouchek@xxxxxxxxxxxxxxx] 
Sent: Friday, October 25, 2002 8:23 AM
To: bind9-users@xxxxxxx
Cc: Rowan.Smith@xxxxxxxx
Subject: Update: Solaris, Bind 9, & GCC?



I have tried compiling Bind 9.2.2rc1 with gcc (version 3.1, from the Sun = 
Freeware Site, have also tried 3.2) and keep coming up with the following = 
error...  I don't know if this has anything to do with it, but Solaris 9 = was 
installed
with the End User Solaris Software Group package (to = conserve space and have 
a fairly base system, hopefully this doesn't cause = to much of a base 
system)...

# ./configure CC=3D/usr/local/bin/gcc
checking build system type... sparc-sun-solaris2.9
checking host system type... sparc-sun-solaris2.9
checking whether make sets ${MAKE}... no
checking for ranlib... :
checking for a BSD-compatible install... ./install-sh -c checking for ar... 
/usr/ccs/bin/ar checking for etags... no checking for emacs-etags... no 
checking for perl5... no checking for perl... /usr/bin/perl checking for gcc...
/usr/local/bin/gcc checking for C compiler default output... a.out checking 
whether the C compiler works... yes checking whether we are cross compiling... 
no checking for suffix of executables...=20 checking for suffix of object 
files... o
checking whether we are using the GNU C compiler... yes checking whether 
/usr/local/bin/gcc accepts -g... yes checking how to run the C preprocessor... 
/lib/cpp
configure: error: C preprocessor "/lib/cpp" fails sanity check

Any idea's?
Thanks,
Steve

>>> <Rowan.Smith@xxxxxxxx> 10/22/02 07:00PM >>>

Stephen,

I have compiled bind 9.2.1 and 9.2.1rc2 on Solaris 9 using the gcc = package, 
(version 3.1), from the Sun Freeware website with no problems or = issues what 
so ever.

A very simple, "./configure; make" was all that was required.  I havn't = tried 
rc1, but I would be very surprised if this differed so drastically.

-Rowan



> -----Original Message-----
> From: Stephen Fouchek [mailto:stephen.fouchek@xxxxxxxxxxxxxxx]=20
> Sent: Wednesday, October 23, 2002 8:07 AM
> To: bind9-users@xxxxxxx=20
> Subject: Solaris, Bind 9, & GCC?
>=20
>=20
>=20
> Hello!
> We are running Solaris 9 and trying to compile BIND 9.2.2rc1=20  with 
>gcc =3D (version 3.2). =20
> I know that ISC states the following:
> "Building with gcc is not supported, unless gcc is the=20
> vendor's usual =3D compiler (e.g. the various BSD systems,=20
> Linux)." ...but was hoping there might be a way around it for Solaris.
>=20
> Any idea's?
>=20
> Thanks,
> Steve
>=20
>=20






<Prev in Thread] Current Thread [Next in Thread>