我想在我的Ubuntu 13.04上安裝phploc,它似乎並沒有在這裏工作是我遵循的步驟。phploc安裝不工作在Ubuntu的
$ sudo pear config-set auto_discover 1
$ sudo pear install phpunit/phploc
phpunit/phploc can optionally use PHP extension "bytekit"
downloading phploc-1.7.4.tgz ...
Starting to download phploc-1.7.4.tgz (10,134 bytes) .....
done: 10,134 bytes
install ok: channel://pear.phpunit.de/phploc-1.7.4 .de/phploc
然後當我鍵入phploc它givies這個錯誤
$ phploc
PHP Warning: require_once(SebastianBergmann/FinderFacade/autoload.php): failed to open stream: No such file or directory in /usr/share/php/SebastianBergmann/PHPLOC/autoload.php on line 44 PHP Stack trace: PHP 1. {main}() /usr/bin/phploc:0 PHP 2. require() /usr/bin/phploc:48 PHP Fatal error: require_once(): Failed opening required 'SebastianBergmann/FinderFacade/autoload.php' (include_path='.:/usr/share/php.;/usr/bin/pear.:/usr/share/php/SebastianBergmann/PHPLOC/') in /usr/share/php/SebastianBergmann/PHPLOC/autoload.php on line 44 PHP Stack trace: PHP 1. {main}() /usr/bin/phploc:0 PHP 2. require() /usr/bin/phploc:48
,這裏是我的PHP包括路徑
$ php -i | grep include <br>
allow_url_include => Off => Off
include_path => .:/usr/share/php.:/usr/bin/pear.:/usr/share/php/SebastianBergmann/PHPLOC/ => .:/usr/share/php.:/usr/bin/pear.:/usr/share/php/SebastianBergmann/PHPLOC/
MYSQL_INCLUDE => -I/usr/include/mysql
xdebug.collect_includes => On => On
and included in the distribution in the file: LICENSE