delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <c62c8d860704211850p64ebd2b1y79c063a9d2a4fb26@mail.gmail.com> |
Date: | Sat, 21 Apr 2007 21:50:47 -0400 |
From: | "Michael D. Adams" <mdmkolbe AT gmail DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Setup.exe Problems on Vista |
MIME-Version: | 1.0 |
X-IsSubscribed: | yes |
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 |
I recently installed Cygwin on Vista and found a few problems but also a workaround that I haven't seen documented on the mailing list archives so here it goes. Setup.exe appears to finish successfully when it is run. However, the /etc/postinstall scripts do not actually run correctly. This is evidenced by the absence of any /etc/bin/sh.exe which is supposed to be installed by /etc/postinstall/00ash.sh.done. Other indicators that the install didn't run correctly are: the prompt is left at the bash default instead of the nicely colored one that Cygwin normally sets it to, and the home directly of the user is wrong (something like / or /bin I don't remember which). The workaround for this problem that I have found is to set the *Windows* path to include C:\cygwin\bin before running setup.exe. So for example this sequence works: set PATH=C:\cygwin\bin;%PATH% setup.exe Then /bin/sh is actually created, the prompt is the usual Cygwin settings, etc. Of course the proper solution would be to find and fix the root cause. Is this a known bug? Is there any other info I can provide to help find the root cause? (I'm suspicious that Vista might not allow the program to set PATH.) OS: Vista Home Premium Setup.exe Version: 2.510.2.2 (run without administraitor permission) Michael D. Adams mdmkolbe AT gmail DOT com -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |