delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/07/10/02:13:54

X-Spam-Check-By: sourceware.org
Date: Sun, 9 Jul 2006 23:13:43 -0700
From: Yitzchak Scott-Thoennes <sthoenna AT efn DOT org>
To: cygwin AT cygwin DOT com
Subject: Re: In scripts suddenly must use perl.exe rather than perl
Message-ID: <20060710061343.GC2932@efn.org>
References: <Xns97FB8835C5CB7zzappergmailcom AT 80 DOT 91 DOT 229 DOT 5> <20060709200309 DOT GA2652 AT efn DOT org> <Xns97FBF076E60B1zzappergmailcom AT 80 DOT 91 DOT 229 DOT 5>
Mime-Version: 1.0
In-Reply-To: <Xns97FBF076E60B1zzappergmailcom@80.91.229.5>
User-Agent: Mutt/1.4.2.1i
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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

On Sun, Jul 09, 2006 at 10:38:19PM +0000, zzapper wrote:
> Yitzchak Scott-Thoennes <sthoenna AT efn DOT org> wrote in
> news:20060709200309 DOT GA2652 AT efn DOT org: 
> 
> > On Sun, Jul 09, 2006 at 12:23:24PM +0000, zzapper wrote:
> >> Hi,
> >> 
> >> I have a few (ancient) shell scripts which call perl scripts (which 
> >> perform MySql queries), since a few days these have stopped working
> >> (may have been since recent coreutils update)
> > 
> > What does "stopped working" mean?
> YST
> I just get no output from the perl (doesn't produce any error)
> 
> 
> >> c:/usr/local/bin/perl sdbk.pl $*  (hard path to activestate perl)
> >> 
> >> to get them working again I have to change perl to perl.exe
> >> 
> >> c:/usr/local/bin/perl.exe sdbk.pl $* 
> >> 
> 
> > 
> > What happens when you try running them directly from a shell prompt
> > (using the same shell as your shell script)?
> 
> It's just the same

What does sdbk.pl do?  If you put a

 BEGIN { print "started!\n"; }

line at the beginning, does it print it?

> > 
> > cygcheck output?
> > 
> Do you want all?
> cygcheck -s

Sorry, should have been more explicit.  Bug reports should be accompanied
by cygcheck -srv output, attached as a text attachment, not inline.

Where did you actually install activeperl?  And what output do you get from:

  ls -l c:/usr/local/bin

(It's kind of odd that you have a /usr/local/bin set up outside of
c:/Cygwin.)

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