Mac OS X 10.8でVimのビルドメモ

rubyとかpythonとかluaとか、まぁ、そういうものは入っているものとする。

$ hg clone https://vim.googlecode.com/hg vim
$ cd vim
$ ./configure --enable-acl --enable-cscope --enable-largefile \
    --enable-luainterp=yes --enable-multibyte --enable-perlinterp=yes \
    --enable-python3interp=yes --enable-pythoninterp=yes --enable-rubyinterp=yes \
     --enable-sniff --with-features=huge --with-lua-prefix=~/homebrew --enable-darwin
$ make STRIP=/usr/bin/true
$ sudo make install /usr/bin/true

でOK。

結果

:version
VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Jun 20 2013 15:51:05)
MacOS X (unix) version
Included patches: 1-1223
Compiled by echos@t.local
Huge version without GUI.  Features included (+) or not (-):
+arabic          +cmdline_hist    +digraphs        +float           +langmap         +mouse           +multi_byte      -python          +startuptime     +textobjects     +wildignore
+autocmd         +cmdline_info    -dnd             +folding         +libcall         -mouseshape      +multi_lang      +python3         +statusline      +title           +wildmenu
-balloon_eval    +comments        -ebcdic          -footer          +linebreak       +mouse_dec       -mzscheme        +quickfix        -sun_workshop    -toolbar         +windows
-browse          +conceal         +emacs_tags      +fork()          +lispindent      -mouse_gpm       +netbeans_intg   +reltime         +syntax          +user_commands   +writebackup
++builtin_terms  +cryptv          +eval            -gettext         +listcmds        -mouse_jsbterm   +path_extra      +rightleft       +tag_binary      +vertsplit       -X11
+byte_offset     +cscope          +ex_extra        -hangul_input    +localmap        +mouse_netterm   +perl            +ruby            +tag_old_static  +virtualedit     -xfontset
+cindent         +cursorbind      +extra_search    +iconv           +lua             +mouse_sgr       +persistent_undo +scrollbind      -tag_any_white   +visual          -xim
-clientserver    +cursorshape     +farsi           +insert_expand   +menu            -mouse_sysmouse  +postscript      +signs           -tcl             +visualextra     -xsmp
+clipboard       +dialog_con      +file_in_path    +jumplist        +mksession       +mouse_urxvt     +printer         +smartindent     +terminfo        +viminfo         -xterm_clipboard
+cmdline_compl   +diff            +find_in_path    +keymap          +modify_fname    +mouse_xterm     +profile         +sniff           +termresponse    +vreplace        -xterm_save
   system vimrc file: "$VIM/vimrc"
     user vimrc file: "$HOME/.vimrc"
 2nd user vimrc file: "~/.vim/vimrc"
      user exrc file: "$HOME/.exrc"
  fall-back for $VIM: "/usr/local/share/vim"