X-Spam-Check-By: sourceware.org Message-ID: <459A4B12.7010708@nedbatchelder.com> Date: Tue, 02 Jan 2007 07:07:46 -0500 From: Ned Batchelder User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: RE: RE: Make and rsync can no longer find commands? References: <038901c72dfa$b1022450$a501a8c0 AT CAM DOT ARTIMI DOT COM> In-Reply-To: <038901c72dfa$b1022450$a501a8c0@CAM.ARTIMI.COM> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT 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 Files\Common Files\Adobe\AGL;... 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. --Ned. 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. > > > cheers, > DaveK > -- Ned Batchelder, http://nedbatchelder.com -- 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/