This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Make and rsync can no longer find commands?


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]