php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #33959 Failure when compiling pdo_sqlite
Submitted: 2005-08-02 05:26 UTC Modified: 2010-12-20 11:56 UTC
From: bugs at bmuskalla dot de Assigned:
Status: Not a bug Package: SQLite related
PHP Version: 5CVS-2005-08-02 (dev) OS: Gentoo (2.6)
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: bugs at bmuskalla dot de
New email:
PHP Version: OS:

 

 [2005-08-02 05:26 UTC] 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


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-08-02 07:54 UTC] sniper@php.net
Get the latest CVS, it's fixed already.

 [2010-12-20 11:56 UTC] jani@php.net
-Package: Tidy +Package: SQLite related
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 17:01:58 2024 UTC