From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10060 invoked by alias); 20 Oct 2005 18:20:07 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 9982 invoked by uid 22791); 20 Oct 2005 18:20:01 -0000 Received: from imr1.ericy.com (HELO imr1.ericy.com) (198.24.6.9) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Thu, 20 Oct 2005 18:20:01 +0000 Received: from eamrcnt760.exu.ericsson.se (eamrcnt760.exu.ericsson.se [138.85.133.38]) by imr1.ericy.com (8.13.1/8.13.1) with ESMTP id j9KIK07r022698 for ; Thu, 20 Oct 2005 13:20:00 -0500 Received: by eamrcnt760 with Internet Mail Service (5.5.2657.72) id ; Thu, 20 Oct 2005 13:19:59 -0500 Message-ID: <9F3F9D47408B7144B594DBBF67F77BAC010833C7@eusrcmw720.eamcs.ericsson.se> From: "Jason Fritz (CO/EWU)" To: "'cygwin@cygwin.com'" Subject: RE: 1.5.18-1: cygwin.bat/bash fails after installing Cygwin Date: Thu, 20 Oct 2005 18:20:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-SW-Source: 2005-10/txt/msg00653.txt.bz2 > On Thu, 20 Oct 2005, Igor Pechtchanski wrote: > > Yes, but that doesn't guarantee that you would *run* that > version. Again, > the Cygwin version of bash will *not* look for > /usr/local/etc/profile.global -- that message comes from some > other bash. > The analysis is correct, AFAICS. > > One thing to try is to change the last line of your cygwin.bat to > > c:\cygwin\bin\bash --login -i > > and see if that solves your problem (with the original config)... I did as you suggested and the problem still happens. I backed out my environment variables changes (to HOME and PATH), and ran cygwin.bat as-is and reverified that the problem happened again. Then I edited cygwin.bat as you suggested and reran the script with the same result. Here's the shell output for reference: ----- C:\cygwin>type cygwin.bat @echo off C: chdir C:\cygwin\bin C:\cygwin\bin\bash --login -i C:\cygwin>cygwin.bat /usr/bin/bash: can't find configuration file /usr/local/etc/profile.global; exiting. ----- As a side note, I've never installed bash in another form on my PC and running "bash" from C:\ in a DOS prompt does not work. > > After contacting Chloe directly, > > Ugh. She was way too polite. Unsolicited private emails to > random list > posters are highly discouraged -- the Cygwin mailing list is > the place to > ask for help. Well, with all due respect, I can see that contacting Cygwin maintainers and developers is a Bad Thing (tm), but contacting ordinary users is no mortal sin. I was polite to her and she was polite in return. I followed up by posting to the mailing list so the info would not be lost. > I suspect you're still not running the official Cygwin bash > -- it should > set HOME automatically. As I said above, try forcing the > Cygwin bash by > specifying the path to it explicitly. I don't know much about the implementation of Cygwin bash, but perhaps it has a bug and it's not setting HOME like it should? I think from the info I posted above that it's clearly not working as intended. Thank you for your help so far, Igor. - Jason Fritz -- 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/