delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/07/24/12:08:55

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE,TW_YG
X-Spam-Check-By: sourceware.org
X-Mail-Handler: Dyn Standard SMTP by Dyn
X-Report-Abuse-To: abuse AT dyndns DOT com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information)
X-MHO-User: U2FsdGVkX1/a47p8NpEK+sxUwshHvlJC
Date: Tue, 24 Jul 2012 12:08:27 -0400
From: Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Cygwin fresh install imports Windows PATH which includes spaces causing errors
Message-ID: <20120724160827.GA6098@ednor.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <BLU0-SMTP306681C203762B2074C0748CEDC0 AT phx DOT gbl> <20120724155038 DOT GD5572 AT ednor DOT casa DOT cgf DOT cx> <BLU0-SMTP184CD1D0A81E3DA2FFD5908CEDC0 AT phx DOT gbl>
MIME-Version: 1.0
In-Reply-To: <BLU0-SMTP184CD1D0A81E3DA2FFD5908CEDC0@phx.gbl>
User-Agent: Mutt/1.5.20 (2009-06-14)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

On Tue, Jul 24, 2012 at 05:57:40PM +0200, Aaron Schneider wrote:
>On 24/07/2012 17:50, Christopher Faylor wrote:
>>
>> The Cygwin version of make would not display "c:" anything.  That's not
>> a Cygwin path specification and it shouldn't even be possible for a
>> Cygwin program to see the Windows PATH environment variable.  You must
>> be running a non-cygwin make.  Spaces in the PATH are acceptable on both
>> Linux and Cygwin and Windows.
>>
>> That said, however, make does not deal well with spaces in file
>> specifications.  If something is actually parsing a PATH environment
>> variable then it could cause problems.
>
>It was actually that make wasn't installed, it works now. I was 
>expecting the usual "bash: make: command not found"

You apparently didn't grok the part about "it shouldn't even be possible
for a Cygwin program to see the Windows PATH environment variable".
Having "c:\Program Files\something" in the PATH is very common on
Windows.  I have it in my path and I don't see anything like this when I
try to run a nonexistent command.  You must have something else going on
if you are getting errors with "c:" in them.  If you saw this error then
you likely aren't using a Cygwin shell.

If you have further problems then you should (re)read
http://cygwin.com/problems.html .  Your takeaway from that would
probably be that you need to send cygcheck output as an attachment but
the real reason for that web page is to start you thinking about how to
send a problem report.  Sending an error message with no other
supporting details is not the most efficient way to get a problem
solved.

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