月度存档: 八月 2010

Fedora OS解决TwitVIM oauth错误

最近TwitVIM版本更新,并加入了oauth认证功能,不过Fedora OS用户可能会发现如下错误:

Can't locate Digest/HMAC_SHA1.pm in @INC (@INC contains: /usr/local/lib/perl5/
si te_perl/5.10.0/i386-linux-thread-multi /usr/local/lib/perl5/site_perl/5.10.0
/usr/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/
5.10.0 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.10.0/i386-linux-thread-multi
/usr/lib/perl5/5.10.0 /usr/lib/perl5/site_perl .) at (eval 3) line 1.Error
detected while processing function <SNR>8_get_timeline..<SNR>8_run_curl_oauth..
<SNR>8_do_oauth..<SNR>8_getOauthResponse..<SNR>8_hmac_sha1_digest..
<SNR>8_perl_hmac_sha1_digest:

这是由于系统缺少perl-Digest-HMAC造成的。
使用如下命令解决问题:

yum install perl-Digest-HMAC
www.000webhost.com