re-build vim with homebrew

It seems Mac default vim doesn’t have clipboard support. So I reinstalled it by following

    hg clone vim
    cd vim
    hg update vim73
    make clean
    ./configure --prefix=/usr/local --enable-multibyte --enable-xim --enable-fontset --enable-rubyinterp --enable-perlinterp --enable-pythoninterp --with-features=huge --disable-selinux
    sudo make install

The thing is after ‘make’ I got some linking error for ruby. (sorry no record left.) To src/auto/, need to add at LDFLAGS :


I also got an error while ‘sudo make install’ for runtime/tools/, which was claimed as an issue here: You just need to fix the garbling for copyright.

    # Copyright (c) 2001 by Joerg Ziefle <[email protected]>

And now successfully got compiled vim.