Re: PDO pear 1.3.5 install bug

From: Date: Sun, 20 Feb 2005 05:05:38 +0000
Subject: Re: PDO pear 1.3.5 install bug
References: 1  Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-2037@lists.php.net to get a copy of this message
Gavin Roy wrote:
gentoo dev-php # pear help version PEAR Version: 1.3.5 PHP Version: 5.0.3 Zend Engine Version: 2.0.3 Running on: Linux gentoo 2.6.10-gentoo-r6 #1 SMP Thu Jan 20 22:19:58 PST 2005 i686 gentoo dev-php # pear install pdo-beta ... Build process completed successfully Installing '/var/tmp/pear-build-root/install-PDO-0.2.4//usr/lib/extensions/no-debug-non-zts-20041030/pdo.so' Installing '/var/tmp/pear-build-root/install-PDO-0.2.4//usr/include/php/ext/pdo/php_pdo.h' Installing '/var/tmp/pear-build-root/install-PDO-0.2.4//usr/include/php/ext/pdo/php_pdo_driver.h' install ok: PDO 0.2.4 gentoo dev-php # pear install pdo_pgsql-beta downloading PDO_PGSQL-0.2.tgz ... Starting to download PDO_PGSQL-0.2.tgz (8,722 bytes) .....done: 8,722 bytes 'pdo' PHP extension is not installed PDO_PGSQL: Dependencies failed
Add pdo to your php.ini before installing pdo_pgsql, or install using -f "pear install -f pdo_pgsql". Incidentally, this will not be truly fixable until PEAR 1.4.x, when a package dependency with a providesextension can be used. Why? The new pecl command uses the -n switch that ignores php.ini, so my suggestion won't make any difference, the only way to detect pdo will be through the package registry. Greg

« previous php.pecl.dev (#2037) next »