delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/07/27/08:40:41

X-Spam-Check-By: sourceware.org
Message-ID: <44C8B43A.9000505@byu.net>
Date: Thu, 27 Jul 2006 06:40:26 -0600
From: Eric Blake <ebb9 AT byu DOT net>
User-Agent: Thunderbird 1.5.0.4 (Windows/20060516)
MIME-Version: 1.0
To: =?EUC-KR?B?sei/tcDn?= <toto AT lge DOT com>
CC: cygwin AT cygwin DOT com, =?EUC-KR?B?waS6tLG5?= <win1020 AT lge DOT com>
Subject: Re: [Q] About halting problems at installation of cygwin
References: <OEEKLGEMJOIGCCPNCJPIOEAKCCAA DOT toto AT lge DOT com>
In-Reply-To: <OEEKLGEMJOIGCCPNCJPIOEAKCCAA.toto@lge.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Reformatted to avoid top-posting: http://cygwin.com/acronyms/#TOFU

> -----Original Message-----
> From: cygwin-owner AT XXXXXXXX [mailto:cygwin-owner AT XXXXXXX]On Behalf
                     ^^^^^^^^                      ^^^^^^^
Please avoid raw email addresses in your replies:
http://cygwin.com/acronymns#PCYMTNQREAIYR

>>> I run the setup.exe and follow the installation precedure. After
finishing installation of the whole package, the setup program was trying
to launch post-install procedure. But the progress bar didn't advance
after that point, which shows /etc/postinstall/00ash.sh for 8 hours.
>
> What does /var/log/setup.log.full say about that installation attempt?
>
>>> So, I cannot help but cancelling the setup program and at that moment
installation complete pop appeared. But Start-program-cygwin
>>>
>>> menu was not created, and I cannot compile my AMSS source code because
/bin/sh doesn't exist.
>
> /bin/sh is missing because 00ash.sh didn't run to completion.  We need to
> solve why that didn't happen, although running setup.exe again may help.
>
>>> What are the problems, and How can I finish my installation procedure?
>>>
>>> Plz, Help me.
>>>
>
> Help us help you.  Follow the directions at
> http://cygwin.com/problems.html, and attach, as a text file, the output of
> 'cygcheck -svr' so we can see where things currently stand for you.

Your attachments were binary, not text.

According to ±è¿µÀç on 7/25/2006 6:09 PM:
> Thank you for your kindness and response.
> 
> I tried another way to install cygwin after sending the mail.
> I had choosed ftp.kaist.ac.kr as a download server. But I switched the server from ftp.kaist.ac.kr to kernel.org.
> In this case, 00ash.sh procedure have passed, but same problem occured at coreutils.sh.
> I attatch /var/log/setup.log.full and cygcheck.out from cygchck -svr > cygcheck.out.
> I really want to install cygwin.

My apologies to the list for not being more explicit in suggesting that
only the relevant portions of setup.log.full (or at least a compressed
attachment, rather than plain text) be sent - NEVER drop a multi-megabyte
file on a mailing list without good cause.

In your cygcheck:
> Found: C:\Apps\Perl\bin\perl.exe
> Found: C:\Apps\cygwin\bin\perl.exe
> Warning: C:\Apps\Perl\bin\perl.exe hides C:\Apps\cygwin\bin\perl.exe

I doubt that is the problem, but it is worth investigating.

sh appeared to install correctly based on the cygcheck output.

In your setup.log.full, you had lots of these messages:
> 2006/07/25 17:12:47 io_stream_cygfile: fopen failed 2 No such file or
directory

My recollection is that this has been improved in a recent snapshot of
setup.exe - who is in charge of releasing the next setup.exe version?

> 2006/07/25 17:32:58 running: C:\Apps\cygwin\bin\bash.exe -c
/etc/postinstall/aalib.sh
> /usr/bin/bash: /etc/postinstall/aalib.sh: /bin/sh: bad interpreter: No
such file or directory
> 2006/07/25 17:33:01 running: C:\Apps\cygwin\bin\bash.exe -c
/etc/postinstall/apache.sh
> /usr/bin/bash: /etc/postinstall/apache.sh: /bin/sh: bad interpreter: No
such file or directory
> 2006/07/25 17:33:01 running: C:\Apps\cygwin\bin\bash.exe -c
/etc/postinstall/apache2.sh
> /usr/bin/bash: /etc/postinstall/apache2.sh: /bin/sh: bad interpreter: No
such file or directory
> 2006/07/25 17:33:01 running: C:\Apps\cygwin\bin\bash.exe -c
/etc/postinstall/00ash.sh
> 2006/07/25 17:33:02 abnormal exit: exit code=0

Hmm - when doing a global install of every single cygwin package (which
usually isn't recommended, but is what you did), it looks like the
setup.exe sort method of postinstall scripts is alphabetical by package
name, not by postinstall name.  I wish we could get a setup.exe that
sorted by dependency order instead.

> 2006/07/25 17:33:12 running: C:\Apps\cygwin\bin\bash.exe -c
/etc/postinstall/coreutils.sh
> 2006/07/26 08:48:30 mbox note: Installation Complete
> 2006/07/26 08:48:31 Ending cygwin install

And that must have been where you killed the process.  Phooey, it didn't
leave any bread crumbs as to why you thought it was hung.  Some of the
postinstalls do take a long time, but I don't recall seeing coreutils'
script ever hang.

- --
Life is short - so eat dessert first!

Eric Blake             ebb9 AT byu DOT net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEyLQ584KuGfSFAYARAlJUAKCQXZYV+jUycvc9Ggk9kU+nUWW67ACfbEEr
S0EnMMIIKiq6pOA6ajbSKTY=
=kD1J
-----END PGP SIGNATURE-----

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