ID: 33959 Updated by: [EMAIL PROTECTED] Reported By: bugs at bmuskalla dot de -Status: Open +Status: Bogus Bug Type: Compile Failure Operating System: Gentoo (2.6) PHP Version: 5CVS-2005-08-02 (dev) New Comment:
Get the latest CVS, it's fixed already. Previous Comments: ------------------------------------------------------------------------ [2005-08-02 05:26:20] bugs at bmuskalla dot de Description: ------------ compile failes while compiling sqlite pdo extension Reproduce code: --------------- ./configure --with-apxs2=/usr/sbin/apxs2 --with-config-file-path=/etc --with-zlib --enable-bcmath --with-bz2 --with-curl --enable-ftp --with-gd --enable-gd-native-ttf --enable-mbstring --with-mysql --with-mysqli --with-ncurses --with-pdo-mysql--enable-soap --enable-sockets --enable-sqlite-utf8 --with-tidy --enable-wddx --with-pear=/web/pear make <error> Expected result: ---------------- a new php5 ;) Actual result: -------------- compile failure when compiling php 5.1-cvs /bin/sh /usr/src/php-cvs/libtool --silent --preserve-dup-deps --mode=compile gcc -Iext/pdo_sqlite/sqlite/src -DPDO_SQLITE_BUNDLED=1 -DSQLITE_OMIT_CURSOR -I/usr/src/php-cvs/ext -Iext/pdo_sqlite/ -I/usr/src/php-cvs/ext/pdo_sqlite/ -DPHP_ATOM_INC -I/usr/src/php-cvs/include -I/usr/src/php-cvs/main -I/usr/src/php-cvs -I/usr/include/libxml2 -I/usr/src/php-cvs/ext/mbstring/oniguruma -I/usr/src/php-cvs/ext/mbstring/libmbfl -I/usr/src/php-cvs/ext/mbstring/libmbfl/mbfl -I/usr/include/mysql -I/usr/src/php-cvs/TSRM -I/usr/src/php-cvs/Zend -g -O2 -prefer-non-pic -c /usr/src/php-cvs/ext/pdo_sqlite/pdo_sqlite.c -o ext/pdo_sqlite/pdo_sqlite.lo In file included from /usr/src/php-cvs/ext/pdo_sqlite/pdo_sqlite.c:31: /usr/src/php-cvs/ext/pdo_sqlite/php_pdo_sqlite_int.h:24:21: sqlite3.h: No such file or directory In file included from /usr/src/php-cvs/ext/pdo_sqlite/pdo_sqlite.c:31: /usr/src/php-cvs/ext/pdo_sqlite/php_pdo_sqlite_int.h:50: error: syntax error before "sqlite3" /usr/src/php-cvs/ext/pdo_sqlite/php_pdo_sqlite_int.h:50: warning: no semicolon at end of struct or union /usr/src/php-cvs/ext/pdo_sqlite/php_pdo_sqlite_int.h:53: error: syntax error before '}' token /usr/src/php-cvs/ext/pdo_sqlite/php_pdo_sqlite_int.h:53: warning: data definition has no type or storage class /usr/src/php-cvs/ext/pdo_sqlite/php_pdo_sqlite_int.h:56: error: syntax error before "pdo_sqlite_db_handle" /usr/src/php-cvs/ext/pdo_sqlite/php_pdo_sqlite_int.h:56: warning: no semicolon at end of struct or union /usr/src/php-cvs/ext/pdo_sqlite/php_pdo_sqlite_int.h:57: warning: data definition has no type or storage class /usr/src/php-cvs/ext/pdo_sqlite/php_pdo_sqlite_int.h:58: error: syntax error before ':' token /usr/src/php-cvs/ext/pdo_sqlite/php_pdo_sqlite_int.h:59: error: syntax error before ':' token /usr/src/php-cvs/ext/pdo_sqlite/php_pdo_sqlite_int.h:60: warning: data definition has no type or storage class make: *** [ext/pdo_sqlite/pdo_sqlite.lo] Error 1 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=33959&edit=1