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 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: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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: List-Subscribe: List-Archive: List-Post: List-Help: , 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