Python 开源 shell HTML5 google 微软 wordpress Android Windows linux mysql centos nginx java apache Firefox php Ubuntu 程序员 linux命令

手动编译vim配置

下载vim源码:http://www.vim.org/sources.php

设置编译选项, 我的配置是:

./configure  –prefix=/usr/local/vim \

            –enable-multibyte \ 
            –enable-fontset \ 
            –enable-xim  \ 
            –enable-gui=auto \ 
            –enable-pythoninterp=dynamic \ 
            –enable-pythoninterp \ 
            –enable-python3interp=dynamic \ 
            –enable-rubyinterp=dynamic \ 
            –enable-rubyinterp \ 
            –enable-perlinterp \ 
            –enable-cscope \ 
            –enable-sniff \ 
            –with-x  \ 
            –with-compiledby=erocpil  \ 
            –with-features=huge \ 
            –enable-luainterp=dynamic  \ 
            –with-python-config-dir=/usr/lib/python2.7/config \ 
            –with-python3-config-dir=/usr/lib/python3.2/config

其他选项参见 ./configure –help

补充说明:

CentOS上编译时不支持“–enable-multibyte”

Debian上编译时不支持“–enable-fontset”

延伸阅读

评论

暂无评论

写评论