Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 159207 - Make dev-php5/pecl-pdo-sqlite use the system sqlite
Summary: Make dev-php5/pecl-pdo-sqlite use the system sqlite
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High critical (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-27 07:01 UTC by Petteri Räty (RETIRED)
Modified: 2006-12-27 13:10 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch against pecl-pdo-sqlite-1.0.1.ebuild (pecl-pdo-sqlite-system.patch,774 bytes, patch)
2006-12-27 07:03 UTC, Petteri Räty (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Petteri Räty (RETIRED) gentoo-dev 2006-12-27 07:01:36 UTC
Currently pecl-pdo-sqlite uses a statically linked copy of sqlite. Unfortunately this version does not know how to read sqlite3 databases created by the sqlite3 version in ~x86. Because of this I modified the pecl-pdo-sqlite ebuild to link against the system installed sqlite3 copy.
Comment 1 Petteri Räty (RETIRED) gentoo-dev 2006-12-27 07:03:49 UTC
Created attachment 104802 [details, diff]
Patch against pecl-pdo-sqlite-1.0.1.ebuild

Makes the ebuild use the system installed copy.
Comment 2 Petteri Räty (RETIRED) gentoo-dev 2006-12-27 11:13:42 UTC
The package also gets the RDEPENDS wrong:
betelgeuse@pena /var/cache/edb/dep/usr $ sqlite3 portage.sqlite
SQLite version 3.3.6
Enter ".help" for instructions
sqlite> select RDEPEND from portage_packages where portage_package_key = "dev-php5/pecl-pdo-sqlite-1.0.1";
=dev-lang/php-5*

I put this in my dev overlay:
http://overlays.gentoo.org/dev/betelgeuse/browser/dev-php5/pecl-pdo-sqlite/pecl-pdo-sqlite-1.0.1.ebuild
Comment 3 Petteri Räty (RETIRED) gentoo-dev 2006-12-27 13:10:39 UTC
Committed after jakub gave me the ok on #gentoo-web.