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]

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


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


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