通过自制软件安装emacs时遇到问题。任何想法都值得赞赏 - 这就是我所得到的:
==> Downloading http://ftpmirror.gnu.org/emacs/emacs-24.2.tar.bz2
Already downloaded: /Library/Caches/Homebrew/emacs-24.2.tar.bz2
==> Downloading patches
######################################################################## 100.0%
==> Patching
patching file lisp/term/ns-win.el
Hunk #1 succeeded at 931 with fuzz 1 (offset -332 lines).
patching file src/nsfns.m
Hunk #1 succeeded at 2681 (offset 92 lines).
Hunk #2 succeeded at 2794 (offset 90 lines).
patching file src/nsterm.h
Hunk #1 succeeded at 116 (offset 21 lines).
patching file src/nsterm.m
Hunk #1 succeeded at 797 (offset 111 lines).
Hunk #2 succeeded at 1281 (offset 143 lines).
Hunk #3 succeeded at 1337 (offset 127 lines).
Hunk #4 succeeded at 6088 with fuzz 2 (offset 466 lines).
Hunk #5 succeeded at 6196 (offset 463 lines).
==> ./configure --prefix=/usr/local/Cellar/emacs/24.2 --without-dbus --enable-lo
checking whether make sets $(MAKE)... ./configure: /usr/local/Library/ENV/4.3/sed: /bin/bash^M: bad interpreter: No such file or directory
no
configure: error: cannot run /bin/sh build-aux/config.sub
./configure: /usr/local/Library/ENV/4.3/sed: /bin/bash^M: bad interpreter: No such file or directory
./configure: /usr/local/Library/ENV/4.3/sed: /bin/bash^M: bad interpreter: No such file or directory
READ THIS: https://github.com/mxcl/homebrew/wiki/troubleshooting
这是brew医生的输出:
警告:/ usr / bin发生在/ usr / local / bin之前 这意味着将使用系统提供的程序而不是那些程序 由Homebrew提供。两个路径都存在以下工具:
aclocal会 autoconf的 和autoheader autom4te automake的 autoreconf 自动扫描 自动更新 clusterdb CREATEDB createlang 创建用户 DROPDB droplang dropuser ECPG ifnames pg_config pg_dump的 pg_dumpall 那么pg_restore pg_upgrade PSQL reindexdb 用vacuumdb
考虑修改您的PATH以便/ usr / local / bin 发生在PATH中的/ usr / bin之前。 警告:您的自制软件已过时 你还没有更新至少24小时,这在brewland很长一段时间!