delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/09/18/12:05:24

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <4b20672a0709180904j70296a32o18ba0df7e36d8a97@mail.gmail.com>
Date: Tue, 18 Sep 2007 12:04:52 -0400
From: "Jim Allen" <bear1952 AT gmail DOT com>
To: cygwin AT cygwin DOT com
Subject: cygwin.bat/bash fails after install
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

After a successful installation of cygwin you run cygwin.bat and the
following message flashes briefly on your screen:

bash: can't find configuration file /usr/local/etc/profile.global; exiting.

A work-around was first documented in
http://sourceware.org/ml/cygwin/2005-10/msg00651.html

The problem can be recreated by doing the following:

Open a command shell (Run/cmd)
Switch to a drive other than C:
u:
exit

Run setup.exe.  The install will work, but you will get the error message.

Resolution
Switch to C: in the command shell before running setup.exe

Workaround:
See http://sourceware.org/ml/cygwin/2005-10/msg00651.html

- Jim

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