X-Spam-Check-By: sourceware.org Message-ID: <457E20EA.70803@byu.net> Date: Mon, 11 Dec 2006 20:24:26 -0700 From: Eric Blake User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.8) Gecko/20061025 Thunderbird/1.5.0.8 Mnenhy/0.7.4.666 MIME-Version: 1.0 To: "Kenneth Evans, Jr." CC: cygwin AT cygwin DOT com Subject: Re: Postinstall Problem with 01bash.bat References: <000d01c71d3c$710673c0$433d36a4 AT Yoda> In-Reply-To: <000d01c71d3c$710673c0$433d36a4@Yoda> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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 According to Kenneth Evans, Jr. on 12/11/2006 8:52 AM: > Hi, > >> What do the following say? > >> $ ls -l /bin/sh.exe /bin/bash.exe >> $ bash --version >> $ sh --version > > C:\Documents and Settings\evans>ls -l /bin/sh.exe /bin/bash.exe > -rwxrwxrwx 1 evans Users 484352 Dec 6 08:17 /bin/bash.exe > -rwxrwxrwx 1 evans None 451072 Feb 26 2006 /bin/sh.exe A permissions problem,... > > C:\Documents and Settings\evans>cp /bin/bash.exe /bin/sh.exe > cp: cannot create regular file `/bin/sh.exe': Device or resource busy compounded by the fact that sh was in use at the time. > > A dialog says: The procedure entry point rl_getenv_hook could not be located > in the link library cygreadline6.dll. Afterward, I couldn't exit the > command shell (Eventually I got the not-responding dialog.) The dialog box is normal when you have the old 3.0 bash as /bin/sh, but upgraded readline successfully. > > I killed three bash.exe processes and one sh.exe. Then it ran. Then I ran > setup.exe, and it finished. Cool. If I could have found that information > earlier, it would have saved a lot of time. There are too many Google hits > on this problem. I guess we still don't know what was wrong, either. Phooey - now that you have gotten rid of the problem, I can't do any more debugging via your system. I'm still trying to reproduce the failure, by manually sourcing /etc/profile.d/00bash.sh, but so far it seems I am just catching list users, like you, reporting failure that is solved by a simple cp, but where the postinstall script did not work. - -- Life is short - so eat dessert first! Eric Blake ebb9 AT byu DOT net -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFfiDq84KuGfSFAYARArS+AJ9pE6y6XNe8qDw6AFsu1kSppxv4+gCgylnT ZR2+XhQCg76t0ADgyXIF4AU= =/HwU -----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/