X-Spam-Check-By: sourceware.org
Message-ID: <4615254D.60608@agilent.com>
Date: Thu, 05 Apr 2007 09:35:25 -0700
From: Mike R Brown <mike_brown@agilent.com>
User-Agent: Mozilla/5.0 (X11; U; HP-UX 9000/785; en-US; rv:1.4) Gecko/20030707
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: perl problem with cygwin path
References: <461504C3.8090907@agilent.com> <02f901c7778d$8cd100b0$2e08a8c0@CAM.ARTIMI.COM>
In-Reply-To: <02f901c7778d$8cd100b0$2e08a8c0@CAM.ARTIMI.COM>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com


Dave Korn wrote:
> On 05 April 2007 15:17, Mike R Brown wrote:
> 
> 
>>    For example 'echo $HOME' within a bash shell returns
>>/cygdrive/c/users/charlie which is the correct path.  On previous version of
>>Cygwin's Perl the statement...  $home = $ENV{HOME} , which should just
>>return the environmental variable HOME, returns /cygpath/c/users/charlie
>>which of coarse is correct.  The newer version of Perl returns
>>c:\users\charlie which is the Windows way of stating the path to home.  
> 
> 
> <puts on blindfold, holds one hand to forehead while making a concentrating
> face and waves fingers of other hand out dramatically in front of self like a
> stage mind-reader>
> 
>   You have activestate perl installed on that box and it's earlier in the path
> than cygwin perl.  Setup is correctly showing you the cygwin version - which
> you then aren't invoking.
> 
> 
>     cheers,
>       DaveK
Dave,
	Activestate perl is not installed on that box.  The first thing I checked for. 
  The only Perl is installed /use/bin/perl.  A 'which perl' also confirms that. 
  Another thing I did to confirm this is rename the perl.exe under /usr/bin/ and 
copy the perl.exe from the other box into this location.  The scripts now all 
work correctly.  The rouge perl is coming from the Cygwin setup program.

Mike


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

