delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/04/07/16:14:56

X-Recipient: archive-cygwin AT delorie DOT 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 AT dessent DOT net>
X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: 1.5.25-11 Bash? Problem installing unattended on Server 2008
References: <OF5C695E07 DOT E9EDACA1-ONC1257424 DOT 002C5DA0-C1257424 DOT 003EFC58 AT de DOT ibm DOT com>
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT com
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

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019