delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/11/05/08:29:01

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Reply-To: <jseidel AT edpci DOT net>
From: "Jon Seidel CMC" <jseidel AT edpci DOT net>
To: <cygwin AT cygwin DOT com>
References: <05B265426F7B48C8BCF6738F3FC22D1E AT EDP19>
Subject: RE: Installation corrupt...
Date: Mon, 5 Nov 2007 05:28:31 -0800
Message-ID: <005d01c81faf$c2f98750$a000000a@EDP17>
MIME-Version: 1.0
X-Mailer: Microsoft Office Outlook 11
In-Reply-To: <05B265426F7B48C8BCF6738F3FC22D1E@EDP19>
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

The problem is related to Vista security: by default, cygwin tries to put
the home directory in c:/Users/<username>, but this is a protected directory
(analogous to the old "Documents and Settings" directory in XP). Even as
that user, you can't get to much of that data!

To get around this problem, simply define the HOME variable BEFORE you
attempt to setup cygwin, pointing it to something less restricted (such as
c:/home/<username>) and everything works just fine.

HTH...jon

--


-----Original Message-----
From: Jon Seidel CMC [mailto:jseidel AT edpci DOT net] 
Sent: Saturday, November 03, 2007 9:12 AM
To: cygwin AT cygwin DOT com
Subject: Installation corrupt...

I just downloaded/installed the latest cygwin (1.5.24-2) using 
cygwin.elite-systems.org, into a Vista Home Premium system (I know - ugh!)

I added a few packages to the default (such as vim, ImageMagick), but didn't

think it was much; I removed ash..?

Anyway, the installed completed without complaints in a reasonable amount of

time (none of the delay/hang problems reported on the list).

Almost nothing works when I start the Cygwin bash shell -- help, cd, pwd for

example work, but not much else:

bash-3.2$ ls *
bash: ls: command not found
>>>???

[carol AT EDP19 /etc]$man -k ls
bash: man: command not found
>>>???

[carol AT EDP19 /etc]$cygcheck -s -v -r > cygcheck.out
bash: cygcheck: command not found
>>> So I was unable to get the cygcheck output that is requested for this 
>>> list

[carol AT EDP19 /etc]$echo $PATH
/cygdrive/c/usr/bin:/cygdrive/c/Windows/system32:/cygdrive/c/Windows:/cygdri
ve/c/Windows/System32/Wbem:/cygdrive/c/Program 
Files/Common Files/Roxio Shared/DLLShared/:/cygdrive/c/Program Files/Common 
Files/Roxio Shared/DLLShared/:/cygdrive/c/Program Files/Common Files/Roxio 
Shared/9.0/DLLShared/:/cygdrive/c/Program Files/QuickTime/QTSystem/
>>>The PATH option looks very strange... no /usr entries...

Viewing the setup log shows that all the post-install tasks ended with an 
abnormal exit code:
     exit code=126 or exit code=127

My login user is an Administrator

/Users/carol isn't visible in bash, but it's there when I use cmd.exe from 
DOS.

I tried running setup again, but this made no changes.... also re-ran it 
from the local directory (as suggested in one of the posts) and no change...

Any pointers? I've got cygwin up and running on two WinXP machines and it 
works just great!

Thanks...jon





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