www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/01/01/16:35:26

X-Spam-Check-By: sourceware.org
Message-ID: <45997E87.2050903@nedbatchelder.com>
Date: Mon, 01 Jan 2007 16:35:03 -0500
From: Ned Batchelder <ned AT nedbatchelder DOT com>
User-Agent: Thunderbird 1.5.0.9 (Windows/20061207)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Make and rsync can no longer find commands?
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

I updated cygwin a few days ago, and two things have stopped working:

1) When I execute "rsync -e ssh", it complains of not finding ssh:
            rsync: Failed to exec ssh: No such file or directory (2)
This used to work just fine.  If I change "ssh" in the command line to 
the full Windows path to ssh.exe, it also works fine.

2) Make no longer can find commands to run, and it seems to have to do 
with the shell.  In particular, I have a series of rm commands, some 
with a single explicit filename, and some with wildcards.  For example:

clean:
        -rm -rf dist
        -rm -f *.pyc */*.pyc */*/*.pyc */*/*/*.pyc
        -rm -f *.pyo */*.pyo */*/*.pyo */*/*/*.pyo
        -rm -f *.bak */*.bak */*/*.bak */*/*/*.bak
        -rm -f .coverage

The simple commands fail, the ones with wildcards succeed:
        rm -rf dist
        make: rm: Command not found
        make: [clean] Error 127 (ignored)
        rm -f *.pyc */*.pyc */*/*.pyc */*/*/*.pyc
        rm -f *.pyo */*.pyo */*/*.pyo */*/*/*.pyo
        rm -f *.bak */*.bak */*/*.bak */*/*/*.bak
        rm -f .coverage
        make: rm: Command not found
        make: [clean] Error 127 (ignored)

I understand the make has two different execution paths, depending on 
the complexity of the command.  So the shell-execution path (with 
wildcards) works fine, but the simple path (where make will invoke rm 
directly) fails.

These seem like two symptoms of the same problem, but I don't know how 
to fix it.  Both worked before I updated cygwin, and now they don't.

Any ideas?

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019