public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Jean-Paul Bouchet <jean-paul.bouchet@avignon.inra.fr>
To: cygwin@cygwin.com
Subject: Re: Installer of Cygwin 64 seems to freeze when executing /etc/postinstall/xlaunch.sh - version 2.874
Date: Fri, 03 Jun 2016 15:28:00 -0000	[thread overview]
Message-ID: <5751A1A1.5060603@avignon.inra.fr> (raw)
In-Reply-To: <77a45ea2-150d-ec6d-7e29-dd2a94be8a97@dronecode.org.uk>

Hello,
May be is the value of PATH the problem?
When I launch, by a double click on the bash.exe file, a cygwin bash 
shell (C:\cygwin64\bin\bash.exe) and I display $PATH, I don't find any 
cygwin directory in the list, but a list of windows directories:
/cygdrive/c/Windows/system32:/cygdrive/c/Windows:/cygdrive/c/Windows/System32/Wbem: 
...

So, when I execute in the cygwin bash shell  the command '/bin/sh -x 
/etc/postinstall/xlaunch.sh.done', I get the same errors than those I 
get when I execute 'C:\cygwin64\bin\sh -x 
/etc/postinstall/xlaunch.sh.done' in the windows command interpreter:
the command 'uname' is unknown.

If I change the value of PATH with PATH=/cygdrive/c/cygwin64/bin:$PATH 
and export PATH, the execution of 'sh -x 
/etc/postinstall/xlaunch.sh.done' don't give any errors.

What is the value of PATH when the installation executes the set of 
postinstall scripts ?

Jean-Paul Bouchet

On 03/06/2016 14:41, Jon Turney wrote:
> On 02/06/2016 17:22, Jean-Paul Bouchet wrote:
>> Please find attached the script /etc/postinstall/xlaunch.sh and the
>> output of its execution (file postinstall_xlaunch.txt).
>
> Thanks.
>
> I guess this doesn't reproduce the problem (freezing), as this is just 
> what I would expect to see when running the script without the PATH set?
>
> Perhaps you could try again from a cygwin bash shell?
>


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

  reply	other threads:[~2016-06-03 15:28 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <574DBD95.1060202@avignon.inra.fr>
2016-06-02 13:22 ` Jon Turney
2016-06-02 16:24   ` Jean-Paul Bouchet
2016-06-03 12:41     ` Jon Turney
2016-06-03 15:28       ` Jean-Paul Bouchet [this message]
2016-06-03 15:59         ` Ken Brown
2016-06-06 13:49         ` Jon Turney

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5751A1A1.5060603@avignon.inra.fr \
    --to=jean-paul.bouchet@avignon.inra.fr \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).