编译vim时出错

tianlijian
编译vim时出错

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

swordfish.cn
为什么要编译安装?系统没有自带的软件管理工具吗?

jarodlau
[quote]原帖由 [i]tianlijian[/i] 于 2008-6-9 15:35 发表 [url=http://linux.chinaunix.net/bbs/redirect.php?goto=findpost&pid=6608765&ptid=1009812][img]http://linux.chinaunix.net/bbs/images/common/back.gif[/img][/url]
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 ... [/quote]

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

tianlijian
[quote]原帖由 [i]jarodlau[/i] 于 2008-6-9 16:16 发表 [url=http://linux.chinaunix.net/bbs/redirect.php?goto=findpost&pid=6608789&ptid=1009812][img]http://linux.chinaunix.net/bbs/images/common/back.gif[/img][/url]


说的很清楚
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 ... [/quote]
我是新手不知道哪个库指的是什么, 要怎么弄才行。

jarodlau
[quote]原帖由 [i]jarodlau[/i] 于 2008-6-9 16:16 发表 [url=http://linux.chinaunix.net/bbs/redirect.php?goto=findpost&pid=6608789&ptid=1009812][img]http://linux.chinaunix.net/bbs/images/common/back.gif[/img][/url]


说的很清楚
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 ... [/quote]

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

你是使用的debian么?

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

tianlijian
[quote]原帖由 [i]jarodlau[/i] 于 2008-6-9 16:26 发表 [url=http://linux.chinaunix.net/bbs/redirect.php?goto=findpost&pid=6608797&ptid=1009812][img]http://linux.chinaunix.net/bbs/images/common/back.gif[/img][/url]


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

你是使用的debian么?

如果使用的debian,最好是做成deb包;如果不是使用的debian,编译之前最好看看软件需要的开发库,比如源代码目录里的README,INSTALL ... [/quote]
我用的fedora 7。
我试试看,谢谢了。

swordfish.cn
[code]
yum install vim
[/code]

tianlijian
[quote]原帖由 [i]swordfish.cn[/i] 于 2008-6-9 16:33 发表 [url=http://linux.chinaunix.net/bbs/redirect.php?goto=findpost&pid=6608805&ptid=1009812][img]http://linux.chinaunix.net/bbs/images/common/back.gif[/img][/url]

yum install vim
[/quote]
呵呵,我知道这个可以安装,我想自己编译一下试试。

swordfish.cn
OK,那请自便吧。但是要注意看提示就好了。

MMMIX
[quote]原帖由 [i]tianlijian[/i] 于 2008-6-9 16:18 发表 [url=http://linux.chinaunix.net/bbs/redirect.php?goto=findpost&pid=6608791&ptid=1009812][img]http://linux.chinaunix.net/bbs/images/common/back.gif[/img][/url]

我是新手不知道哪个库指的是什么, 要怎么弄才行。 [/quote]
新手并不能成为不仔细看错误信息的理由。

炙热的雪
可能你没太看懂提示,大意是说找不到tlib这个库,如果该库不再系统默认的位置,通过--with-tlib指定
你可以到 [url]http://rpm.pbone.net/[/url] 去找一下这个库,应该有

tianlijian
[quote]原帖由 [i]MMMIX[/i] 于 2008-6-9 18:53 发表 [url=http://linux.chinaunix.net/bbs/redirect.php?goto=findpost&pid=6608870&ptid=1009812][img]http://linux.chinaunix.net/bbs/images/common/back.gif[/img][/url]

新手并不能成为不仔细看错误信息的理由。 [/quote]
不好意思了,呵呵。谢谢大家,我已经弄好了。
上一篇:make问题 下一篇:RHEL5