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:
i dont have gcc. i am using the HP-UX compiler. It worked fione until version 5.2.0 Previous Comments: ------------------------------------------------------------------------ [2007-01-05 22:27:25] [EMAIL PROTECTED] 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] [EMAIL PROTECTED] We need the config.log data not the output of configure ------------------------------------------------------------------------ [2007-01-05 22:14:33] ionut dot aivanesei at amdocs dot com I will also add here the beginning of the configure command: -------------------------------------------------- creating cache ./config.cache checking for Cygwin environment... no checking for mingw32 environment... no checking for egrep... grep -E checking for a sed that does not truncate output... /usr/bin/sed checking host system type... hppa2.0w-hp-hpux11.11 checking target system type... hppa2.0w-hp-hpux11.11 checking for gcc... no checking for cc... cc checking whether the C compiler (cc ) works... yes checking whether the C compiler (cc ) is a cross-compiler... no checking whether we are using GNU C... no checking whether cc accepts -g... yes checking whether cc understands -c and -o together... yes checking how to run the C preprocessor... cc -E checking for AIX... no checking whether ln -s works... yes checking if compiler supports -R... no checking if compiler supports -Wl,-rpath,... no checking for re2c... no configure: warning: You will need re2c 0.9.11 or later if you want to regenerate PHP parsers. checking for gawk... no checking for nawk... no checking for awk... awk checking if awk is broken... no checking for bison... no checking for byacc... no checking for bison version... invalid configure: warning: bison versions supported for regeneration of the Zend/PHP parsers: 1.28 1.35 1.75 1.875 2.0 2.1 2.2 2.3 (found: none). checking for flex... flex checking for yywrap in -lfl... no checking lex output file root... lex.yy checking whether yytext is a pointer... no checking for working const... yes checking for flex version... 2.5.4 (ok) checking whether to force non-PIC code in shared modules... no checking for pthreads_cflags... -mt checking for pthreads_lib... Configuring SAPI modules ... Thanks, Ionutz ------------------------------------------------------------------------ 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