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
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。
我试试看,谢谢了。