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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

Add a Patch

Pull Requests

Add a Pull Request

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-2022 The PHP Group
All rights reserved.
Last updated: Wed Nov 30 14:05:55 2022 UTC