您的位置:首页 > 其它

ncurses-5.7交叉编译在执行tic时挂死

2012-09-17 14:43 120 查看
今天在一台Centos5.4的主机上交叉编译某个MIPS64平台的ncurses-5.7的代码的时候,会在执行tic时挂死。

具体的打印信息如下:

............cdmisc&&makeDESTDIR="/home/xxxx/libraries"install
make[4]:Enteringdirectory`/home/xxxx/ncurses-5.7/misc'
DESTDIR=/home/xxxx/libraries\
prefix=/usr\
exec_prefix=/usr\
bindir=/usr/bin\
top_srcdir=..\
srcdir=.\
datadir=/usr/share\
ticdir=/usr/share/terminfo\
source=terminfo.tmp\
THIS_CC="mips64-xxxx-gcc"\
THAT_CC="gcc"\
/bin/sh./run_tic.sh
**Buildingterminfodatabase,pleasewait...
Runningtictoinstall/home/xxxx/libraries/usr/share/terminfo...

Youmayseemessagesregardingextendedcapabilities,e.g.,AX.
Theseareextendedterminalcapabilitieswhicharecompiled
using
tic-x
Ifyouhavencurses4.2applications,youshouldreadtheINSTALL
document,andinstalltheterminfowithoutthe-xoption.
经过在网上搜索以及做实验,发现是由于主机上ncurses版本过低造成的(tic命令在ncurses中提供)。$]yumprovides/usr/bin/tic
Loadedplugins:fastestmirror
ncurses-5.5-24.20060715.i386:Aterminalhandlinglibrary
Repo:base
Matchedfrom:
Filename:/usr/bin/tic

ncurses-5.5-24.20060715.x86_64:Aterminalhandlinglibrary
Repo:base
Matchedfrom:
Filename:/usr/bin/tic

ncurses-5.5-24.20060715.i386:Aterminalhandlinglibrary
Repo:installed
Matchedfrom:
Other:Provides-match:/usr/bin/tic

ncurses-5.5-24.20060715.x86_64:Aterminalhandlinglibrary
Repo:installed
Matchedfrom:
Other:Provides-match:/usr/bin/tic
但是yuminstall提示已经是最新的版本,最终只能通过ncurses-5.7源代码编译主机上的版本并安装。tar-zxfncurses-5.7.tar.gz
cdncurses-5.7
./configure
make
sudomakeinstall
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: