You need to install a terminal library; for example ncurses.
2013-10-20 12:22
585 查看
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.
ncurses是一个比较老的库
解决方法:
sudo apt-get install libncurses5-dev
1.到官网下载vim-7.3.tar.bz2包
2.打开终端,通过命令行解压缩,输入
tar jxf vim-7.3.tar.bz2
此时会在当前目录下生成vim73文件夹
3.继续在终端输入
cd vim73 cd src ./configure
经过前面几步,会在/vim73/src目录下生成MakeFile文件
4.在/src目录下输入
sudo make sudo make install
完成这步就完成了编译,安装
注意:在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.
ncurses是一个比较老的库
解决方法:
sudo apt-get install libncurses5-dev
5.再输入
sudo apt-get install vim-gnome
此时在/src目录输入vim就可以进入了,还需要修改一下路径
6.将软件所在位置添加到环境变量中
PATH=$PATH:/usr/local/bin
这样打开终端输入vim直接可以进入
相关文章推荐
- 编译vim时You need to install a terminal library; for example ncurses.解决
- bs4.FeatureNotFound: Couldn't find a tree builder with the features you requested: lxml. Do you need to install a parser library?
- 安装 ppsycopg2报错, Error: You need to install postgresql-server-dev-X.Y for building a server-side extension or libpq-dev for building a client-side application
- SimpleCV install and "You need the python image library to save by filehandle"
- Plan for apps for SharePoint 2013(You need to ensure that users can install apps from the App Catal)
- Error: You need to install postgresql-server-dev-X.Y for building a server-side extension or libpq-d
- You need to install the perl-doc package to use this program
- Couldn't find a tree builder with the features you requested: lxml. Do you need to install a parser
- You need to install the perl-doc package to use this program.
- Cannot build a 32-bit program, you need to install
- Enterprise Library for .NET Framework 3.0 - what would you like to see?
- When does the Oracle library for st_shapelib.dll need to be changed?
- You need the GNU readline library(ftp://ftp.gnu.org/gnu/readline/ ) to build
- To open “Eclipse,” you need a Java SE 6 runtime. Would you like to install one now?
- update Yosemite ,prompt " * you need to install the legacy Java SE 6 Runtime"
- Installing Wine 1.5: configure: error: Cannot build a 32-bit program, you need to install 32-bit development libraries(转载)
- Failed to import pydot. You must install pydot and graphviz for `pydotprint` to work.
- Something you need to know about Objective-C and iOS programming: for experienced programmers
- rlwrap安装报错 You need the GNU readline library(ftp://ftp.gnu.org/gnu/readline/ ) to build this program
- Eclipse OS X Yosemite 提示– To open“Eclipse” you need to install the legacy Java SE 6 runtime的解决办法