delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-3.1 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,SPF_HELO_PASS,T_RP_MATCHES_RCVD |
X-Spam-Check-By: | sourceware.org |
To: | cygwin AT cygwin DOT com |
From: | Andrew DeFaria <Andrew AT DeFaria DOT com> |
Subject: | Re: Cygwin fresh install imports Windows PATH which includes spaces causing errors |
Date: | Tue, 24 Jul 2012 18:59:56 -0700 |
Lines: | 45 |
Message-ID: | <junjus$mrq$1@dough.gmane.org> |
References: | <BLU0-SMTP306681C203762B2074C0748CEDC0 AT phx DOT gbl> <20120724155038 DOT GD5572 AT ednor DOT casa DOT cgf DOT cx> <BLU0-SMTP184CD1D0A81E3DA2FFD5908CEDC0 AT phx DOT gbl> <20120724160827 DOT GA6098 AT ednor DOT casa DOT cgf DOT cx> <BLU0-SMTP360190BC5DB57A49B8625CBCEDC0 AT phx DOT gbl> <junfn4$spn$1 AT dough DOT gmane DOT org> <BLU0-SMTP205DE47B7BB524A14221557CEC30 AT phx DOT gbl> |
Mime-Version: | 1.0 |
User-Agent: | Mozilla/5.0 (Windows NT 6.1; rv:14.0) Gecko/20120713 Thunderbird/14.0 |
In-Reply-To: | <BLU0-SMTP205DE47B7BB524A14221557CEC30@phx.gbl> |
X-IsSubscribed: | yes |
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 7/24/2012 6:09 PM, Aaron Schneider wrote: > On 25/07/2012 2:47, Andrew DeFaria wrote: >> >> There'd be a /bin/make if you installed it... >> >> $ which make >> /bin/make >> >> IMHO it's always better to go with a Cygwin way of doing things instead >> of installing some Unix/Linux thing through some Windows port like this >> Symbian\tools thing... > > > > That make.exe was installed by Symbian Qt SDK which is windows native, > nothing to do with cygwin. And, IMHO, should be avoided like the plague... Just my opinion. > In fact, that make.exe calls a perl script called make.pl: > > use FindBin; > use lib $FindBin::Bin; > use tlaunch; > callTool('','\\epoc32\\tools\\make.exe',\@ARGV); > > So anyway, the problem is caused when calling a binary present on > windows path that can match a cygwin one, for example running a > ./configure script. > After removing make the issue is happening again: > > $ make > cygwin warning: > MS-DOS style path detected: /usr/local/bin/C:\Program > Preferred POSIX equivalent is: /usr/local/bin/C:/Program > CYGWIN environment variable option "nodosfilewarning" turns off this > warning. > Consult the user's guide for more details about POSIX paths: > http://cygwin.com/cygwin-ug-net/using.html#using-pathnames > Can't find C:\Program on PATH. Maybe when in Cygwin, /bin and /usr/bin should be put in your PATH ahead of the Windows stuff. I know I've run with C:\Cygwin\bin in the front of my Windows System Environment PATH variable for years without issue (though I think some around here might say it's not a good idea). -- Andrew DeFaria <http://defaria.com> I put contact lenses in my dog's eyes. They had little pictures of cats on them. Then I took one out and he ran around in circles. -- 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 |