#38880 [Opn->Fbk]: Compiler error, php_bz2
| From: | tony2001@php.net | Date: | Tue, 19 Sep 2006 12:51:54 +0000 |
| Subject: | #38880 [Opn->Fbk]: Compiler error, php_bz2 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-102412@lists.php.net to get a copy of this message | ||
ID: 38880
Updated by: tony2001@php.net
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:
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
Previous Comments:
------------------------------------------------------------------------
[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