PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » PEAR » PEAR » Bug #9552

Cannot install packages - No handlers for package.xml version 2.0

Details

Submitted2006-12-05 22:08 UTC
Frombnamka at yahoo dot com
StatusBogus
PackagePEAR
PHP Version4.3.10
OSFreeBSD 4.8-STABLE
Roadmaps(Not assigned)

Comments

[2006-12-05 22:08 UTC] bnamka at yahoo dot com

Description:
------------
I did a "pear upgrade-all" and am running pair-1.4.11.
I tried to install HTML_Table and got the following error ...

No handlers for package.xml version 2.0

I have searched and have seen some others with this problem without a resolution.

The only suggested solution calls for upgrading the PEAR package ... but, I have already done that and the problem persists. Help.

Test script:
---------------
%pear upgrade pear
downloading PEAR-1.4.11.tgz ...
Starting to download PEAR-1.4.11.tgz (283,272 bytes)
..........................................................done: 283,272 bytes
Optional dependencies:
package `PEAR_Frontend_Web' version >= 0.5.0 is recommended to utilize some features.
package `PEAR_Frontend_Gtk' version >= 0.4.0 is recommended to utilize some features.
package `PEAR_Frontend_Gtk2' version >= 0.1.0 is recommended to utilize some features.
upgrade ok: PEAR 1.4.11
%pear install HTML_Table
downloading HTML_Table-1.7.5.tgz ...
Starting to download HTML_Table-1.7.5.tgz (14,789 bytes)
.....done: 14,789 bytes
No handlers for package.xml version 2.0
%

[2006-12-06 05:23 UTC] bnamka at yahoo dot com

%pear -V
PEAR Version: 1.3.2
PHP Version: 4.3.10
Zend Engine Version: 1.3.0
Running on: FreeBSD qs999.pair.com 4.8-STABLE FreeBSD 4.8-STABLE #0: Fri Apr i386

[2006-12-06 15:19 UTC] bnamka at yahoo dot com

Okay. Thanks ... The "pear -V" command was useful. It indicated that i was using an old version of PAIR ...
When I looked at the "pair" shell script I discovered that it was not finding my local installation of pair (I am on a shared server environment.) So, I simply had to set the following env variable before running pair and all is well in my world.

export PHP_PEAR_INSTALL_DIR=/path/to/my/pair/installation

[2006-12-06 15:20 UTC] bnamka at yahoo dot com

In the previous comment, PAIR should be PEAR. :-)