I have brew
installed (v 0.9.5) along with Xcode (Version 5.1.1 (5B1008)). When I attempt to install MacVim like so I encounter the following error message:
$ brew install macvim
==> Downloading https://github.com/b4winckler/macvim/archive/snapshot-73.tar.gz
Already downloaded: /Library/Caches/Homebrew/macvim-7.4-73.tar.gz
==> ./configure --with-features=huge --enable-multibyte --with-macarchs=x86_64 -
==> make
make[1]: *** [objects/os_mac_conv.o] Error 1
make[1]: *** Waiting for unfinished jobs....
1 error generated.
make[1]: *** [objects/os_macosx.o] Error 1
make: *** [first] Error 2
READ THIS: https://github.com/Homebrew/homebrew/wiki/troubleshooting
These open issues may also help:
macvim failed to build on 10.9 because of x11 (https://github.com/Homebrew/homebrew/issues/30253)
How can I resolve this issue?
NOTE: Much of what I've found seems to state that I need to install some command line component to Xcode but I wasn't able to figure out what this actually entailed.
Best Answer
I solved this issue thanks to the following tip I found as to how to install Xcode from the MacPorts page.
excerpt
The key piece of information was to run this command:
After installing the command line tools you should be able to successfully install
macvim
usingbrew
.