hello all I'm trying to install php on Solaris 8, but when it tries to
compile using gcc 2.95.3 i get the following message
checking whether the C compiler (gcc ) works... no
configure: error: installation or configuration problem: C compiler
cannot create executables.
my config.log file looks like this:
I have read similar posts just like this one here:
as well as this information:
From the Solaris 2 FAQ:
6.2) Which packages do I need to install to support a C compiler?
Solaris ships with everything you need, with the exception of the
compiler itself. Solaris ships with the include files, make, an
assembler, linker and libraries. All this stuff lives in /usr/ccs/bin
(add it to your PATH before /usr/ucb if that's in your PATH as well)
/usr/ccs/lib and /usr/include.
If you still can't find it, make sure you have the following packages
installed on your system:
for tools (sccs, lex, yacc, make, nm, truss, ld, as):
SUNWbtool, SUNWsprot, SUNWtoo
for libraries & headers:
SUNWhea, SUNWarc, SUNWlibm, SUNWlibms
SUNWdfbh, SUNWcg6h, SUNWxwinc, SUNWolinc,
for 64 bit development:
SUNWarcx, SUNWbtoox, SUNWdplx, SUNWscpux, SUNWsprox,
SUNWtoox, SUNWlmsx, SUNWlmx, SUNWlibCx
for ucb compat:
i installed every package i did not have with the exception of SUNWtoo
but yet it seems the same errors appear. Anyone have any suggestions?
Would installing gcc 3.1 solve this problem?