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: <000e01c7a2a3$d45a38c0$2e08a8c0 AT CAM DOT ARTIMI DOT COM> In-Reply-To: <000e01c7a2a3$d45a38c0$2e08a8c0@CAM.ARTIMI.COM> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit From: Dave Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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/