#40038 [Bgs]: C++ compiler cannot create executables
| From: | ionut dot aivanesei at amdocs dot com | Date: | Fri, 05 Jan 2007 22:33:32 +0000 |
| Subject: | #40038 [Bgs]: C++ compiler cannot create executables | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-107226@lists.php.net to get a copy of this message | ||
ID: 40038
User updated by: ionut dot aivanesei at amdocs dot com
Reported By: ionut dot aivanesei at amdocs dot com
Status: Bogus
Bug Type: Compile Failure
Operating System: HP-UX, AIX
PHP Version: 5.2.0
New Comment:
here is the full config.log file
http://www.devel.ro/config.log
Previous Comments:
------------------------------------------------------------------------
[2007-01-05 22:30:32] ionut dot aivanesei at amdocs dot com
i dont have gcc.
i am using the HP-UX compiler. It worked fione until version 5.2.0
------------------------------------------------------------------------
[2007-01-05 22:27:25] iliaa@php.net
The problem is that configure script cannot find GCC
(compiler) as you can tell from this line:
./configure[105906]: gcc: not found.
If you do have GCC you need to modify your PATH environment
variable to contain the directory holding your gcc binary.
------------------------------------------------------------------------
[2007-01-05 22:26:02] ionut dot aivanesei at amdocs dot com
for some reason it tries to use gcc instead of cc as it should (as it
used in the first part of configure).
------------------------------------------------------------------------
[2007-01-05 22:22:17] ionut dot aivanesei at amdocs dot com
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);}
------------------------------------------------------------------------
[2007-01-05 22:22:13] iliaa@php.net
We need the config.log data not the output of configure
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/40038
--
Edit this bug report at http://bugs.php.net/?id=40038&edit=1