# pear install Structures_Graph
WARNING: channel "pear.php.net" has updated its protocols, use "pear channel-update pear.php.net" to update
downloading Structures_Graph-1.0.3.tgz ...
Starting to download Structures_Graph-1.0.3.tgz (30,191 bytes)
.........done: 30,191 bytes

Warning: PEAR_Downloader::require_once(Structures/Graph.php): failed to open stream: No such file or directory in

PEAR/Downloader.php on line 1191
PHP Warning:  PEAR_Downloader::require_once(Structures/Graph.php): failed to open stream: No such file or directory

in /usr/share/pear/PEAR/Downloader.php on line 1191
PHP Fatal error:  PEAR_Downloader::require_once(): Failed opening required 'Structures/Graph.php'

(include_path='/usr/share/pear') in /usr/share/pear/PEAR/Downloader.php on line 1191

 

提示找不到“Structures/Graph.php”,可以手动安装:

下载:wget http://download.pear.php.net/package/Structures_Graph-1.0.3.tgz

tar zxf Structures_Graph-1.0.3.tgz

cp -R Structures_Graph-1.0.3/Structures /usr/share/pear/

再执行:

pear install HTML_Template_IT-1.3.0

成功完成!