delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/08/27/10:55:17

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Andrew DeFaria <Andrew AT DeFaria DOT com>
Subject: Re: Changing HOME for PERL
Date: Thu, 27 Aug 2009 07:53:04 -0700
Lines: 33
Message-ID: <h766kg$359$2@ger.gmane.org>
References: <CC93624851A47D42AFD22FB06BCD2D9A0234B8A7 AT CORPUSMX80B DOT corp DOT emc DOT com> <4A959537 DOT 7020900 AT bopp DOT net> <CC93624851A47D42AFD22FB06BCD2D9A0234B90D AT CORPUSMX80B DOT corp DOT emc DOT com> <4A95AA6A DOT 9010909 AT bopp DOT net> <CC93624851A47D42AFD22FB06BCD2D9A0234BB33 AT CORPUSMX80B DOT corp DOT emc DOT com> <4A9697B2 DOT 6050101 AT bopp DOT net> <CC93624851A47D42AFD22FB06BCD2D9A0234BBCD AT CORPUSMX80B DOT corp DOT emc DOT com>
Mime-Version: 1.0
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
In-Reply-To: <CC93624851A47D42AFD22FB06BCD2D9A0234BBCD@CORPUSMX80B.corp.emc.com>
X-Stationery: 0.4.10
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

Dexter_Michael AT emc DOT com wrote:
> Before I go and end this thread can you tell me if the Perl.exe I have 
> in Cygwin looks correct?
>
> I can cd /usr/bin and the Perl there is:
>
> dextem AT USENDEXTEML1C /usr/bin
> $ ls -la Perl.exe
> -rwxrwxrw-+ 1 dextem mkgroup-l-d 34304 Jul 19 2007 Perl.exe
>
> I am not seeing the 'x' for execute however and maybe this is the issue?
This is odd. You do know that Unix, thus Cygwin, implements a case 
sensitive file system (in most cases) and that Perl.exe is not the same 
as perl.exe. I've never seen a Perl.exe in Cygwin and alas I have no 
more Windows machines at home to test on.

Given the above I do see an "x" - actually two of them - one for owner 
and one for group. You are the owner (dextem) so you have execute 
permissions. (BTW: the mkgroup thing is trying to tell you to run 
mkgroup > /etc/group).

Aside from reporting your particulars as described in 
http://cygwin.com/problems.html, it would be interesting to show the 
output of "which perl" and try a "perl -de 1" to start up Perl in it's 
debugger from the command line. If that works then the shebang line 
should work. If the shebang line is not working then I would thing "perl 
-de 1" would also not work and may output enlightening stuff.
-- 
Andrew DeFaria <http://defaria.com>
Now they show you how detergents take out bloodstains. I think if you've 
got a T-shirt with a bloodstains all over it, maybe laundry isn't your 
biggest problem. Maybe you should get rid of the body before you do the 
wash.


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

- Raw text -


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