[PHP-users 31905] Re: php で imagemagick
Masaaki Suga
suga @ tenrikyo.or.jp
2007年 4月 11日 (水) 15:00:55 JST
須賀です
okuyama @ workgroup.jp wrote:
>
> pear のバージョンが古い??
>
> http://www.php.net/manual/en/install.pecl.php
> _______________________________________________
go-pear.php を使うやり方で,やってみましたが,
以下のような結果となりました
Starting installation ...
Loading zlib: failed
Downloading uncompressed packages
Downloading package: PEAR-stable......ok
Downloading package: Archive_Tar-stable....ok
Downloading package: Console_Getopt-stable....ok
Downloading package: Structures_Graph-stable....ok
Downloading package: HTML_Template_IT-stable....ok
Downloading package: Net_UserAgent_Detect-stable....ok
Downloading package: PEAR_Frontend_Web-alpha....ok
Bootstrapping: PEAR...................(remote) ok
Bootstrapping: Archive_Tar............(remote) ok
Bootstrapping: Console_Getopt.........(remote) ok
Extracting installer..................ok
warning: pear/PEAR requires package "pear/Archive_Tar" (version >= 1.3.1)
warning: pear/PEAR requires package "pear/Console_Getopt" (version >= 1.2)
warning: pear/PEAR requires package "pear/Structures_Graph" (version >= 1.0.2)
pear/PEAR can optionally use package "pear/XML_RPC" (version >= 1.4.0)
pear/PEAR can optionally use package "pear/PEAR_Frontend_Web" (version >= 0.5.0)
pear/PEAR can optionally use package "pear/PEAR_Frontend_Gtk" (version >= 0.4.0)
install ok: channel://pear.php.net/PEAR-1.5.2
No releases available for package "pear.php.net/Archive_Tar" Cannot initialize 'pear/Archive_Tar', invalid or missing package file Package "Array" is not valid install failed
zlibはsolarisのパッケージがはいっているのですが
failed となります
この状態で,peclコマンドやpearコマンドがインストールされているので
ためしに,
#pecl install imagick
してみると,以下のようなエラーが出ます(やはりinstallが不完全だからか・・・)
Warning: main(Console/Getopt.php): failed to open stream: No such file or directory in System.php on line 27
Warning: main(Console/Getopt.php): failed to open stream: No such file or directory in /usr/local/pear/PEAR/System.php on line 27
Fatal error: main(): Failed opening required 'Console/Getopt.php' (include_path='/usr/local/pear/PEAR') in /usr/local/pear/PEAR/System.php on line 27
だんだん泥沼に入ってきたような感じです
どなたかアドバイスお願いします
よろしくお願いします
-------------------------------
須賀正明:suga @ tenrikyo.or.jp
-------------------------------
PHP-users メーリングリストの案内