Compiling 9.4.2 on Solaris10 127111-05 gcc 3.4.6 fails

Davenport, Steve M SDavenpo at mc.utmck.edu
Tue Feb 19 17:27:10 UTC 2008


I am attempting to compile bind9.4.2 on Solaris 10 (8/07).
 
The gcc compiler is:
# gcc -v
Reading specs from /usr/local/lib/gcc/sparc-sun-solaris2.10/3.4.6/specs
Configured with: ../configure --with-as=/usr/ccs/bin/as
--with-ld=/usr/ccs/bin/ld --enable-shared --enable-languages=c,c++,f77
Thread model: posix
gcc version 3.4.6
The configure output:
# ./configure
checking build system type... sparc-sun-solaris2.10
checking host system type... sparc-sun-solaris2.10
checking whether make sets $(MAKE)... yes
checking for ranlib... ranlib
checking for a BSD-compatible install... ./install-sh -c
checking whether ln -s works... yes
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... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... configure: error: cannot run C
compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.

I have tested the compiler by sucessfully building an old version of
bind8.4.7 on the same system.
 
Any ideas?
 
Thanks,
Steve



More information about the bind-users mailing list