Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
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
Date: Mon, 13 Sep 2004 14:57:33 -0400
From: Christopher Faylor <cgf-no-personal-reply-please@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: Installation hangs because asks for input from terminal (Attn: tetex maintainer, setup maintainer)
Message-ID: <20040913185733.GC21468@trixie.casa.cgf.cx>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <41416E12.30103@math.md> <Pine.GSO.4.61.0409101300420.5749@slinky.cs.nyu.edu> <87llfenmgx.fsf@peder.flower> <Pine.GSO.4.61.0409131355080.13303@slinky.cs.nyu.edu> <874qm2nigl.fsf@peder.flower> <Pine.GSO.4.61.0409131423110.13303@slinky.cs.nyu.edu> <87d60qm23w.fsf@peder.flower>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <87d60qm23w.fsf@peder.flower>
User-Agent: Mutt/1.4.1i

On Mon, Sep 13, 2004 at 08:54:11PM +0200, Jan Nieuwenhuizen wrote:
>Igor Pechtchanski writes:
>
>> Not really.  As Max said, the environment in which the postinstall scripts
>> run is the same as the one you'd get when you run them on the command line
>> (albeit from a non-login /bin/sh).  That environment will contain all of
>> the Windows-set environment variables.  If the tools require that some
>> variables be unset (because they might throw the tools off, for example),
>> the variables have to be unset in the postinstall script -- setup.exe
>> can't be expected to know all of the variables potentially conflicting
>> with all of the packages.
>
>No, of course.  That's why I'd like to have an empty (rather than a
>cleaned) environment, isn't that possible?  That sounds cleaner than
>fixing all scripts?

No, you can't have a completely empty environment on Windows.  There
are some environment variables that really have to be there.

cgf

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

