This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ppm disappeared



----- Original Message ----- From: <paul.hermeneutic@gmail.com>
.
.
$ ppm
Can't locate ActivePerl/PPM/limited_inc.pm in @INC (@INC contains:
/usr/lib/perl5/5.10/i686-cygwin /usr/lib/perl5/5.10 /usr/
lib/perl5/site_perl/5.10/i686-cygwin /usr/lib/perl5/site_perl/5.10
/usr/lib/perl5/vendor_perl/5.10/i686-cygwin
/usr/lib/perl5/vendor_perl/5.10 /usr/lib/perl5/vendor_perl/5.10
/usr/lib/perl5/site_perl/5.8 /usr/lib/perl5/vendor_perl/5.8 .) at
/cygdrive/c/Perl/bin/ppm line 4.
BEGIN failed--compilation aborted at /cygdrive/c/Perl/bin/ppm line 4.

You're running /cygdrive/c/Perl/bin/ppm - which is the ActivePerl ppm utility, *not* the Cygwin ppm utility. (I didn't know Cygwin had a ppm utility btw.) Apparently, the ActivePerl ppm utility needs ActivePerl/PPM/limited_inc.pm, but can't find that file in your Cygwin build of perl - which is hardly surprising.


(Not exactly sure of the mechanism that leads to ActivePerl's ppm finding Cygwin's perl instead of ActivePerl's perl - but that's what's happening.)

The problem would probably go away if you removed /cygdrive/c/Perl/bin/ppm from Cygwin's $PATH - or at least put it at the end of $PATH.

In installing ActivePerl, the system environment variable was probably altered to include C:/Perl/bin, and your bash shell is picking it up from there.

Cheers,
Rob



-- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]