delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/01/30/00:03:05

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
X-Authority-Analysis: v=1.0 c=1 a=w_pzkKWiAAAA:8 a=xe8BsctaAAAA:8 a=pki7fwscsFvjlghjucsA:9 a=n1ses6cddWlbQdsh3t2dkhiYhDYA:4 a=eDFNAWYWrCwA:10 a=rPt6xJ-oxjAA:10
Message-ID: <47A004DB.1040207@byu.net>
Date: Tue, 29 Jan 2008 22:02:19 -0700
From: Eric Blake <ebb9 AT byu DOT net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666
MIME-Version: 1.0
To: cygwin AT cygwin DOT com, taras DOT di AT gmail DOT com
Subject: Re: Compiling emacs 22.1 from source
References: <4024fa2d0801292014o6c4bd8dfm24f38a882633afb3 AT mail DOT gmail DOT com>
In-Reply-To: <4024fa2d0801292014o6c4bd8dfm24f38a882633afb3@mail.gmail.com>
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

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Taras D on 1/29/2008 9:14 PM:
| ./configure: line 12: $'\r': command not found

You probably unpacked a tarball with a windows zip utility that
"helpfully" changes the line endings on files.  Don't do that.  Use cygwin
tools to unzip the tarball (and this topic has been in the list archives
as well).  You may also be interested in re-reading the bash release
announcement for a way to make bash ignore \r in files:
http://cygwin.com/ml/cygwin-announce/2008-01/msg00002.html

|
| I tried this, but now get the error:
|
| configure_dos_format: error: cannot run /bin/sh
| /emacs_downloaded/emacs-22.1/config.sub

You have more than one afflicted file.

By the way, any reason you're trying to compile emacs rather than using it
pre-built?  You may also want to download the source that accompanies the
pre-built version, since it comes with a script that takes care of all the
unpacking and compilation for you (in fact, it was that script that the
maintainer uses to compile the pre-built version in the cygwin distribution).

- --
Don't work too hard, make some time for fun as well!

Eric Blake             ebb9 AT byu DOT net
volunteer cygwin bash maintainer
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHoATb84KuGfSFAYARAtzBAJkBv4MnnhweCwuyrsTbW/hkcuOaQgCfdutI
sPY8WUnP7JfYf6ptm4HGY2c=
=F5Z/
-----END PGP SIGNATURE-----

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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