Installation of Phpunity Skeletongenerator requires Consoletools

Asked

Viewed 37 times

-3

When trying to install Skeletongenerator, the following error occurs:

servidor@ubuntu$ sudo pear install phpunit/PHPUnit_SkeletonGenerator
[sudo] password for servidor: 
Unknown remote channel: components.ez.no
phpunit/PHPUnit_SkeletonGenerator requires package "channel://components.ez.no/ConsoleTools" (version >= 1.6)
No valid packages found
install failed
  • I post a question with my answer to share knowledge if someone has the same problem that I and someone comes and denies me. Is something wrong here? So comment, P****!

1 answer

2

To resolve I included the dependency channel:

servidor@ubuntu$ sudo pecl channel-discover components.ez.no

Adding Channel "components.ez.no" succeeded
Discovery of channel "components.ez.no" succeeded

And then I installed the Skeleton:

servidor@ubuntu$ sudo pear install --alldeps phpunit/PHPUnit_SkeletonGenerator

downloading PHPUnit_SkeletonGenerator-1.2.1.tgz ...
Starting to download PHPUnit_SkeletonGenerator-1.2.1.tgz (11,376 bytes)
.....done: 11,376 bytes
downloading ConsoleTools-1.6.1.tgz ...
Starting to download ConsoleTools-1.6.1.tgz (869,994 bytes)
...done: 869,994 bytes
downloading Base-1.8.tgz ...
Starting to download Base-1.8.tgz (236,357 bytes)
...done: 236,357 bytes
install ok: channel://components.ez.no/Base-1.8
install ok: channel://components.ez.no/ConsoleTools-1.6.1
install ok: channel://pear.phpunit.de/PHPUnit_SkeletonGenerator-1.2.1

Browser other questions tagged

You are not signed in. Login or sign up in order to post.