首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Ubuntu14.04上安装phpDocumentor时出错

Ubuntu14.04上安装phpDocumentor时出错
EN

Ask Ubuntu用户
提问于 2015-02-26 01:01:24
回答 1查看 1.3K关注 0票数 0

我正试图按照phpDocumentor上的指令通过PEAR安装phpDocumentor2 GitHub回购。我在Lubuntu桌面上使用Ubuntu14.04(信任)。

第2步sudo pear install phpdoc/phpDocumentor给出了以下错误:

代码语言:javascript
复制
could not extract the package.xml file from "/build/buildd/php5-5.5.9+dfsg/pear-build-download/phpDocumentor-2.8.2.tgz"
Download of "phpdoc/phpDocumentor" succeeded, but it is not a valid package archive
Error: cannot download "phpdoc/phpDocumentor"
Download failed
install failed

会有什么问题吗?

EN

回答 1

Ask Ubuntu用户

发布于 2015-03-03 03:41:16

实际上,与用pear解压缩可下载内容有关的错误。要解决此问题,请在--nocompress之后使用install选项。

试试这个:

sudo pear install --nocompress phpdoc/phpDocumentor

另一个站点建议简单地提取所下载的pear文件并运行upgrade并提取结果。有关更多细节,请参见这里

注:

这将下载phpDocumentor未压缩源代码(大约。67 MBytes)

来源:

https://bugs.php.net/bug.php?id=67075

票数 1
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/590037

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档