delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/07/05/16:02:16

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
Mail-Followup-To: cygwin AT cygwin DOT com
To: cygwin AT cygwin DOT com
From: Paul Moore <pf_moore AT yahoo DOT co DOT uk>
Subject: Re: Problem installing cygwin - no PATH, mounts, /etc/passwd ...
Date: Tue, 05 Jul 2005 20:50:15 +0100
Lines: 53
Message-ID: <u4qb96nig.fsf@yahoo.co.uk>
References: <SERRANOhWVz6g6m8XFl000003b3 AT SERRANO DOT CAM DOT ARTIMI DOT COM> <Pine DOT GSO DOT 4 DOT 61 DOT 0507051102320 DOT 7386 AT slinky DOT cs DOT nyu DOT edu>
Mime-Version: 1.0
X-Archive: encrypt
Mail-Copies-To: never
User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (windows-nt)
X-IsSubscribed: yes

Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu> writes:

> On Tue, 5 Jul 2005, Dave Korn wrote:
[...]
>> Found: C:\Cygwin\bin\cp.exe
>> Found: C:\Utils\GnuWin32\bin\cp.exe
>> Warning: C:\Cygwin\bin\cp.exe hides C:\Utils\GnuWin32\bin\cp.exe
> [snip more of the same]
>> Not Found: sh
>
> !!!!!!!!!!!!!!!!!!!!!!!!!!!!!
>
>> --------------------------------snip--------------------------------
>>
>>   Shoulda removed the ages-old GnuWin32 install as well, I reckon!  All
>> those incorrect versions of command line utilities will have made a
>> hideous botch of running the postinstall scripts, and will mess up the
>> /etc/profile and ~/.bashrc and other startup scripts, and will be
>> interfering with pretty much everything you do when you try to use the
>> cygwin install...

Hmm, I could be offended by that :-) The GnuWin32 stuff is not
"ages-old", it's right up to date. Also, I have it on my other
machine at home (which worked) so I don't see how it could be the
issue. And finally, as Igor mentions below, my reading of the output
is that the cygwin stuff overrides the GnuWin32 stuff, so that the
existence of GnuWin32 shouldn't affect it.

Nevertheless, I did try removing GnuWin32 (removed it from PATH, and
temporarily renamed the directory as well), but it made no
difference. Thanks for the suggestion, though.

> I don't see why it should.  Setup does prepend the Cygwin /bin and
> /usr/bin directories to the PATH (see init_run_script in script.cc), so
> the Cygwin versions should be picked up by the postinstall scripts.
>
> I'd be much more concerned about the "Not found: sh" line above (marked
> with '!'s).  Did the OP unselect "ash" when installing Cygwin?  Since he
> did "Install from Local Directory", was the ash tarball corrupted or
> missing?

*That's* the problem. For some reason, my local directory wasn't
complete. I could swear that when I downloaded it, setup.exe
completed without any warnings or error messages, but obviously
something went wrong. Whatever it was, when I did a reinstall from the
net plus the local cache, everything worked fine.

Thanks very much for taking the time to diagnose what turned out to
be dumb user error.

Paul.
-- 
This signature intentionally left blank


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