1

通过自制软件安装 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 doctor 的输出:

警告:/usr/bin 出现在 /usr/local/bin 之前 这意味着将使用系统提供的程序而不是 Homebrew 提供的程序。两条路径都存在以下工具:

aclocal autoconf autoheader autom4te automake autoreconf autoscan autoupdate clusterdb createdb createlang createuser 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 之前。警告:您的 Homebrew 已过时您至少 24 小时没有更新,这在 brewland 中已经很长时间了!

4

0 回答 0