centos gitsvn

Initialized empty Git repository in /home/lphu/test/.git/
Can't locate SVN/Core.pm in @INC (@INC contains: /usr/local/lib/perl5/site_perl/5.8.8 /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8 .) at /usr/local/libexec/git-core/git-svn line 42.

 

sudo yum install subversion-tools

 

 

Can't locate Term/ReadKey.pm

 

在linux系统中安装perl程序编译的最后几步或者已经安装完成、运行程序时,可能会出现“Can't locate Term/ReadKey.pm in @INC” 的错误。

 
 
Term::ReadKey - A perl module for simple terminal control

      Term::ReadKey is a compiled perl module dedicated to providing simple control over terminal driver modes (cbreak, raw, cooked, etc.,) support for non-blocking reads, if the architecture allows, and some generalized handy functions for working with terminals. One of the main goals is to have the functions as portable as possible, so you can just plug in "use Term::ReadKey" on any architecture and have a good likelyhood of it working.
 
       以上来源于cpan.org对于Term::ReadKey的说明,可以看出Term::ReadKey是一个已经编译好的模块,能够为各种终端驱动模式提供控制。我认为Term::ReadKey类似于一个底层框架,为各种perl程序提供支持。
 
 
 
解决方法 :
 
在终端中输入
 
#cpan,
 
如果不行,则输入
 
#perl -MCPAN -e "shell".
 
然后出现cpan>提示符后,输入命令
 
install Term::ReadKey.

正常情况下, 系统就会自动寻找合适的镜像站点,从网络安装Term::ReadKey.
再编译或运行,程序就可以了。

转载于:https://www.cnblogs.com/tosimple/archive/2012/09/15/2686811.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值