Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1126204
  • 博文数量: 241
  • 博客积分: 4385
  • 博客等级: 上校
  • 技术积分: 2383
  • 用 户 组: 普通用户
  • 注册时间: 2009-06-07 23:13
文章分类

全部博文(241)

文章存档

2013年(1)

2012年(8)

2011年(62)

2010年(109)

2009年(61)

分类: LINUX

2010-09-08 21:45:26

1:下载vim源码
apt-get -d source vim
 
2:编译vim,并打开cscope参数
./configure --enable-cscope
 
3: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.
make[1]: *** [config] Error 1
make[1]: Leaving directory `/root/vim/vim71/src'
make: *** [first] Error 2
解决方法:apt-get install libncurses5-dev
 
4:sudo make install,至此安装vim成功
 
5:安装cscope和ctags
apt-get install cscope
apt-get install ctags
阅读(1395) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~