Error from Perl when running git add -p

James Darnley james.darnley@gmail.com
Wed Mar 11 23:36:00 GMT 2015


(Now I need a different message and to remember to uncheck encryption.)

Earlier today I ran setup.exe to update Cygwin and packages.  Now when I
try to use git add -p (one of its iterative modes) I get an error from
Perl (I assume) that it cannot find Error.pm in @INC

(I should really learn to not update things)

Here's the full output:
> $ git add -p
> Can't locate Error.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.14 /usr/lib/perl5/site_perl/5.14/i686-cygwin-threads-64int /usr/lib/perl5/vendor_perl/5.14/i686-cygwin-threads-64int /usr/lib/perl5/vendor_perl/5.14 /usr/lib/perl5/5.14/i686-cygwin-threads-64int /usr/lib/perl5/5.14 .) at /usr/lib/perl5/vendor_perl/5.14/Git.pm line 103.
> BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.14/Git.pm line 103.
> Compilation failed in require at /usr/libexec/git-core/git-add--interactive line 7.
> BEGIN failed--compilation aborted at /usr/libexec/git-core/git-add--interactive line 7.

I have seen large changes regarding Perl on the cygwin-announce list so
perhaps it was split off into some other package.  I searched for error
in setup.exe and saw that I do have perl-Error installed.

Can anyone help me try to solve this?


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 603 bytes
Desc: OpenPGP digital signature
URL: <http://cygwin.com/pipermail/cygwin/attachments/20150311/43f53355/attachment.sig>


More information about the Cygwin mailing list