delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/08/18/19:33:51

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <4A8B3A4A.2000107@cygwin.com>
Date: Tue, 18 Aug 2009 19:33:30 -0400
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.21) Gecko/20090320 Remi/2.0.0.21-1.fc8.remi Lightning/0.9 Thunderbird/2.0.0.21 Mnenhy/0.7.5.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: No etc/passwd (was) Re: (everything!) command not found
References: <4A7EE547 DOT 1070309 AT agora-net DOT com> <4A7F9E88 DOT 2060800 AT cygwin DOT com> <4A859905 DOT 9060206 AT agora-net DOT com> <20090814173519 DOT GB10200 AT ednor DOT casa DOT cgf DOT cx> <4A882621 DOT 90104 AT agora-net DOT com> <f60fe000908160935n4ce711fdqaf2e358602e70291 AT mail DOT gmail DOT com> <4A8AC26D DOT 2010707 AT cygwin DOT com> <4A8B2D0A DOT 7090308 AT agora-net DOT com>
In-Reply-To: <4A8B2D0A.7090308@agora-net.com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

On 8/18/2009 6:36 PM, DY wrote:
> It definitely made a difference.  I never had to do it before, but when
> I did it this time I
> could suddenly do ls and just about everything else inside of cygwin,
> whereas I couldn't
> before I set those things in Windows.
> Here's what I can tell you. I was installing cygwin on a clean machine -
> I just bought it.
> It most definitely didn't have cygwin on it at all. I hadn't copied
> anything over from my
> old hard drive.

OK, thanks for the info.  The reason adding Cygwin to your Windows path
helped is because your postinstall scripts aren't running.  So the path
isn't getting set up properly for the Cygwin environment.  Setting it in
the Windows environment hides/resolves that so Cygwin utilities run as
they should.  There's certainly nothing wrong with adding the Cygwin
paths to the Windows environment, as I mentioned.  It just isn't a
requirement in a successful installation.  Setting CYGWIN_HOME, as I
pointed out, is a no-op.

> Also, what I've done at this point was remove cygwin completely (afaik)
> by doing umount,
> then removing the cygwin directory, then going into the registry and
> removing cygwin and
> something else that had to do with cygwin (I'm sorry - I don't remember
> exactly what it
> was). I then reinstalled cygwin. After reinstalling cygwin, I still
> didn't have etc/passwd
> or etc/group. So I went back to the install process, looked in base,
> chose to reinstall
> base_passwd (fyi, everything in base said "keep"), ran the setup again,
> and then I got
> etc/passwd and etc/group. Then, being afraid that something else hadn't
> installed, I
> reinstalled everything in base.
> Here is the setup.log.full as it stands now. I'm trying to run cygcheck
> as specified in the
> problems page, but I think it's getting stuck in an infinte loop (or is
> it supposed to print out
> what looks like the same thing again and again and again for over 5
> minutes? - a lot of
> ...\Wow6432Node\Wow6432Node\Wow6432Node\... , and the longer it runs,
> the more
> \Wow6432Node\...'s there are before it gets to a bottom line of
> Cygnus Solutions\Cygwin\Program Options).
> Is it at all possible that there's something funny about where I'm
> running setup.exe from?

Ah, so you're on x64.  Presumably WinXP was not?  You'll probably find
that Cygwin 1.7 <http://cygwin.com/#beta-test> handles this better, if
you're interested in trying it.

I can see from your 'setup.log.full' that all your postinstall scripts
are failing.  Do you have any <http://cygwin.com/acronyms/#BLODA> installed?

--
Larry

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019