ID:               39439
 Updated by:       [EMAIL PROTECTED]
 Reported By:      mark at oneeach dot com
-Status:           Open
+Status:           Feedback
 Bug Type:         *Compile Issues
 Operating System: Linux RHEL4
 PHP Version:      5.2.0
 New Comment:

Are you sure you have gcc-c++..rpm package installed?
What's in your config.log?


Previous Comments:
------------------------------------------------------------------------

[2006-11-09 00:43:25] mark at oneeach dot com

Description:
------------
When trying to configure php 5.2.0 (with the configure line detailed in
the reproduce code section), it aborts with the error detailed in
"actual result".

I initially thought something must be wrong on the server, except that
I can go back and configure+compile any other version of PHP (such as
5.1.6) and there are no errors (as shown in expected result).

Thanks,
-Mark

Reproduce code:
---------------
./configure  --prefix=/usr/local/php
--with-apxs2=/usr/local/apache2/bin/apxs --disable-path-info-check
--disable-cgi --with-zlib --with-bz2 --enable-sockets --with-openssl
--with-curl --with-curlwrappers --with-mysql=/usr
--with-mysqli=/usr/bin/mysql_config --with-gmp --with-mcrypt
--with-mhash --with-pspell --with-gettext --with-tidy --with-libxml-dir
--with-xsl --enable-exif --with-jpeg-dir --with-png-dir --with-gd
--enable-gd-native-ttf --with-ttf --with-freetype-dir --with-imap
--with-imap-ssl --with-kerberos

Expected result:
----------------
Configuring libtool
checking build system type... i686-pc-linux-gnu
checking for ld used by gcc... (cached) /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes
checking for /usr/bin/ld option to reload object files... (cached) -r
checking for BSD-compatible nm... (cached) /usr/bin/nm -B
checking how to recognise dependent libraries... (cached) pass_all
checking for object suffix... (cached) o
checking for executable suffix... (cached) no
checking the maximum length of command line arguments... (cached)
32768
checking command to parse /usr/bin/nm -B output from gcc object...
(cached) ok
checking for objdir... (cached) .libs
checking for ar... (cached) ar
checking for ranlib... (cached) ranlib
checking for strip... (cached) strip
checking if gcc static flag  works... yes
checking if gcc supports -fno-rtti -fno-exceptions... (cached) no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared
libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no

creating libtool
appending configuration tag "CXX" to libtool

Actual result:
--------------
Configuring libtool
checking build system type... i686-pc-linux-gnu
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking how to recognise dependent libraries... pass_all
checking for object suffix... o
checking for executable suffix... no
checking for c++... no
checking for g++... no
checking for gcc... gcc
checking whether the C++ compiler (gcc   ) works... no
configure: error: installation or configuration problem: C++ compiler
cannot create executables.


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=39439&edit=1

Reply via email to