Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Message-Id: <4.3.1.2.20001023144115.01ffe8c0@pop.ma.ultranet.com>
X-Sender: lhall@pop.ma.ultranet.com
X-Mailer: QUALCOMM Windows Eudora Version 4.3.1
Date: Mon, 23 Oct 2000 14:44:40 -0400
To: "John J. Lee" <phrxy@csv.warwick.ac.uk>, cygwin@sources.redhat.com
From: "Larry Hall (RFK Partners, Inc)" <lhall@rfk.com>
Subject: Re: UNC paths and executables
In-Reply-To: <Pine.SOL.4.21.0010231928570.1382-100000@mimosa.csv.warwick
 .ac.uk>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"

At 02:38 PM 10/23/2000, John J. Lee wrote:

>I installed cygwin a few days ago, and was able to run some perl scripts
>over a windows fileshare using UNC names: //host/perl/site/bin/script.pl
>worked fine, unless I'm imagining things.  Now, mysteriously, it has
>stopped working:
>
>$ cd //host/perl/site/bin/script
>$ ls
>[... lots, including script.pl ...]
>$ script.pl
>bash: //host/perl/site/bin/script.pl: No such file or directory
>$ //host/perl/site/bin/script.pl
>bash: //host/perl/site/bin/script.pl: No such file or directory
>$ ./script.pl
>bash: ./script.pl: No such file or directory
>$ less script.pl
>[script displayed fine by less]
>
>None of the other scripts work either, and they're all world-readable and
>world-executable.
>
>What's going on?
>
>
>John



I don't know how you ran this a few days ago but your problem appears to 
be that Perl isn't found (or maybe that the version you are running is a
Windows one).  Its hard to tell for sure without a cygcheck -s -r -v and/or
a look at your script though.  Try adding the proper #! line to your script.
Also, check the mail archives about this kind of problem.  You'll find a 
number of queries and responses, some as recently as today!



Larry Hall                              lhall@rfk.com
RFK Partners, Inc.                      http://www.rfk.com
118 Washington Street                   (508) 893-9779 - RFK Office
Holliston, MA 01746                     (508) 893-9889 - FAX


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

