PHPUnit and PEAR problem

im having trouble with this output

$ phpunit -c protected/tests/ protected/tests/functional/SiteTest.php

then gives an output of

PHP Warning: require_once(PHP/CodeCoverage/Filter.php): failed to open stream: No such file or directory in /usr/bin/phpunit on line 38

PHP Fatal error: require_once(): Failed opening required ‘PHP/CodeCoverage/Filter.php’ (include_path=’.:/usr/share/php:/usr/share/pear’) in /usr/bin/phpunit on line 38

and another problem

$ sudo pear channel-discover

[sudo] password for paul:xxxx


Discovering channel over http failed with message: channel-add: Cannot open “” (Connection to `’ failed: No route to host)

Trying to discover channel over https instead

Discovery of channel “” failed (channel-add: Cannot open “” (Connection to `’ failed: Connection refused))

can someone help me to fix this.

thanks in advance.

This is an include_path / pear installation issue.

Since development environment / platform / os varies per developer, you may find it difficult to get direct help, with the information provided.

Check that your pear is installed correctly?