分类: LINUX
2010-03-05 10:45:59
Can't locate Net/DNS/RR/A.pm in @INC (@INC contains: /usr/lib/perl5/5.8.8 /usr/lib/perl5/5.8.5 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5 PERL2EXE_STORAGE /usr/local/fonality/hud /tmp/p2xtmp-27755) at (eval 72) line 3.
So I did:
locate A.pm
and saw:
/usr/lib/perl5/5.8.8/Class/ISA.pm
/usr/lib/perl5/5.8.8/Net/FTP/A.pm
/usr/lib/perl5/vendor_perl/5.8.8/LWP/RobotUA.pm
/usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/Apache/TestSSLCA.pm
/usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/Net/DNS/RR/A.pm
/usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/Net/DNS/RR/AAAA.pm
/usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/Net/DNS/RR/SOA.pm
To fix/workaround the problem, I simply:
cd /usr/lib/perl5/5.8.8/Net
ln -s /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/Net/DNS
Then it worked. Hopefully this helps others as well.
Ryan Courtnage
chinaunix网友2010-03-08 16:03:28
如果您有一技之长,请到淘师宝发帖子收徒弟; 如果您想学习一门技能,请到淘师宝发帖子拜师傅; 拜师傅,收徒弟,到淘师宝,网址:www.taoshibao.com