Cygwin fresh install imports Windows PATH which includes spaces causing errors

Aaron Schneider notstop@users.sourceforge.net
Wed Jul 25 01:10:00 GMT 2012


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


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



More information about the Cygwin mailing list