Chinaunix首页 | 论坛 | 博客
  • 博客访问: 259981
  • 博文数量: 56
  • 博客积分: 1190
  • 博客等级: 少尉
  • 技术积分: 640
  • 用 户 组: 普通用户
  • 注册时间: 2011-09-21 17:05
文章分类

全部博文(56)

文章存档

2014年(2)

2013年(4)

2012年(46)

2011年(4)

我的朋友

分类: LINUX

2012-01-06 10:18:15

If you're trying to run some perl related script, but get this error

Can't locate LWP/UserAgent.pm in @INC ...

then you'll need to install libwww-perl.  To do that, type:

wget
tar xvzf libwww-perl-5.837.tar.gz
cd libwww-perl-5.837
perl Makefile.PL
make
make install



Another possible solution:

perl -MCPAN -e 'install Bundle::LWP'

阅读(4055) | 评论(0) | 转发(1) |
给主人留下些什么吧!~~