ID: 39439 Updated by: [EMAIL PROTECTED] Reported By: mark at oneeach dot com -Status: Closed +Status: Bogus Bug Type: *Compile Issues Operating System: Linux RHEL4 PHP Version: 5.2.0 New Comment:
No problem. Previous Comments: ------------------------------------------------------------------------ [2006-11-09 21:41:24] mark at oneeach dot com Removed and re-installed gcc packages, everything is fine now. Thanks for your time. ------------------------------------------------------------------------ [2006-11-09 20:18:25] [EMAIL PROTECTED] Type this in your shell: # which c++ # c++ ------------------------------------------------------------------------ [2006-11-09 20:04:33] mark at oneeach dot com I understand that would make you think gcc was missing, however isn't it true that I wouldn't be able to configure and make PHP-5.1.6 (or any version) if that were the case? With php 5.2.0 the (relevant portion) of the config.log is: ---- configure:105859: checking for gcc configure:105891: checking whether the C++ compiler (gcc ) works configure:105907: gcc -o conftest conftest.C 1>&5 gcc: installation problem, cannot exec `cc1plus': No such file or directory configure: failed program was: #line 105902 "configure" #include "confdefs.h" int main(){return(0);} ---- With PHP-5.1.6 (same box, same user, etc): ---- configure:105692: checking if gcc static flag works configure:105742: checking if gcc supports -fno-rtti -fno-exceptions configure:105792: checking for gcc option to produce PIC configure:106003: checking if gcc PIC flag -fPIC works configure:106020: gcc -c -I/usr/include -g -O2 -fPIC -DPIC conftest.c 1>&5 configure:106024: $? = 0 configure:106062: checking if gcc supports -c -o file.o configure:106133: checking whether the gcc linker (/usr/bin/ld) supports shared libraries configure:106994: checking whether -lc should be explicitly linked in configure:106998: gcc -c -I/usr/include -g -O2 conftest.c 1>&5 configure:107011: gcc -shared conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2>&1 | grep -lc >/dev/null 2>&1 configure:107030: checking dynamic linker characteristics configure:107604: checking how to hardcode library paths into programs configure:107642: checking whether stripping libraries is possible configure:108227: checking if libtool supports shared libraries configure:108231: checking whether to build shared libraries configure:108254: checking whether to build static libraries ---- ------------------------------------------------------------------------ [2006-11-09 17:53:47] [EMAIL PROTECTED] Well this line: "checking for c++... no" says that c++ is missing on your system. What is in your config.log again? ------------------------------------------------------------------------ [2006-11-09 17:39:59] mark at oneeach dot com [EMAIL PROTECTED] ~]# grep gcc install.log Installing libgcc-3.4.3-22.1.i386. compat-gcc-32-3.2.3-47.3.i386.rpm compat-gcc-32-c++-3.2.3-47.3.i386.rpm compat-libgcc-296-2.96-132.7.2.i386.rpm gcc-3.4.3-22.1.i386.rpm gcc-c++-3.4.3-22.1.i386.rpm gcc-g77-3.4.3-22.1.i386.rpm gcc-gnat-3.4.3-22.1.i386.rpm gcc-java-3.4.3-22.1.i386.rpm gcc-objc-3.4.3-22.1.i386.rpm gcc4-4.0.0-0.14.EL4.i386.rpm gcc4-c++-4.0.0-0.14.EL4.i386.rpm gcc4-gfortran-4.0.0-0.14.EL4.i386.rpm I wondered about the same thing at first, but then it wouldn't successfully build other versions of PHP start to finish if that were the case. ------------------------------------------------------------------------ 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/39439 -- Edit this bug report at http://bugs.php.net/?id=39439&edit=1