From:             bugs at bmuskalla dot de
Operating system: Gentoo (2.6)
PHP version:      5CVS-2005-08-02 (dev)
PHP Bug Type:     Compile Failure
Bug description:  Failure when compiling pdo_sqlite

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 bug report at http://bugs.php.net/?id=33959&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=33959&r=trysnapshot4
Try a CVS snapshot (php5.0): 
http://bugs.php.net/fix.php?id=33959&r=trysnapshot50
Try a CVS snapshot (php5.1): 
http://bugs.php.net/fix.php?id=33959&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=33959&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=33959&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=33959&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=33959&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=33959&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=33959&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=33959&r=notwrong
Not enough info:             
http://bugs.php.net/fix.php?id=33959&r=notenoughinfo
Submitted twice:             
http://bugs.php.net/fix.php?id=33959&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=33959&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=33959&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=33959&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=33959&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=33959&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=33959&r=float
No Zend Extensions:          http://bugs.php.net/fix.php?id=33959&r=nozend
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=33959&r=mysqlcfg

Reply via email to