This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Q] About halting problems at installation of cygwin


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

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

> -----Original Message-----
> From: cygwin-owner@XXXXXXXX [mailto:cygwin-owner@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@byu.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]