/usr/bin/emacs-X11: cannot execute binary file

Ken Brown kbrown@cornell.edu
Sun Sep 9 13:29:00 GMT 2012


On 9/9/2012 12:43 AM, paul belk wrote:
>    Subsequently when I ran the emacs command, nothing happened, and when I ran
> sh /usr/bin/emacs-X11
>    it responded
> /usr/bin/emacs-X11: /usr/bin/emacs-X11: cannot execute binary file

 From 'man sh':

"If arguments remain after option processing, and neither the -c nor the 
-s option has been supplied, the first argument is assumed to be the 
name of a file containing shell commands."

So sh complains that you gave it a binary file instead of a file 
containing shell commands.

What happens if you just type '/usr/bin/emacs-X11'?  And what's the 
output of 'ls -l /usr/bin/emacs*'?  Also, can you check that all your 
postinstall scripts have run successfully?  They should all end in 
'.done'.  Finally, please resend the output of 'cygcheck -svr'; the 
attachment in your previous email seems to have gotten truncated.

Ken

--
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



More information about the Cygwin mailing list