delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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 |
Message-ID: | <323270-22003221118548311@M2W033.mail2web.com> |
X-Priority: | 3 |
Reply-To: | lhall AT rfk DOT com |
X-Originating-IP: | 209.113.174.244 |
From: | "lhall AT pop DOT ma DOT ultranet DOT com" <lhall AT pop DOT ma DOT ultranet DOT com> |
To: | jmapoles AT yahoo DOT com, cygwin AT cygwin DOT com |
Subject: | RE: New install, script execution, bad interpreter |
Date: | Tue, 11 Feb 2003 13:05:48 -0500 |
MIME-Version: | 1.0 |
X-OriginalArrivalTime: | 11 Feb 2003 18:05:48.0374 (UTC) FILETIME=[348FF760:01C2D1F8] |
X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id h1BI67U31570 |
First you'll want to look at <http://cygwin.com/bugs.html>. The output of cygcheck as mentioned there (among other things) will likely be quite helpful in understanding your installation. Pay particular attention to your mount points and types (text vs binary). If this doesn't help you determine the problem, send this as directed by <http://cygwin.com/bugs.html> with your script and where you're running it from to the list. That may be enough context for someone here to see where you're going wrong. Larry Original Message: ----------------- From: john mapoles jmapoles AT yahoo DOT com Date: Tue, 11 Feb 2003 08:41:14 -0800 (PST) To: cygwin AT cygwin DOT com Subject: New install, script execution, bad interpreter I recently re-installed cygwin. The install went well but I have one problem concerning executing scripts. I usually use the perl that comes with cygwin but for some work I need ActiveState modules and I have a script that will call ActiveState as outlined by Mark Parris http://www.cs.unc.edu/~jeffay/dirt/FAQ/cygwin-perl.html This is a bash script (starts with #!/bin/bash) and resides at /usr/local/bin/perl. To call ActiveState I start a script with #!/usr/local/bin/perl rather that #!/usr/local/perl. This has all worked very well untill the re-install. Now when I call active state I get (using the script testAS): bash: ./testAS: /usr/local/bin/perl: bad interpreter: No such file or directory I've check a number of things. The scripts are all unix, dos2unix has no effect. Running a simple bash script works fine, althought ?? if I move the script to my bin directory and back it will not work. cyg> testSH bash cyg> mv testSH ./bin cyg> testSH bash cyg> mv ./bin/testSH . cyg> testSH bash: /home/jmapoles/bin/testSH: No such file or directory cyg> Thanks for any help, John Mapoles __________________________________________________ Do you Yahoo!? Yahoo! Shopping - Send Flowers for Valentine's Day http://shopping.yahoo.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ -------------------------------------------------------------------- mail2web - Check your email from the web at http://mail2web.com/ . -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |