From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23249 invoked by alias); 9 Sep 2012 12:45:07 -0000 Received: (qmail 23222 invoked by uid 22791); 9 Sep 2012 12:45:06 -0000 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 Received: from soapstone1.mail.cornell.edu (HELO soapstone1.mail.cornell.edu) (128.253.83.143) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 09 Sep 2012 12:44:53 +0000 Received: from authusersmtp.mail.cornell.edu (granite2.mail.cornell.edu [128.253.83.142]) by soapstone1.mail.cornell.edu (8.14.4/8.14.4) with ESMTP id q89Ciu1t008371 for ; Sun, 9 Sep 2012 08:44:56 -0400 (EDT) Received: from [192.168.1.3] (cpe-67-249-194-47.twcny.res.rr.com [67.249.194.47]) (authenticated bits=0) by authusersmtp.mail.cornell.edu (8.14.4/8.12.10) with ESMTP id q89Cinxs014477 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sun, 9 Sep 2012 08:44:49 -0400 (EDT) Message-ID: <504C8F41.7050101@cornell.edu> Date: Sun, 09 Sep 2012 13:29:00 -0000 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@cygwin.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@cornell.edu - Sun Sep 9 08:44:49 2012 X-PMX-CORNELL-REASON: CU_White_List_Override X-IsSubscribed: yes Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2012-09/txt/msg00115.txt.bz2 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