www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/02/19/09:22:30

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.5 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <499D5CAD.6010308@gmail.com>
References: <77f1b2160902190235t6b57482alad5b6e13b3f14a0e AT mail DOT gmail DOT com> <499D47E5 DOT 5000703 AT gmail DOT com> <77f1b2160902190415y4c81a14ai4711aa1e19eee436 AT mail DOT gmail DOT com> <499D5CAD DOT 6010308 AT gmail DOT com>
Date: Thu, 19 Feb 2009 15:22:16 +0100
Message-ID: <77f1b2160902190622o70b71e80sc328fe50918626db@mail.gmail.com>
Subject: Re: Installation problem - "unix" root doesn't work
From: Michel Wozniak <wozmic AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

Hi Dave,

Your last mail gave a hint to me. The fact that bash.exe exists in one
place and doesn't exist in another place made me think about
cygwin1.dll
Actually, I looked for it on my disk and I found a tool which included
in it an old version of cygwin1.dll.
Apparently, the installation of this tool was somewhat buggy because
the DLL was registered (loaded) but declared in the registry under an
another name... Something strange.
So, I got to erase it, restart the install and all went well.

That's tricky because you could register cygwin1.dll manually, it
worked well. But when anybody wanted to use the registered DLL, it
used not the new one, but rather the old one.

I suppose it's due to a crash or so.

Thank you very much for your help and for your sharp eye.

Michel Wozniak


2009/2/19 Dave Korn <dave DOT korn DOT cygwin AT googlemail DOT com>:
>
>  Oh, and another thing occurred to me:
>
> Michel Wozniak wrote:
>
>> So, I cleaned all the entries you asked from the user and system PATH
>> env, and I relaunched an installation.
>>
>> The result is the same.
>
>  Another question we should try and answer:
>
>> If you launch it manually, you get :
>>   C:\cygfiles>C:\cygwin\bin\bash.exe -c /etc/postinstall/update-info-dir.sh
>>   /cygdrive/c/cygwin/bin/bash: /etc/postinstall/update-info-dir.sh: No
>> such file or directory
>
>  How come bash.exe is clearly existing in the bin dir here ^^^^
>
>> The cygcheck -s -r -v gives :
>>
>> Cygwin Configuration Diagnostics
>> Current System Time: Thu Feb 19 13:12:56 2009
>
>> C:\cygwin/bin  /usr/bin   system  binmode
>
>> Not Found: bash
>  ^^^^^^^^^^^^^^^^^
>
> .... but not here ...
>
>> bash                 3.2.48-21
>
> .... but it thinks the package is there ?  That's strange; what's actually in
> the bin dir?  Were there any errors in setup.log when it unpacked bash?
>
>  Maybe if you run through setup twice, the first time round get it to do
> absolutely nothing except reinstall bash, then try again once bash is working
> with a reinstall-on-top as described in the last post.
>
>    cheers,
>      DaveK
>
> --
> 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/
>
>

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