首页 > 未分类 > 用CPAN安装perl包HTTP::Proxy的问题及解决

用CPAN安装perl包HTTP::Proxy的问题及解决

2007年4月1日 发表评论 阅读评论

系统fedora core 4 + perl 5.8.6
用cpan模块儿(perl -MCPAN -e shell)安装perl包HTTP::Proxy的时候报错:

t/90diveintomark….ok 7/22# Failed test (t/90diveintomark.t at line 75)
# got: ’500′
# expected: ’302′
t/90diveintomark….ok 21/22 make: *** wait: No child processes. Stop.
make: *** Waiting for unfinished jobs….
make: *** wait: No child processes. Stop.
/usr/bin/make test — NOT OK
Running make install
make test had returned bad status, won’t install without force

到”t/90diveintomark….ok 21/22“这一步会停留很长时间
google了一把
发现HTTP::Proxy需要

HTTP::Daemon 1.36
LWP::UserAgent 2.033
Test::More 0.60

所以要求这几种包及其版本
然后我就install HTTP::Daemon
发现HTTP::Daemon is up to date.
然后install LWP::UserAgent
又是up to date.
最后install Test::More
这下开始安装了
OK后
再重新install HTTP::Proxy就没问题了

原创文章,转载请注明: 转载自嘻嘻哈哈的部落格(blog)

本文链接地址: 用CPAN安装perl包HTTP::Proxy的问题及解决

分类: 未分类 标签: ,
  1. 本文目前尚无任何评论.
  1. 本文目前尚无任何 trackbacks 和 pingbacks.

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word