delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/09/09/08:45:19

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.3 required=5.0 tests=AWL,BAYES_20,KHOP_THREADED,RP_MATCHES_RCVD,SPF_NEUTRAL
X-Spam-Check-By: sourceware.org
Message-ID: <504C8F41.7050101@cornell.edu>
Date: Sun, 09 Sep 2012 08:44:49 -0400
From: Ken Brown <kbrown AT cornell DOT edu>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120824 Thunderbird/15.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: /usr/bin/emacs-X11: cannot execute binary file
References: <CAHfrX8boa9LnUV4RehAHdWi91yc=0pJcRdAPjZDCj+nMTsODEw AT mail DOT gmail DOT com>
In-Reply-To: <CAHfrX8boa9LnUV4RehAHdWi91yc=0pJcRdAPjZDCj+nMTsODEw@mail.gmail.com>
X-PMX-CORNELL-SPAM-CHECKED: Pawpaw
X-Original-Sender: kbrown AT cornell DOT edu - Sun Sep 9 08:44:49 2012
X-PMX-CORNELL-REASON: CU_White_List_Override
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019