having trouble installing vim/macvim properly
<p>I'm trying to systematically <a href="https://stackoverflow.com/questions/21012203/gvim-or-macvim-in-mac-os-x">download from terminal</a>, but I keep getting an error that seems unclear to me. Could anyone help me understand what is going on and what can I do to fix this? Here's what the error looks like:</p>

<pre><code>Last 15 lines from /Users/xxxxx/Library/Logs/Homebrew/macvim/01.configure:
--enable-rubyinterp
--enable-tclinterp
--with-tlib=ncurses
--with-compiledby=Homebrew
--with-local-dir=/usr/local
--enable-cscope
--enable-pythoninterp

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/macvim20160405-2972-uihf5e/macvim-snapshot-100/src':
configure: error: C compiler cannot create executables
</code></pre>