On 26 October 2012 15:57, Tim Landscheidt tim@tim-landscheidt.de wrote:
Niklas Laxström niklas.laxstrom@gmail.com wrote:
[...]
All of this shouldn't be necessary, as PHPUnit 3.6.12's package.xml clearly declares a dependency on PHP_Timer
= 1.0.1 and <= 1.0.3. In other words: Whatever Niklas used
for update seems to be broken and should be fixed.
Not too clearly apparently, I had this when installing invoker:
sudo pear install phpunit/PHP_Invoker phpunit/phpunit requires package "phpunit/PHP_Invoker" (version >= 1.1.0, version <= 1.1.1), downloaded version is 1.1.2
Then I installed version 1.1.1.
Your problem lies (inter alia) with:
| Fatal error: Call to undefined function php_timer_autoload() in ^^^^^^^^^ | /usr/share/php/PHPUnit/Util/GlobalState.php on line 381
Well wrong package, but I get PHP_Timer 1.0.4 nevertheless. I did some uninstalling and installed 1.0.3 first, but then it broke on some other package.
So I got pissed of and uninstalled everything from pear. Now when I try to install phpunit again I get: sudo pear install --alldeps phpunit/phpunit Duplicate package channel://pear.phpunit.de/File_Iterator-1.3.3 found Duplicate package channel://pear.phpunit.de/File_Iterator-1.3.2 found install failed
-Niklas