ID: 38880 User updated by: Maylein at uni-hd dot de Reported By: Maylein at uni-hd dot de Status: Bogus Bug Type: Compile Failure Operating System: SuSE Linux 10.1 PHP Version: 5.1.6 New Comment:
Ok. Seems to be a problem of "make clean" which does not clean anything... With the latest snapshop, php compiles with --with-bz2 Previous Comments: ------------------------------------------------------------------------ [2006-09-19 13:42:27] [EMAIL PROTECTED] Please fix your system. Not PHP problem. ------------------------------------------------------------------------ [2006-09-19 13:40:35] Maylein at uni-hd dot de Sorry. php-5.1.6 compiles without c++ ... Now I got: In file included from /usr/local/src/php5.2-200609191230/main/php.h:34, from /usr/local/src/php5.2-200609191230/ext/libxml/libxml.c:28: /usr/local/src/php5.2-200609191230/Zend/zend.h:53:26: error: zend_config.h: No such file or directory In file included from /usr/local/src/php5.2-200609191230/Zend/zend_alloc.h:27, from /usr/local/src/php5.2-200609191230/Zend/zend.h:224, from /usr/local/src/php5.2-200609191230/main/php.h:34, from /usr/local/src/php5.2-200609191230/ext/libxml/libxml.c:28: /usr/local/src/php5.2-200609191230/Zend/../TSRM/TSRM.h:18:26: error: tsrm_config.h: No such file or directory In file included from /usr/local/src/php5.2-200609191230/Zend/zend.h:224, from /usr/local/src/php5.2-200609191230/main/php.h:34, from /usr/local/src/php5.2-200609191230/ext/libxml/libxml.c:28: /usr/local/src/php5.2-200609191230/Zend/zend_alloc.h:34: error: expected specifier-qualifier-list before 'uint' /usr/local/src/php5.2-200609191230/Zend/zend_alloc.h:41: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'char' /usr/local/src/php5.2-200609191230/Zend/zend_alloc.h:43: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /usr/local/src/php5.2-200609191230/Zend/zend_alloc.h:44: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /usr/local/src/php5.2-200609191230/Zend/zend_alloc.h:45: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /usr/local/src/php5.2-200609191230/Zend/zend_alloc.h:46: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /usr/local/src/php5.2-200609191230/Zend/zend_alloc.h:47: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /usr/local/src/php5.2-200609191230/Zend/zend_alloc.h:48: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /usr/local/src/php5.2-200609191230/Zend/zend_alloc.h:49: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'char' /usr/local/src/php5.2-200609191230/Zend/zend_alloc.h:50: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'char' /usr/local/src/php5.2-200609191230/Zend/zend_alloc.h:51: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'size_t' /usr/local/src/php5.2-200609191230/Zend/zend_alloc.h:94: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /usr/local/src/php5.2-200609191230/Zend/zend_alloc.h:96: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /usr/local/src/php5.2-200609191230/Zend/zend_alloc.h:97: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /usr/local/src/php5.2-200609191230/Zend/zend_alloc.h:98: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' ------------------------------------------------------------------------ [2006-09-19 12:59:58] [EMAIL PROTECTED] I can only repeat: your C++ compiler cannot create executables, since all the details are in your config.log. ------------------------------------------------------------------------ [2006-09-19 12:57:25] Maylein at uni-hd dot de With php5.2-200609191230 I got the following message (with the same compiler as last time): ./configure ... ... Configuring libtool checking build system type... i686-pc-linux-gnu checking for ld used by gcc... /usr/i586-suse-linux/bin/ld checking if the linker (/usr/i586-suse-linux/bin/ld) is GNU ld... yes checking for /usr/i586-suse-linux/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 ------------------------------------------------------------------------ [2006-09-19 12:51:54] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php5.2-latest.tar.gz For Windows: http://snaps.php.net/win32/php5.2-win32-latest.zip ------------------------------------------------------------------------ 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/38880 -- Edit this bug report at http://bugs.php.net/?id=38880&edit=1