2016-03-27 5 views
0

Das passiert nur mit MacVim, andere Pakete erfordern einen Compiler-Build einfach gut.Kompilieren von Macvim in OS X 10.11 mit Homebrew nicht möglich. C-Compiler kann keine ausführbaren Dateien erstellen

Voll Protokoll mit Homebrew, OSX, Compiler-Versionen, etc: http://pastebin.com/raw/05jEGMph

==> Upgrading 3 outdated packages, with result: 
macvim 7.4-99, vim 7.4.1655, youtube-dl 2016.03.25 
==> Upgrading macvim 
==> Downloading https://github.com/macvim-dev/macvim/archive/snapshot-99.tar.gz 
Already downloaded: /Library/Caches/Homebrew/macvim-7.4-99.tar.gz 
==> ./configure --with-features=huge --enable-multibyte --with-macarchs=x86_64 --enable-perlinterp --enable-rubyint 
Last 15 lines from /Users/myuser/Library/Logs/Homebrew/macvim/01.configure: 
--with-tlib=ncurses 
--with-compiledby=Homebrew 
--with-local-dir=/usr/local 
--enable-cscope 
--enable-pythoninterp 
--with-developer-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer 
--with-macsdk=10.11 

configure: creating cache auto/config.cache 
checking whether make sets $(MAKE)... yes 
checking for gcc... clang 
checking whether the C compiler works... no 
configure: error: in `/private/tmp/macvim20160326-28139-1m2tzhk/macvim-snapshot-99/src': 
configure: error: C compiler cannot create executables 
See `config.log' for more details 

READ THIS: https://git.io/brew-troubleshooting 

These open issues may also help: 
macvim: stop setting SDK and developer dir https://github.com/Homebrew/homebrew/pull/50191 
macvim fails to build on 10.11 with pyenv https://github.com/Homebrew/homebrew/issues/50206 
'error: SDK "macosx10.10" cannot be located' trying install macvim https://github.com/Homebrew/homebrew/issues/50180 
macvim: disable ruby integration on 10.6 https://github.com/Homebrew/homebrew/pull/40255 
macvim fails to build on Yosemite 10.10 with _SC_PHYS_PAGES error https://github.com/Homebrew/homebrew/issues/47026 
macvim failed to build on 10.6.8 https://github.com/Homebrew/homebrew/issues/38047 

Antwort

1

Sie scheinen Anaconda installiert zu sein. Wenn Sie brew doctor laufen sollten Sie diese Warnung sehen:

Anaconda ist bekannt, häufig zu brechen Homebrew baut, einschließlich Vim und MacVim, durch viele Duplikate von System- und Homebrew-verfügbar Tools bündeln.

Wenn Sie einen Build Fehler auftreten bitte vorübergehend Anaconda von Ihrem $PATH und versuchen, den Build erneut vor der Berichterstattung über die Scheitern uns entfernen. Vielen Dank!

Sie sollten es daher von Ihrem PATH entfernen und versuchen, wieder zu bauen; das wird es reparieren.