Chinaunix首页 | 论坛 | 博客
  • 博客访问: 159669
  • 博文数量: 34
  • 博客积分: 2070
  • 博客等级: 大尉
  • 技术积分: 277
  • 用 户 组: 普通用户
  • 注册时间: 2010-02-26 19:29
文章分类
文章存档

2015年(2)

2014年(4)

2013年(1)

2012年(1)

2011年(5)

2010年(21)

我的朋友

分类: LINUX

2014-05-29 15:47:15

1.下载
tar -xjf vim-7.1.tar.bz2 
tar -xzf vimgdb71-1.13.tar.gz
2.解压后执行
patch -d vim71 --backup -p0 < vimgdb/vim71.diff
3.修改Makefile文件:
cd vim71/src
vim Makefile

CONF_OPT_GUI = --enable-gui=gtk2 #gtk2支持,也能使用gnome
CONF_OPT_CSCOPE = --enable-cscope #cscope支持
CONF_OPT_MULTIBYTE = --enable-multibyte #双字符支持
CONF_OPT_INPUT = --enable-xim #输入法支持
CONF_OPT_OUTPUT = --enable-fontset #双字符支持
CONF_OPT_FEAT = --with-features=huge #最大特性支持
4.编译
注意vimgdb/INSTALL.txt中的提示
IMPORTANT NOTE: you must run make (not ./configure), and if you run 
./configure then you must add the --enable-gdb command line argument
in order to include the gdb feature (vimgdb) in vim.

如果有出现 vim E319  language message zh_CN.UTF-8错误,则不运行./configure直接进入src执行make。 

出现问题:
no terminal library found
checking for tgetent()... configure: error: NOT FOUND!
      You need to install a terminal library; for example ncurses.
      Or specify the name of the library with --with-tlib.
解决:
yum install ncurses-devel



阅读(1710) | 评论(0) | 转发(0) |
0

上一篇:sort命令

下一篇:编译tmux1.8

给主人留下些什么吧!~~