ID:               43144
 Updated by:       [EMAIL PROTECTED]
 Reported By:      babt at us dot ibm dot com
-Status:           Open
+Status:           Feedback
 Bug Type:         Compile Failure
 Operating System: Mac OS X 10.5
 PHP Version:      5.2.4
 New Comment:

You have some 3rd party extensions added by yourself in the build or
what? There aren't any C++ extensions in the PHP core, AFAIK.


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

[2007-10-30 18:12:39] babt at us dot ibm dot com

Here's the configure line used...

./configure --prefix=/usr/local/php5 --with-config-file-
path=/usr/local/php5/lib --with-mysql=/usr/local/mysql --with-pdo-
mysql=/usr/local/mysql --with-apxs2 --with-pcre-regex --with-iconv --
with-openssl --with-zlib
--with-mysqli=/usr/local/mysql/bin/mysql_config 
--with-libxml --with-xsl --with-xmlrpc --enable-wddx --with-curl --
enable-exit --enable-soap --enable-ftp --enable-calendar --enable-dbx
--
enable-sockets --with-bz2 --enable-dbase --enable-fastcgi --enable-
mbstring --with-pdflib --with-mysql-sock=/tmp/mysql.sock

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

[2007-10-30 17:13:25] [EMAIL PROTECTED]

What configure line did you use?

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

[2007-10-30 14:32:54] babt at us dot ibm dot com

Description:
------------
When running configure, process fails to properly detect c++ due to 
previous failure to remove a directory.  Below is the stream from the 
script.

Configuring libtool
checking build system type... i686-apple-darwin9.0.0
checking for ld used by gcc... /usr/libexec/gcc/i686-apple-
darwin9/4.0.1/ld
checking if the linker (/usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld) 
is GNU ld... no
checking for /usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld option to 
reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -p
checking how to recognise dependent libraries... pass_all
checking for object suffix... o
checking for executable suffix... rm: conftest.dSYM: is a directory
.dSYM
checking for c++... c++
checking whether the C++ compiler (c++   ) works... no
configure: error: installation or configuration problem: C++ compiler 
cannot create executables.





Reproduce code:
---------------
Plain vanilla OS X 10.5 Leopard build with Xcode 3.0 tools installed.

Expected result:
----------------
Configuring libtool
checking build system type... i686-apple-darwin9.0.0
checking for ld used by /Developer/usr/bin/cc... 
/Developer/usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld
checking if the linker (/Developer/usr/libexec/gcc/i686-apple-
darwin9/4.0.1/ld) is GNU ld... no
checking for /Developer/usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld 
option to reload object files... -r
checking for BSD-compatible nm... /Developer/usr/bin/nm -p
checking how to recognise dependent libraries... pass_all
checking for object suffix... o
checking for executable suffix... .dSYM
checking for c++... c++
checking whether the C++ compiler (c++   ) works... yes





Actual result:
--------------
As in description.

Workaround - 

Change configure script to use 'rm -rf' during the check for the 
executable suffix.  


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


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

Reply via email to