+ -
当前位置:首页 → 问答吧 → 安装模块时遇到的问题

安装模块时遇到的问题

时间:2010-11-20

来源:互联网

新安装的rhel5.5 下载了LWP模块 一步一步走
执行perl Makefile.PL后有一些提示
Warning: prerequisite Compress::Raw::Zlib 0 not found.
Warning: prerequisite HTML:arser 3.33 not found.
Warning: prerequisite HTML::Tagset 0 not found.
Warning: prerequisite IO::Compress:eflate 0 not found.
Warning: prerequisite IO::Compress::Gzip 0 not found.
Warning: prerequisite IO::Uncompress::Gunzip 0 not found.
Warning: prerequisite IO::Uncompress::Inflate 0 not found.
Warning: prerequisite IO::Uncompress::RawInflate 0 not found.
执行make test后问题更多了
Failed Test              Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
base/message-charset.t      2   512    36   60 166.67%  7-36
base/message-old.t          2   512    20   22 110.00%  10-20
base/message.t              2   512   125   36  28.80%  90 93-97 111-125
base/request.t                         11    1   9.09%  3
base/ua.t                              14    2  14.29%  13-14
html/form-maxlength.t     255 65280    12   24 200.00%  1-12
html/form-multi-select.t  255 65280     2    4 200.00%  1-2
html/form-param.t           2   512    22   44 200.00%  1-22
html/form-selector.t        2   512    12   24 200.00%  1-12
html/form.t                 2   512   127  254 200.00%  1-127
local/autoload-get.t        2   512     1    1 100.00%  1
local/autoload.t                        1    1 100.00%  1
local/http.t                           54    3   5.56%  25-26 54
robot/ua-get.t                          8    1  12.50%  5
robot/ua.t                              7    1  14.29%  5
Failed 15/37 test scripts, 59.46% okay. 247/1154 subtests failed, 78.60% okay.
make: *** [test] Error 255
这个算正常吗

作者: remark   发布时间: 2010-11-20

cpan 会不会用……用 Makefile.pl 安装的都是远古人吧

那么多依赖,cpan 会自动给你解决的

作者: zhlong8   发布时间: 2010-11-20