delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/05/30/06:51:46

X-Spam-Check-By: sourceware.org
Message-ID: <465D5720.6000002@gmail.com>
Date: Wed, 30 May 2007 11:51:12 +0100
User-Agent: Thunderbird 1.5.0.10 (X11/20070331)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Problem with setup.exe - C:\cygwin\bin\* isn't created
References: <NFBBIKEPELAJOLFJHOFNGEIEDPAA DOT schoppe AT germanynet DOT de> <f3jieb$isf$1 AT sea DOT gmane DOT org> <000e01c7a2a3$d45a38c0$2e08a8c0 AT CAM DOT ARTIMI DOT COM>
In-Reply-To: <000e01c7a2a3$d45a38c0$2e08a8c0@CAM.ARTIMI.COM>
From: Dave <kilroyd AT googlemail DOT com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

Dave Korn wrote:
> On 30 May 2007 11:08, Thorsten Kampe wrote:
>> * Jean-Pierre Bogler (Wed, 30 May 2007 07:16:42 +0200)
>>> The download process worked well an the installation began. After the
>>> installation I decided to add a desktop icon and double clicked on it.
>>> The dos box told me that it can't change the directory und can't find
>>> bash.exe :(, so I looked into the C:\cygwin directory.
>>>
>>> The only installed directories are: etc, lib, sbin, usr, var. And the
>>> files: cygwin.bat and cygwin.ico. There is no bin directory!
>>> The setup.log file is full of the complaining listed below (... means that
>>> the message above appears more than once).
>>>
>   Yes, but that's very far from an explanation of just how on earth the bin directory got installed in such an unexpected place, particularly when all the other directories ended up in the correct location.

I've seen this before. To reproduce:

1. Install cygwin to some directory, say "c:\bizarro_path".
2. Optionally uninstall cygwin.
3. Install cygwin to another directory, "c:\cygwin"

The first install set up your /bin mount to point to "c:\bizarro_path\bin".

During the second install setup.exe places almost everything in
c:\cygwin. However the contents of /bin go to the existing mount point
at "c:\bizarro_path\bin". This is necessary so cygwin updates work when
you've mounted bin somewhere non-standard.

Specifically, when this problem happens cygwin.bat tries to run bash in
c:\cygwin\bin\bash.exe which is not there.

Simple enough to fix, just clear you mounts and reinstall.
c:\bizarro_path\bin\umount -a (IIRC)

I was thinking of submitting a patch to setup to warn users of /bin
being in a non-standard location relative to the install path, but
reasoned this is:

a) not a very frequent occurence
b) usually the user trying to do something strange*


Regards,

DaveK2.

* Having multiple cygwins scattered about the place, and in some cases
running them concurrently.

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