www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/12/24/13:19:31

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,SPF_PASS
X-Spam-Check-By: sourceware.org
X-IronPortListener: Outbound_SMTP
From: "Buchbinder, Barry (NIH/NIAID) [E]" <BBuchbinder AT niaid DOT nih DOT gov>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Date: Thu, 24 Dec 2009 13:19:18 -0500
Subject: RE: upgrade to 1.7 experience ; Cygwin.bat doesn't find home directory
Message-ID: <0105D5C1E0353146B1B222348B0411A208AB97E402@NIHMLBX02.nih.gov>
References: <101352 DOT 59773 DOT qm AT web111411 DOT mail DOT gq1 DOT yahoo DOT com>
In-Reply-To: <101352.59773.qm@web111411.mail.gq1.yahoo.com>
MIME-Version: 1.0
X-IsSubscribed: yes
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

Just a note which I hope is related.

vim was having problems with one of its files in ~.  In Windows Explorer I =
copied the entire /home folder (d:\path\home) from 1.5 to c:\cygwin\home, t=
hereby overwriting it.  Then I used Explorer again to remove any read-only =
attributes.  That seemed to solve the problem.  (But maybe something else f=
ixed it.)  It might solve others.

I had the impression that some things in ~ were no longer there, but I did =
not check carefully.  That things would disappear during the upgrade was ce=
rtainly unexpected and remains hard to believe.

I apologize in advance if the above is totally off-the-wall, misleading, th=
e result of faulty memory or intellect, bad advice, etc.

I also apologize for top-posting.  The switch from ash to dash seems to hav=
e broken some scripts (or is it something with $CYGWIN?), including my quot=
e-fix script.  (bash is also not behaving identically.)

Happy Holidays.

- Barry
  Disclaimer: Statements made herein are not made on behalf of NIAID.

-----Original Message-----
From: Myron Flickner; Sent: Thursday, December 24, 2009 2:56 AM

It appears that bash not finding the home directory is caused by a missing =
/etc/profile.   I copied over this file from a 1.5 system and now bash find=
s my profile  and .bashrc.=20=20=20

Is this a bug or by design ?=20

 imaging away / flick

----- Original Message ----

Sorry for the crappy formatting on my first post - this should be easier to=
 read.=20

I just upgraded my first XP Pro machine from 1.5 to 1.7 - a couple of minor=
 issues

Part of the post-install failed with many popup dialogs  - "The procedure e=
ntry point __ctype_ptr__ could not be located in the dynamic link library c=
ygwin1.dll".=20=20

After a reboot bash wouldn't start  - same error message.  Reinstalling the=
 base package cleared this issue up.=20

Cygwin.bat doesn't find my home directory (which is a sym link) rathe it pr=
ints a message telling me that there
 isn't a ./.bashrc in /usr/bin.   Looks like Cygwin.bat is identical betwee=
n 1.5 and 1.7 but the behavior is=20
different.    I thought this might be related to the mount point changes - =
but running copy-user-registry-fstab
 didn't change anything.    I did notice that this script uses $USER  which=
 isn't set for me.   I set it and re-ran the
 script but I don't see any difference.    I never did see a /etc/fstab.d/$=
USER directory - but I don't have user=20
mount points on this machine.  I also created a none sym link home director=
y but that didn't help either.

Are other folks seeing this behavior ?   Any suggestions ?

imaging away / flick



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