delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/07/16/15:36:45

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Fri, 16 Jul 2004 15:36:39 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: David J Jones <djjones AT epicworld DOT gotdns DOT com>
cc: cygwin AT cygwin DOT com
Subject: Re: bad interpreter
In-Reply-To: <E1BlUHx-00018k-00@quimby.gnus.org>
Message-ID: <Pine.GSO.4.58.0407161534440.10869@slinky.cs.nyu.edu>
References: <E1BlUHx-00018k-00 AT quimby DOT gnus DOT org>
MIME-Version: 1.0
X-Scanned-By: MIMEDefang 2.39

On Fri, 16 Jul 2004, David J Jones wrote:

> I do not know what I have setup incorrecty:
> Looking over the list I have learned and made sure both ash and bash are
> both in the /bin/ directory and seem to have been installed correctly.
>
> If I run a script with the initial heading of:
>
> #! /bin/bash
>
> I get this error:
>
> bash-2.05b$ ./Test
> bash: ./Test: /bin/bash: bad interpreter: No such file or directory
> bash-2.05b$
>
> If I change the initial heading in my script to this
>
> #! /cygwin/bin/bash
>
> It works.
>
> Can someone please tell me what I have set up incorrectly?
>
> Thank you, hopefully I have given enough examples this time and feel
> this is a specific question.

Please read and follow the Cygwin problem reporting guidelines at
<http://cygwin.com/problems.html>, in particular the part about attaching
(as an uncompressed text *attachment*) the output of "cygcheck -svr" on
your machine.

A WAG: sounds like your mounts are screwed up, but the output requested
above should show this.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

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