Error: could not find any of these C compilers

Hi,
While trying to configure Apache Web Server on P630 Server i am getting the below message

"Creating Makefile in src
+ configured for AIX 5.2 platform
Error: could not find any of these C compilers
anywhere in your PATH: gcc cc acc c89
Configure terminated"

when i did a "lslpp -l |grep xlC.rte" i got the following

xlC.rte 6.0.0.0 COMMITTED C Set ++ Runtime

Whether i should install a C++ compiler.

Regards,
Sam

That's what it says, you need a compiler - not a runtime environment. :slight_smile:

You can either buy a compiler from IBM:

(a 60 day trial is also available)

Or you can use gcc for free:

Downloaded gcc(gcc-3.3) from the specified link and exported value for the CC variable.Now I am getting the below error.

loading cache ./config.cache
checking LIBRARY_PATH variable... ok
checking GCC_EXEC_PREFIX variable... ok
checking host system type... powerpc-ibm-aix5.2.0.0
checking target system type... powerpc-ibm-aix5.2.0.0
checking build system type... powerpc-ibm-aix5.2.0.0
checking for gcc... /instcd/gcc/gcc-3.3/gcc
checking whether the C compiler (/instcd/gcc/gcc-3.3/gcc ) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.

What could be the reason?

Reagrds,
Sam