Homebrewをインストールしようとしていますが、いくつかの問題が発生しています。以下に結果を記載しました。この問題を解決するにはどうすればよいですか?
$ ~ $ brew install wget
==> Downloading http://ftpmirror.gnu.org/wget/wget-1.14.tar.gz
Already downloaded: /Library/Caches/Homebrew/wget-1.14.tar.gz
==> ./configure --prefix=/usr/local/Cellar/wget/1.14 --sysconfdir=/usr/local/etc --with-ssl=openssl --disable-iri
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
注: 事前に MacPorts をアンインストールしましたが、brew doctor
問題なく動作します。
解決済み: Homebrew wiki ページで見つけた別のインストール方法 (「どこでも Untar」) で解決しました。
私が実行したもの:mkdir homebrew && curl -L https://github.com/mxcl/homebrew/tarball/master | tar xz --strip 1 -C homebrew