3
我想设置PHP Plugin for Sonar,并且此插件需要特定版本的特定软件包。通过梨(用于声纳)安装phpunit/PHPUnit-3.5.5
所以,当我试图使用下面的命令安装PHPUnit 3.5.5时,它正在安装更新的版本。我做错了什么?
[VMWARE] [email protected] ~
# pear install phpunit/PHPUnit-3.5.5
Did not download optional dependencies: phpunit/PHP_Invoker, use --alldeps to download automatically
phpunit/PHPUnit can optionally use PHP extension "dbus"
phpunit/PHPUnit can optionally use PHP extension "soap"
phpunit/DbUnit requires package "phpunit/PHPUnit" (version >= 3.6.0), downloaded version is 3.5.5
phpunit/PHPUnit requires package "phpunit/DbUnit" (version >= 1.0.0)
phpunit/PHPUnit can optionally use package "phpunit/PHP_Invoker" (version >= 1.1.0)
downloading PHPUnit_Selenium-1.2.1.tgz ...
Starting to download PHPUnit_Selenium-1.2.1.tgz (23,083 bytes)
.......done: 23,083 bytes
downloading PHPUnit-3.6.10.tgz ...
Starting to download PHPUnit-3.6.10.tgz (118,595 bytes)
...done: 118,595 bytes
install ok: channel://pear.phpunit.de/PHPUnit-3.6.10
install ok: channel://pear.phpunit.de/PHPUnit_Selenium-1.2.1
[VMWARE] [email protected] ~
'phpunit/DbUnit'需要''phpunit/PHPUnit“(版本> = 3.6.0)',安装后,安装更高版本。卸载它并告诉pear代替安装哪个版本的DBUnit,例如与PHPUnit 3.5.5一起工作的那个。但是,该插件可能也适用于PHPUnit 3.6.10,所以这实际上没有任何问题? (先查看) – hakre 2012-02-01 16:44:50
不,看起来不适用于3.6.10 ....我会尝试用你的建议先安装dbunit – bluszcz 2012-02-01 16:49:07
pear安装phpunit/DbUnit-1.0.0 phpunit/PHPUnit-3.5.5 phpunit/PHPUnit_Selenium -1.0.1 – bluszcz 2012-02-01 17:13:48