This is the mail archive of the
mailing list for the Cygwin project.
Re: RE: RE: Make and rsync can no longer find commands?
- From: Ned Batchelder <ned at nedbatchelder dot com>
- To: cygwin at cygwin dot com
- Date: Tue, 02 Jan 2007 07:07:46 -0500
- Subject: Re: RE: RE: Make and rsync can no longer find commands?
- References: <038901c72dfa$b1022450$a501a8c0@CAM.ARTIMI.COM>
Right after sending my last message, I finally noticed what was
different about the cmd.exe path and the bash path. It wasn't the
spaces, but the Windows path has an empty element in it:
...;C:\Program Files\Common Files\GTK\2.0\bin;;C:\Program
That seems to be what tripped up cygwin. When running bash, the path is
copied, but the empty element is omitted. I don't know if my system
path changed, or if cygwin did, but the two were not happy together.
Removing the empty element on the path made everything happy again.
Thanks for the help.
Dave Korn wrote:
On 01 January 2007 22:24, Ned Batchelder wrote:
Sorry, it's attached.
Another data point: These problems happen when running make or rsync
from a Windows console running cmd.exe. If I start a bash session (just
by running bash in my Windows console), then run "make clean", it works
fine. Same for rsync: run it from cmd.exe, ssh is not found. Run it
from a bash session, and it works fine.
Well, that most likely means it's something in your .bashrc or .bash-profile
that's setting your path in a way that it isn't set naturally in cmd.exe. You
might want to try moving "c:\app\cygwin\bin" earlier in your path, maybe
something's getting confused by those paths with spaces in them.
Ned Batchelder, http://nedbatchelder.com
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html