Ubuntu 12.04本地编译安装Vim
2016-01-20 13:12
232 查看
1.下载Vim,参考http://www.vim.org/git.php
2.编译安装Vim,参考https://github.com/Valloric/YouCompleteMe/wiki/Building-Vim-from-source
3.编译支持lua的Vim,参考https://gist.github.com/jdewit/9818870
编译好的Vim信息如下
perl还是不支持,看来需要安装或配置perl的dev环境
2.编译安装Vim,参考https://github.com/Valloric/YouCompleteMe/wiki/Building-Vim-from-source
3.编译支持lua的Vim,参考https://gist.github.com/jdewit/9818870
编译好的Vim信息如下
nathan@nathan:~/code/code_for_compile/vim$ vim --version
VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Jan 20 2016 12:10:26) 包含补丁: 1-1143 编译者 nathan@nathan 巨型版本 带 GTK2 图形界面。 可使用(+)与不可使用(-)的功能: +acl +farsi +mouse_netterm +syntax +arabic +file_in_path +mouse_sgr +tag_binary +autocmd +find_in_path -mouse_sysmouse +tag_old_static +balloon_eval +float +mouse_urxvt -tag_any_white +browse +folding +mouse_xterm -tcl ++builtin_terms -footer +multi_byte +terminfo +byte_offset +fork() +multi_lang +termresponse +cindent +gettext -mzscheme +textobjects +clientserver -hangul_input +netbeans_intg +title +clipboard +iconv +path_extra +toolbar +cmdline_compl +insert_expand -perl +user_commands +cmdline_hist +jumplist +persistent_undo +vertsplit +cmdline_info +keymap +postscript +virtualedit +comments +langmap +printer +visual +conceal +libcall +profile +visualextra +cryptv +linebreak +python +viminfo +cscope +lispindent -python3 +vreplace +cursorbind +listcmds +quickfix +wildignore +cursorshape +localmap +reltime +wildmenu +dialog_con_gui +lua +rightleft +windows +diff +menu +ruby +writebackup +digraphs +mksession +scrollbind +X11 +dnd +modify_fname +signs -xfontset -ebcdic +mouse +smartindent +xim +emacs_tags +mouseshape -sniff +xsmp_interact +eval +mouse_dec +startuptime +xterm_clipboard +ex_extra -mouse_gpm +statusline -xterm_save +extra_search -mouse_jsbterm -sun_workshop -xpm 系统 vimrc 文件: "$VIM/vimrc" 用户 vimrc 文件: "$HOME/.vimrc" 第二用户 vimrc 文件: "~/.vim/vimrc" 用户 exrc 文件: "$HOME/.exrc" 系统 gvimrc 文件: "$VIM/gvimrc" 用户 gvimrc 文件: "$HOME/.gvimrc" 第二用户 gvimrc 文件: "~/.vim/gvimrc" 系统菜单文件: "$VIMRUNTIME/menu.vim" $VIM 预设值: "/usr/share/vim" $VIMRUNTIME 预设值: "/usr/share/vim/vim74" 编译方式: gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -g -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 链接方式: gcc -L. -Wl,-Bsymbolic-functions -Wl,-z,relro -rdynamic -Wl,-export-dynamic -L/usr/local/lib -Wl,--as-needed -o vim -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0 -lSM -lICE -lXt -lX11 -lXdmcp -lSM -lICE -lm -ltinfo -lnsl -ldl -L/usr/include/lua5.1/lib/x86_64-linux-gnu -lluajit-5.1 -L/usr/lib/python2.7/config -lpython2.7 -lpthread -ldl -lutil -lm -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions -lruby1.8 -lpthread -lrt -ldl -lcrypt -lm -L/usr/lib nathan@nathan:~/code/code_for_compile/vim$
perl还是不支持,看来需要安装或配置perl的dev环境
相关文章推荐
- uva 371 - Ackermann Functions
- 222,NSThread类的使用
- Java 原子操作与并发
- httpClient访问网络,httpclient.execute(httpGet)方法不执行问题
- 微博即将取消140字发布限制
- windows下面读取注册表信息
- Spring 定时调度任务
- ServiceStack.OrmLite 学习笔记3 建表
- diff
- 分辨率与超分辨率图像重建
- Educational Codeforces Round 3 D.Gadgets for dollars and pounds(贪心&&二分)
- BZOJ 2879: [Noi2012]美食节( 费用流 + 动态加边 )
- cod pods安装过程中Error fetching http://ruby.taobao.org/: bad response Not Found 404 (http://ruby.taobao
- Javascript面向对象编程(三):非构造函数的继承
- 华为8年女硕离职:多么痛的领悟...
- Java:String和Date、Timestamp之间的转换
- 2016.1.20新技术学习记录
- apache无法启动解决办法
- .net邮件错误 :The specified string is not in the form required for a subject.
- fragment+ViewPager的使用(页面的滑动切换)