X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
Message-ID: <47FA8022.19D56206@dessent.net>
Date: Mon, 07 Apr 2008 13:12:18 -0700
From: Brian Dessent <brian@dessent.net>
X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U)
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: 1.5.25-11 Bash? Problem installing unattended on Server 2008
References: <OF5C695E07.E9EDACA1-ONC1257424.002C5DA0-C1257424.003EFC58@de.ibm.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Reply-To: cygwin@cygwin.com
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.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

Christoph Herdeg wrote:

> manually executing /etc/profile works without any problem - but what can we
> draw from this?

I draw the conclusion that there is some environmental difference when
NSIS launches cygwin.bat.

> Adding the "set -x" produces the following output (also run
> manually):
>
> My hint would be that there is nothing wrong in these
> lines..."ibm:customize_cygwin.sh" would be our script to further customize
> the installation. However: /etc/profile is not executed automatically. It's
> quite a pity but it does not help to see it working when executed
> manually...Remember: It doesn't work ONLY in the case that "cygwin.bat" is
> run by the Nullsoft-Installer. ONLY then the "bash: cannot create temp file
> for here document: Bad address" -error happens

Right, so, can you arrange for there to be a "set -x" at the top of
/etc/profile when the installer runs it to help figure out why it
fails?  You could temporarily edit the base-files package to achieve
this.

Brian

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

