delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
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 |
To: | cygwin AT cygwin DOT com |
From: | Alder <PGDEHMKOKIMD AT spammotel DOT com> |
Subject: | Newbie: cygrunsrv using strange PATH variable |
Date: | Fri, 27 Aug 2004 00:06:28 -0700 |
Lines: | 34 |
Message-ID: | <cgmmho$7b6$1@sea.gmane.org> |
Mime-Version: | 1.0 |
X-Complaints-To: | usenet AT sea DOT gmane DOT org |
X-Gmane-NNTP-Posting-Host: | d66-183-164-211.bchsia.telus.net |
User-Agent: | Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.2) Gecko/20040803 |
X-IsSubscribed: | yes |
After removing a previous Cygwin installation from my system and reinstalling from the harddrive using Setup, running cygrunsrv from any account (administrator or user) produces a Windows dialog reporting that the DLL cannot be found in the path: D:\cygwin\usr\sbin;.;<Windows system folders>;. I'm pretty sure I have my bash startup files in the same state as in my previous installation, but here are the relevant bits from these files to show how the PATH variable is created: [/etc/profile] PATH="/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:$PATH:." [~/.bash_profile] PATH="~/bin:${PATH}" [~/.bashrc] <empty> If I echo the PATH variable when I first log in with rxvt, it shows: $ echo $PATH /usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/cygdrive/c/WINNT/system32:/cygdrive/c/WINNT:/cygdrive/c/WINNT/System32/Wbem:/cygdrive/c/Program Files/ATI Technologies/ATI Control Panel:/cygdrive/d/Program Files/Common Files/GTK/2.0/bin:. My question is, then, where is cygrunsrv pulling its PATH information from and how do I get it to recognize the environment of the shell its run in? Many thanks, Alder -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |