delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-2.6 required=5.0 tests=BAYES_00 |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <101352.59773.qm@web111411.mail.gq1.yahoo.com> |
Date: | Wed, 23 Dec 2009 23:56:15 -0800 (PST) |
From: | Myron Flickner <flickner AT yahoo DOT com> |
Subject: | Re: upgrade to 1.7 experience ; Cygwin.bat doesn't find home directory |
To: | cygwin AT cygwin DOT com |
MIME-Version: | 1.0 |
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 |
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 finds my profile and .bashrc. Is this a bug or by design ? imaging away / flick ----- Original Message ---- Sorry for the crappy formatting on my first post - this should be easier to read. 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 entry point __ctype_ptr__ could not be located in the dynamic link library cygwin1.dll". After a reboot bash wouldn't start - same error message. Reinstalling the base package cleared this issue up. Cygwin.bat doesn't find my home directory (which is a sym link) rathe it prints a message telling me that there isn't a ./.bashrc in /usr/bin. Looks like Cygwin.bat is identical between 1.5 and 1.7 but the behavior is 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 mount points on this machine. I also created a none sym link home directory 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |