No handlers for package.xml version 2.0
pear install -o DB_Table
下载…………………………等了半晌,在下载完之后,本应安装成功的时候,丢出来一句:
No handlers for package.xml version 2.0
这实在是很奇怪的事情,php的xml extension没少装,依赖包也不曾短缺了它的,它怎么就能这样呢?搜索了一把,在Pear的Faq上面找到了答案.
Why do I get “No handlers for package.xml version 2.0″ when I try to install a package?
You are using a PEAR version lower than 1.4.0.
To install the package, you have to update PEAR via:
$ pear upgrade PEAR
This will install the latest available version of PEAR which is capable of installing packages that have only a package.xml version 2.0.
在升级Pear为1.4.11之后,问题解决.
作者: Volcano 发表于September 13, 2006 at 7:44 am
Extory 于 2007-03-02 @ 16:57:13 留言 :
谢谢了,我也遇到相同问题:)
sunny 于 2007-04-17 @ 15:59:32 留言 :
pear upgrade PEAR 运行了这个命令之后,又出了新问题:requires package ‘Structrues_Graph’>=1.0.2
哪位高手指点一下
volcano 于 2007-04-17 @ 19:35:03 留言 :
可以用pear upgrade -o pear
这样会安装依赖包