delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/04/25/12:22:54

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Wed, 25 Apr 2001 11:37:20 -0400
From: Christopher Faylor <cgf AT redhat DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Broken Bash 2.05? a configure can't find /bin/sh
Message-ID: <20010425113720.B8744@redhat.com>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <8F23E55D511AD5119A6800D0B76FDDE11E0F7A AT cpex3 DOT channelpoint DOT com>
Mime-Version: 1.0
User-Agent: Mutt/1.3.11i
In-Reply-To: <8F23E55D511AD5119A6800D0B76FDDE11E0F7A@cpex3.channelpoint.com>; from troy.noble@channelpoint.com on Wed, Apr 25, 2001 at 08:59:41AM -0600

On Wed, Apr 25, 2001 at 08:59:41AM -0600, Troy Noble wrote:
>bash doesn't get installed as /bin/sh, it gets installed as /bin/bash.

I'm not sure why you are making this observation.  The error that
Dennis is reporting is that he couldn't find /bin/sh.  The error
is coming *from* bash but there is no indication that he wants
/bin/bash to be copied to /bin/sh.

The solution is probably to rerun setup.exe and specifically select
'ash'.  If it seems to be installed, uninstall it and then reinstall it.

If that still doesn't solve the problem then 'cygcheck -r -s -v' output
will probably pinpoint the problem.

>The "ash" package (a Bourne shell clone) is the one that actually gets
>installed as /bin/sh.  So if you didn't install ash*.tar.gz, you've
>likely not got a /bin/sh.
>
>What we've done to get around this is install the "bash" package, but
>not the "ash" package, and then we:
>
>cp -p /bin/bash.exe /bin/sh.exe
>
>and that ensures that we are always running bash and that /bin/sh
>is always there.  We've standardized on BASH for our purposes here,
>so this is acceptable practice for our environment.
>
>YMMV.

Indeed.  Please don't do this, or even recommend it unless you really
know what you're doing.  Suggesting that people with problems modify
their installation in a non-standard way is generally not good advice.

cgf

>-----Original Message-----
>From: Dennis Wilson [mailto:lincwils AT teleport DOT com]
>Sent: Tuesday, April 24, 2001 8:08 PM
>To: cygwin AT cygwin DOT com
>Subject: Broken Bash 2.05? a configure can't find /bin/sh
>
>
>I ungraded my cygwin on my Win2k system. It now can't find sh.
>I did not do anything but run the setup and accept the packages that needed
>to be upgraded.
>
>I was working on building tcl and when I went back into the directory to run
>the configure script I got the following message.
>
>$ ./configure --enable-gcc
>bin/bash .configure: bad interpreter: no such file or directory.
>
>What appears to be going on is that the pathing has changed and /bin/sh is
>no longer valid.
>Any ideas??
>
>
>--
>Want to unsubscribe from this list?
>Check out: http://cygwin.com/ml/#unsubscribe-simple
>
>--
>Want to unsubscribe from this list?
>Check out: http://cygwin.com/ml/#unsubscribe-simple

-- 
cgf AT cygnus DOT com                        Red Hat, Inc.
http://sources.redhat.com/            http://www.redhat.com/

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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