public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Ken Brown <kbrown@cornell.edu>
To: cygwin@cygwin.com
Subject: Re: /usr/bin/emacs-X11: cannot execute binary file
Date: Sun, 09 Sep 2012 13:29:00 -0000	[thread overview]
Message-ID: <504C8F41.7050101@cornell.edu> (raw)
In-Reply-To: <CAHfrX8boa9LnUV4RehAHdWi91yc=0pJcRdAPjZDCj+nMTsODEw@mail.gmail.com>

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

  reply	other threads:[~2012-09-09 12:45 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-09  5:47 paul belk
2012-09-09 13:29 ` Ken Brown [this message]
2012-09-09 15:01 paul belk
2012-09-09 17:23 ` Ken Brown

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=504C8F41.7050101@cornell.edu \
    --to=kbrown@cornell.edu \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).