I'm having problems Compilling PHP 4 on a Solaris 2.6 and this is the folowing error:
bash-2.02# ./configure --with-mysql
creating cache ./config.cache
checking for a BSD compatible install... ./install-sh -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... missing
Updated php_version.h
checking whether to enable maintainer-specific portions of Makefiles... no
checking host system type... sparc-sun-solaris2.6
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking for bison... bison -y
checking bison version... 1.28 (ok)
checking for gcc... gcc
checking whether the C compiler (gcc ) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.
If someone has a precompiled version of PHP4 please let me know, if you need to know I have installed the gcc compiler twice.