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 pear.phpunit.de

[sudo] password for paul:xxxx

output:

Discovering channel pear.phpunit.de over http failed with message: channel-add: Cannot open “pear.phpunit.de/channel.xml” (Connection to `pear.phpunit.de:80’ failed: No route to host)

Trying to discover channel pear.phpunit.de over https instead

Discovery of channel “pear.phpunit.de” failed (channel-add: Cannot open “pear.phpunit.de/channel.xml” (Connection to `pear.phpunit.de:443’ 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?