This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Compiling emacs 22.1 from source


-----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@byu.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]