当我尝试运行ApiGen时,我得到一个PHP警告:require(Texy.PHP):无法打开流:没有这样的文件或目录

当我尝试运行ApiGen时,我得到一个PHP警告:require(Texy.PHP):无法打开流:没有这样的文件或目录,php,apigen,Php,Apigen,我使用以下命令成功安装了ApiGen: pear channel-discover pear.apigen.org pear channel-discover pear.nette.org pear channel-discover pear.texy.info pear channel-discover pear.kukulich.cz pear channel-discover pear.andrewsville.cz pear install apigen/ApiGen 然后我跑: a

我使用以下命令成功安装了ApiGen:

pear channel-discover pear.apigen.org
pear channel-discover pear.nette.org
pear channel-discover pear.texy.info
pear channel-discover pear.kukulich.cz
pear channel-discover pear.andrewsville.cz

pear install apigen/ApiGen
然后我跑:

apigen -s /home/first.last/path/to/source/directory -d /home/first.last/path/to/destination/directory/
仅获取以下错误:

PHP Warning:  require(Texy.php): failed to open stream: No such file or directory in /usr/bin/apigen on line 48
PHP Stack trace:
PHP   1. {main}() /usr/bin/apigen:0
PHP   2. class_exists('Texy') /usr/bin/apigen:64
PHP   3. spl_autoload_call('Texy') /usr/bin/apigen:64
PHP   4. ApiGen\{closure}($class = 'Texy') /usr/bin/apigen:0
PHP Fatal error:  require(): Failed opening required 'Texy.php' (include_path='.:/usr/share/pear:/usr/share/php') in /usr/bin/apigen on line 48
PHP Stack trace:
PHP   1. {main}() /usr/bin/apigen:0
PHP   2. class_exists('Texy') /usr/bin/apigen:64
PHP   3. spl_autoload_call('Texy') /usr/bin/apigen:64
PHP   4. ApiGen\{closure}($class = 'Texy') /usr/bin/apigen:0
当我跑的时候

locate Texy.php
我明白了:(很明显它就在那里)


这一问题已提交。这是一个错误道路的问题。您将在github链接上找到如何更改路径的答案

此问题已提交。这是一个错误道路的问题。您将在github链接上找到如何更改路径的答案

/usr/share/pear/FSHL/Lexer/Texy.php
/usr/share/pear/FSHL/Lexer/Cache/Texy.php
/usr/share/pear/texy/src/Texy/Texy.php