Eric Blake wrote:
On 02/15/2011 12:58 AM, L Anderson wrote:
3rd--I ran 'cygport coreutils-8.10-1 compile', which appeared to work
ok until it exited with a "make error" as shown by the following last
few lines of the output:
All those steps match what I do when building coreutils.
CCLD pwd.exe
CCLD readlink.exe
CCLD rm.exe
CCLD rmdir.exe<<<---up to and including rmdir.exe have been linked
./rm: ./rm: cannot execute binary file
Hmm. Does your $PATH include '.' somewhere near the beginning? That
may be the culprit; I _never_ run with '.' at the beginning (too much
risk of a trojan horse executable taking over); running with '.' at the
end or not in PATH at all would be safer.
Yes, I'm afraid so :-(. I finally figured it out about an hour ago.
Thanks for your confirming reply! I have fixed it and have now
successfully build coreutils--yea!
Regards,
LA
--
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