www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/07/12/20:36:59

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <3538B2A184F54DEEB8A8B5501D679AAD@desktop2>
From: "Sisyphus" <sisyphus1 AT optusnet DOT com DOT au>
To: <paul DOT hermeneutic AT gmail DOT com>, <cygwin AT cygwin DOT com>
References: <4a89b8680807121555t61b37ea3o772a4e4c04b363f7 AT mail DOT gmail DOT com>
In-Reply-To: <4a89b8680807121555t61b37ea3o772a4e4c04b363f7@mail.gmail.com>
Subject: Re: ppm disappeared
Date: Sun, 13 Jul 2008 10:35:31 +1000
MIME-Version: 1.0
X-Mailer: Microsoft Windows Mail 6.0.6001.18000
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

----- Original Message ----- 
From: <paul DOT hermeneutic AT gmail DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019