Builiding PHP5.2.0 for apache2.2.3 on AIX 5.2 using gcc 3.3.2. However, the configure script fails with the following error.
checking for object suffix... o
checking for executable suffix... no
checking for c++... no
checking for g++... g++
checking whether the C++ compiler (g++ -pthread ) works... no
configure: error: installation or configuration problem: C++ compiler
cannot create executables.
The config.log reads
configure:105907: g++ -o conftest -pthread -D_THREAD_SAFE conftest.C
1>&5
ld: 0711-201 SEVERE ERROR: External symbol typeinfo name for
std::codecvt<wchar_t, char, char*>, defined in member codecvt.o
of archive
/opt/freeware/lib/gcc-lib/powerpc-ibm-aix5.2.0.0/3.3.2/pthread/libstdc++
.a, was not found in the archive's global symbol table.and lots of similar errors.
Intial search on web suggested similar problems having been seen when binutil tools(gnu ld,ar or nm) were being used instead of the native ones. However, In my case, binutils are not installed. Any Help will be appreciated.
Thanks.
Sharan.