From:             damokles at gmx dot net
Operating system: Linux
PHP version:      5.2.0
PHP Bug Type:     Compile Failure
Bug description:  PHP 5.2.0 (threaded )fails to ./configure, though 5.1.6 does 
with same options

Description:
------------
./configure with the options from reproduce code fails for me though 5.1.6
has no problem configuring and compiling with this. The last lines of the
configure script are:

checking for gcc... gcc
checking whether the C++ compiler (gcc  -pthread  ) works... no
configure: error: installation or configuration problem: C++ compiler
cannot create executables.


Reproduce code:
---------------
./configure  --prefix=/usr --with-apxs2=/usr/bin/apxs2 --with-regex=php
--with-config-file-path=/etc/php5 --disable-rpath --enable-memory-limit
-disable-debug --with-layout=GNU -with-pear=/usr/share/php
--enable-calendar --enable-sysvsem --enable-sysvshm --enable-sysvmsg
--enable-track-vars --enable-trans-sid --enable-bcmath --with-bz2
--enable-ctype --with-db4 --with-iconv -enable-exif --enable-filepro
--enable-ftp --with-gettext --enable-mbstring --enable-shmop
--enable-sockets --enable-wddx --enable-xml --with-expat-dir=/usr
--with-xmlrpc --enable-yp --with-zlib --without-pgsql --with-kerberos=/usr
--with-openssl=/usr --enable-dbx
--with-mime-magic=/usr/share/misc/file/magic.mime
--with-exec-dir=/usr/lib/php5/libexec --disable-static
--with-curl=shared,/usr --with-dom=shared,/usr --with-dom-xslt=shared,/usr
--with-dom-exslt=shared,/usr --with-zlib-dir=/usr --with-gd=shared,/usr
--enable-gd-native-ttf --with-jpeg-dir=shared,/usr
--with-xpm-dir=shared,/usr/X11R6 -with-png-dir=shared,/usr
--with-freetype-dir=shared,/usr --with-imap=shared,/usr --with-imap-ssl
--with-ldap=shared,/usr --with-mcal=shared,/usr --with-mhash=shared,/usr
--without-mm --with-mysql=shared,/usr --enable-xslt=shared
--with-xslt-sablot=shared,/usr --with-snmp=shared,/usr
--with-sybase-ct=shared,/usr --with-ttf=shared,/usr
--with-t1lib=shared,/usr --enable-maintainer-zts

Expected result:
----------------
I'd expect the same output as in 5.1.6 :)

Actual result:
--------------
checking for gcc... gcc
checking whether the C++ compiler (gcc  -pthread  ) works... no
configure: error: installation or configuration problem: C++ compiler
cannot create executables.


-- 
Edit bug report at http://bugs.php.net/?id=40239&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=40239&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=40239&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=40239&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=40239&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=40239&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=40239&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=40239&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=40239&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=40239&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=40239&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=40239&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=40239&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=40239&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=40239&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=40239&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=40239&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=40239&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=40239&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=40239&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=40239&r=mysqlcfg

Reply via email to