X-Spam-Check-By: sourceware.org
Message-ID: <c62c8d860704220738t24a8f084jd24c37e689daa2d6@mail.gmail.com>
Date: Sun, 22 Apr 2007 10:38:00 -0400
From: "Michael D. Adams" <mdmkolbe@gmail.com>
To: cygwin@cygwin.com
Subject: Re: Setup.exe Problems on Vista
In-Reply-To: <462B002F.A1E27066@dessent.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
References: <c62c8d860704211850p64ebd2b1y79c063a9d2a4fb26@mail.gmail.com> 	 <462B002F.A1E27066@dessent.net>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On 4/22/07, Brian Dessent <brian@dessent.net> wrote:
> "Michael D. Adams" wrote:
>
> > 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.)
>
> That would be pretty brain dead if Vista did not allow programs to
> modify the PATH.  That would cause about a million failures in Cygwin
> and various programs.

See Morgan's responce.  It's brain dead, but that's Vista for you.

> > OS: Vista Home Premium
> > Setup.exe Version: 2.510.2.2 (run without administraitor permission)
>
> Please try the latest setup.exe snapshot, if you can.  And even better
> would be to debug the problem.  I don't have access to a Vista system
> but if I did I think I would start by running it under gdb/insight and
> putting a breakpoint at script.cc:run() right before CreateProcess and
> check the environment.  Or create a test package with a postinstall that
> just runs "env > /tmp/foo" or "sleep 1h" or something so that you can
> inspect the environment.

Where are those snapshots located?  A quick google didn't turn them up.

Since I already have a Cygwin install, does Cygwin play ok if I put a
second install (for testing the snapshot) or do I need to remove the
old Cygwin install first?

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

