在尝试git add -i
导致以下错误,当(1.8.1.2)错误:Git的交互方式将
Can't locate Error.pm in @INC (@INC contains: /usr/share/perl/5.14.2
/etc/perl
/usr/local/lib/perl/5.14.2
/usr/local/share/perl/5.14.2
/usr/lib/perl5
/usr/share/perl5
/usr/lib/perl/5.14
/usr/share/perl/5.14
/usr/local/lib/site_perl
.) at /usr/share/perl5/Git.pm line 101.
BEGIN failed--compilation aborted at /usr/share/perl5/Git.pm line 101.
Compilation failed in require at /usr/lib/git-core/git-add--interactive line 7.
BEGIN failed--compilation aborted at /usr/lib/git-core/git-add--interactive line 7.
我已经在所有添加文件手动或任何其他git的操作过程中,没有任何问题是Perl是不是找到Error.pm
的正确版本,或者它没有附带我的git软件包。
我还没有尝试在一段时间内做一个交互式添加,所以我不能说这是什么时候开始的。
@uDaY显然,我必须等待2天才能接受我自己的回答。 –
s/be'cpan Error.pm'? – cerberos
@cerberos是的,无论是用'cpan'还是'cpanm',只要你安装了Error.pm就可以再次工作。 :-) –