go to bug id or search bugs for
The same issue has been reported as http://pecl.php.net/bugs/bug.php?id=5000, I don't know why it has been marked bogus, but I'm quite sure it's a bug in config.m4 from PDO_SQLITE.
The problem only occours with PHP 5.0.4 and lastest 5.0-dev, not with PHP 5.1.
If I try to install PDO_SQLITE-1.0RC1 on PHP-5.0.4, I get errors during make, that sqlite3.h could not be found. Only if I copy it from sqlite/src/ (bundled with PECL PDO_SQLITE package) to "." the error disappears. But after that more files are missing: parse.h and sqliteInt.h. I also copy them to ".", solves the problem, but again other files missing...
Only if I do
cp sqlite/src/*.h .
the pdo_sqlite.so is created. The patch to config.m4 I posted in the other bug was a dirty hack, which worked for PDO_SQLITE-0.9, but fails for 1.0RC1, because more header files are missing.
install PHP 5.0.4
pear install PDO-beta
pear install PDO_SQLITE-beta
should install PDO and PDO_SQLITE
does not create/install PDO_SQLITE, make fails with errors caused by missing sqlite header files
Add a Patch
Add a Pull Request
Fixed in CVS; the next PECL release should work for you.
Thanks Wez, the fix works for me. Tested with PHP 5.0.5 and 5.1.0 RC1.
Sadly there is a new issue with loading latest PECL pdo.so now: http://pecl.php.net/bugs/bug.php?id=5514