public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* ppm disappeared
@ 2008-07-12 22:55 paul.hermeneutic
  2008-07-13  0:36 ` Sisyphus
  0 siblings, 1 reply; 2+ messages in thread
From: paul.hermeneutic @ 2008-07-12 22:55 UTC (permalink / raw)
  To: cygwin

After installing Activestate Perl on the Windows side, I no longer
have a 'ppm' command on the Cygwin side.  I ran the Cygwin setup and
reinstalled Perl, but that did not make it work.  Any ideas or
suggestions?


$ 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.

--
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/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: ppm disappeared
  2008-07-12 22:55 ppm disappeared paul.hermeneutic
@ 2008-07-13  0:36 ` Sisyphus
  0 siblings, 0 replies; 2+ messages in thread
From: Sisyphus @ 2008-07-13  0:36 UTC (permalink / raw)
  To: paul.hermeneutic, cygwin


----- 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/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-07-13  0:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-07-12 22:55 ppm disappeared paul.hermeneutic
2008-07-13  0:36 ` Sisyphus

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).