打印

编译时错误:not find a term library

编译时错误:not find a term library

编译最新的skyeye,提示错误:

checking compiler warning flags...  -Wimplicit -Wreturn-type -Wcomment -Wtrigraphs -Wformat -Wparentheses -Wpointer-arith -Wuninitialized
checking for cygwin... no
checking for tgetent in -lncurses... (cached) no
checking for tgetent in -lHcurses... no
checking for tgetent in -ltermlib... no
checking for tgetent in -ltermcap... (cached) no
checking for tgetent in -lcurses... (cached) no
checking for tgetent in -lterminfo... no
configure: error: Could not find a term library
Configure in /usr/local/src/skyeye/gdb failed, exiting.

请问该如何处理?
谢谢!

TOP

这说明你的linux系统中缺少curse方面的库,有关是系统安装得不全的原因。
建议安装redhat9以上的linux

TOP

我也遇到这个问题了,但是我全部安装了ncurse的库了啊?还需要什么库?

TOP

我是在debian下面的

TOP

man tgetent也有相关的信息。。。

TOP

我顶一下

TOP

在debian下成功了吗?可以问问walimis 他的环境也是debian,且成功运行了skyeye

TOP

我不认识walimis啊

TOP

给 wlm@student.dlut.edu.cn  发email看看他有无反映。

TOP

email给他了,不过到目前还是没回应啊

TOP

他给我回应了,但是按他所需的库装了还是一样出错。。。问题照旧

TOP

看来deiban没有redhat好用呀!

TOP

我的系统是debian sarge, 出错情况和你一样。
装了termcap包,还不行。
后来认真看那个README,里面提到在Mandrake系统下面要改termcap.h的路径。
这才发现在debian里,termcap.h是在 /usr/include/下面。而skyeye期望它在/usr/include/ncurese/下面。

于是我做了个连接 ln -s /usr/include/ncurse/termcap.h /usr/include/termcap.h
再次编译,还是说找不到termcap,
又删掉那个config.cache, 再次configure, 就成功了。
没有人能真正幸福,除非所有人都幸福 没有人能真正自由,除非所有人都自由

TOP

果然可以了,linux发行包不统一真麻烦

TOP

高人!谢谢!问题解决了!

TOP