ID: 43144 Updated by: [EMAIL PROTECTED] Reported By: babt at us dot ibm dot com -Status: Open +Status: Feedback -Bug Type: *Configuration Issues +Bug Type: Compile Failure Operating System: Mac OS X 10.5 PHP Version: 5.2.4 New Comment:
What configure line did you use? Previous Comments: ------------------------------------------------------------------------ [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