On Mon, 09 Jan 2012 09:26:24 +0100, Krinkle wrote:
On Fri, Jan 6, 2012 at 8:06 PM, OQ overlordq@gmail.com wrote:
On Fri, Jan 6, 2012 at 12:56 PM, Dan Nessett dnessett@yahoo.com wrote:
On Thu, 05 Jan 2012 14:03:14 -0600, OQ wrote:
uninstall the pear version and do a make install.
Didn't work.
# make install ./install-phpunit.sh Installing phpunit with pear Channel "pear.phpunit.de" is already initialized Adding Channel "components.ez.no" succeeded Discovery of channel "components.ez.no" succeeded Channel "pear.symfony-project.com" is already initialized Did not download optional dependencies: pear/Image_GraphViz, pear/Log, symfony/YAML, use --alldeps to download automatically phpunit/PHPUnit can optionally use package "pear/Image_GraphViz" (version
= 1.2.1)
phpunit/PHPUnit can optionally use package "pear/Log" phpunit/PHPUnit can optionally use package "symfony/YAML" (version >= 1.0.2) downloading PHPUnit-3.4.15.tgz ... Starting to download PHPUnit-3.4.15.tgz (255,036 bytes) .....................................................done: 255,036 bytes install ok: channel://pear.phpunit.de/PHPUnit-3.4.15
Dunno then, it installed 3.6.3 for me. Hopefully somebody here knows a bit more about pear :)
I remember having a similar issue when I first installed phpunit on my Mac. Although I don't know the exact command, I remember having to update some central installer proces by PEAR ("channel" ?) to the latest version, which still had an old version in it's (local?) database.
Krinkle
So this thread is complete, Ubuntu 8.04 is pinned to PHP 5.2.4 through the standard distribution channels. PHPUnit 5.3 requires at least PHP 5.2.7. I looked around and could find no simple way to upgrade to PHP 5.2.x, x >= 7 on Ubuntu 8.04. I could have downloaded and tried to upgrade manually, but frankly I didn't want to handle all of the version incompatibily insanity that would entail.
For the record, here is an explanation how to update the pear channels for PHPUnit 5.3 - http://sebastian-bergmann.de/archives/897- PHPUnit-3.5.html