ID: 38880 Updated by: [EMAIL PROTECTED] Reported By: Maylein at uni-hd dot de -Status: Open +Status: Feedback Bug Type: Compile Failure Operating System: SuSE Linux 10.1 PHP Version: 5.1.6 New Comment:
I can only repeat: your C++ compiler cannot create executables, since all the details are in your config.log. Previous Comments: ------------------------------------------------------------------------ [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 ------------------------------------------------------------------------ [2006-09-19 12:47:01] Maylein at uni-hd dot de Description: ------------ Compilation error php_bz2: Compiler: gcc-4.1.0 php-5.1.6/ext/bz2/php_bz2.h:60: error: expected ')' before '*' token Actual result: -------------- /bin/sh /usr/local/src/php-5.1.6/libtool --silent --preserve-dup-deps --mode=compile gcc -Iext/bz2/ -I/usr/local/src/php-5.1.6/ext/bz2/ -DPHP_ATOM_INC -I/usr/local/src/php-5.1.6/include -I/usr/local/src/php-5.1.6/main -I/usr/local/src/php-5.1.6 -I/usr/include/libxml2 -I/usr/local/src/php-5.1.6/ext/date/lib -I/usr/local/src/php-5.1.6/ext/mbstring/oniguruma -I/usr/local/src/php-5.1.6/ext/mbstring/libmbfl -I/usr/local/src/php-5.1.6/ext/mbstring/libmbfl/mbfl -I/usr/include/mysql -I/usr/local/src/php-5.1.6/TSRM -I/usr/local/src/php-5.1.6/Zend -I/usr/include -g -O2 -c /usr/local/src/php-5.1.6/ext/bz2/bz2.c -o ext/bz2/bz2.lo In file included from /usr/local/src/php-5.1.6/ext/bz2/bz2.c:26: /usr/local/src/php-5.1.6/ext/bz2/php_bz2.h:60: error: expected ')' before '*' token make: *** [ext/bz2/bz2.lo] Fehler 1 Configure options: ./configure --with-mysql --with-apx2=/usr/local/httpd2/bin/apxs --enable-track-vars --enable-sockets --with-gettext=/usr --enable-exif --with-ldap=/usr --enable-wddx --enable-bcmath --no-create --no-recursion --disable-debug --enable-calendar --enable-ctype --enable-discard-path --enable-force-cgi-redirect --enable-inline-optimization --enable-magic-quotes --enable-mbstr-enc-trans --enable-mbstring --enable-memory-limit --enable-safe-mode --enable-shmop --enable-sigchild --enable-sysvsem --enable-track-vars --enable-trans-sid --enable-versioning --with-bz2 --with-dom=/usr/include/libxml2 --with-gettext --with-mcal=/usr --with-ndbm --with-ttf --with-xml --with-xpm-dir=/usr/X11R6 --with-zlib=yes --with-mm ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=38880&edit=1