|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2007-01-05 22:05 UTC] ionut dot aivanesei at amdocs dot com
Description: ------------ When compiling PHP 5.2.0 on HP and AIX I get: configure: error: installation or configuration problem: C++ compiler cannot create executables. On the same servers (3 HP<11.11|11.23> and 1 AIX) i succeded to compile PHP 5.1.6 and also MySQL, Apache HTTPD, limxml2, openldap, libmcrypt, etc. Also, PHP 5.2.0 (and all others) I succeded to compile on other 4 SunOS servers. Reproduce code: --------------- ./configure --prefix=... Expected result: ---------------- everythig should be OK Actual result: -------------- ... Configuring libtool checking build system type... hppa2.0w-hp-hpux11.11 checking for non-GNU ld... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... no checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -p checking how to recognise dependent libraries... file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library checking for object suffix... o checking for executable suffix... no checking for c++... no checking for g++... no checking for gcc... no checking for CC... no checking for cxx... no checking for cc++... no checking for cl... no checking whether the C++ compiler (gcc ) works... no configure: error: installation or configuration problem: C++ compiler cannot create executables. PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 19:00:02 2025 UTC |
hi iliaa, these are the last lines from my config.log file: --------------------------------------------- ... configure:104279: checking for stdarg.h configure:105262: checking build system type configure:105324: checking for non-GNU ld configure:105363: checking if the linker (/usr/bin/ld) is GNU ld configure:105383: checking for /usr/bin/ld option to reload object files configure:105408: checking for BSD-compatible nm configure:105454: checking how to recognise dependent libraries configure:105632: checking for object suffix configure:105638: cc -c -I/usr/include -g conftest.c 1>&5 configure:105658: checking for executable suffix configure:105668: cc -o conftest -I/usr/include -g conftest.c 1>&5 configure:105859: checking for c++ configure:105859: checking for g++ configure:105859: checking for gcc configure:105859: checking for CC configure:105859: checking for cxx configure:105859: checking for cc++ configure:105859: checking for cl configure:105891: checking whether the C++ compiler (gcc ) works configure:105907: gcc -o conftest conftest.C 1>&5 ./configure[105906]: gcc: not found. configure: failed program was: #line 105902 "configure" #include "confdefs.h" int main(){return(0);}