免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12下一页
最近访问板块 发新帖
查看: 8007 | 回复: 13
打印 上一主题 下一主题

编译vim时出错 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-06-09 15:35 |只看该作者 |倒序浏览
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

论坛徽章:
0
2 [报告]
发表于 2008-06-09 16:09 |只看该作者
为什么要编译安装?系统没有自带的软件管理工具吗?

论坛徽章:
0
3 [报告]
发表于 2008-06-09 16:16 |只看该作者
原帖由 tianlijian 于 2008-6-9 15:35 发表
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 wit ...


说的很清楚
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.

没有终端的库,或者configure的时候带上选项   --with-tlib

论坛徽章:
0
4 [报告]
发表于 2008-06-09 16:18 |只看该作者
原帖由 jarodlau 于 2008-6-9 16:16 发表


说的很清楚
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 ...

我是新手不知道哪个库指的是什么, 要怎么弄才行。

论坛徽章:
0
5 [报告]
发表于 2008-06-09 16:26 |只看该作者
原帖由 jarodlau 于 2008-6-9 16:16 发表


说的很清楚
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 ...


装上ncurses,也有可能需要ncurses的开发库

你是使用的debian么?

如果使用的debian,最好是做成deb包;如果不是使用的debian,编译之前最好看看软件需要的开发库,比如源代码目录里的README,INSTALL,DOC等等文件,都要看看,里面会告诉你这个软件需要什么样的编译环境,把编译需要的依赖库都要装上。

论坛徽章:
0
6 [报告]
发表于 2008-06-09 16:33 |只看该作者
原帖由 jarodlau 于 2008-6-9 16:26 发表


装上ncurses,也有可能需要ncurses的开发库

你是使用的debian么?

如果使用的debian,最好是做成deb包;如果不是使用的debian,编译之前最好看看软件需要的开发库,比如源代码目录里的README,INSTALL ...

我用的fedora 7。
我试试看,谢谢了。

论坛徽章:
0
7 [报告]
发表于 2008-06-09 16:33 |只看该作者

  1. yum install vim
复制代码

论坛徽章:
0
8 [报告]
发表于 2008-06-09 16:44 |只看该作者
原帖由 swordfish.cn 于 2008-6-9 16:33 发表

yum install vim

呵呵,我知道这个可以安装,我想自己编译一下试试。

论坛徽章:
0
9 [报告]
发表于 2008-06-09 17:26 |只看该作者
OK,那请自便吧。但是要注意看提示就好了。

论坛徽章:
95
程序设计版块每日发帖之星
日期:2015-09-05 06:20:00程序设计版块每日发帖之星
日期:2015-09-17 06:20:00程序设计版块每日发帖之星
日期:2015-09-18 06:20:002015亚冠之阿尔艾因
日期:2015-09-18 10:35:08月度论坛发贴之星
日期:2015-09-30 22:25:002015亚冠之阿尔沙巴布
日期:2015-10-03 08:57:39程序设计版块每日发帖之星
日期:2015-10-05 06:20:00每日论坛发贴之星
日期:2015-10-05 06:20:002015年亚冠纪念徽章
日期:2015-10-06 10:06:482015亚冠之塔什干棉农
日期:2015-10-19 19:43:35程序设计版块每日发帖之星
日期:2015-10-21 06:20:00每日论坛发贴之星
日期:2015-09-14 06:20:00
10 [报告]
发表于 2008-06-09 18:53 |只看该作者
原帖由 tianlijian 于 2008-6-9 16:18 发表

我是新手不知道哪个库指的是什么, 要怎么弄才行。

新手并不能成为不仔细看错误信息的理由。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP