MacOS – How to get Unix (brew/xcode/vim) acting like Unix under Lion

macosterminalunixxcode

I "upgraded" from Snow Leopard with Homebrew and vim both chugging along happily, to Lion. Now vim hangs/segfaults, and when I invoke brew, it complains xcode is missing, and continues to do so after downloading Xcode from the app store. I wanted to install vim from source, but that requires Mercurial, which I may be able to use to create a tarball from a Linux virtual machine, but overall Unix-like functionality is broken on Lion.

How can I get Unix acting like Unix under Lion?

Best Answer

You may already know this, but downloading/installing Xcode from the app store doesn't actually install it. It just leaves an installer in your Applications folder, which you have to run to actually install Xcode.

Don't know if this is contributing to your problem, but it tripped me up.