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
具体的打印信息如下:
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.
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
cdncurses-5.7
./configure
make
sudomakeinstall
相关文章推荐
- ncurses-5.7交叉编译在执行tic时挂死
- 交叉编译在目标板上执行helloworld时提示:“No such file or directory”
- QT5.7+tslib1.4库的交叉编译、移植到开发板ARM9上,无法使用触摸屏
- ubuntu交叉编译android平台可执行C程序
- 交叉编译场景分析(arm-linux)(四)--编译readline和ncurses
- 利用 CMake 和 NDK 交叉编译 Android 下的可执行程序
- 交叉编译场景分析(arm-linux)(四)--编译readline和ncurses
- 交叉编译环境学习(编译Android上的可执行程序)
- 安装交叉编译工具,执行arm-linux-gcc –v命令出现提示找不到该文件或目录?解决方法
- 安装交叉编译工具,执行arm-linux-gcc –v命令出现提示找不到该文件或目录?解决方法(转)
- 交叉编译工具执行时候出现错误
- 安装交叉编译工具,执行arm-linux-gcc –v命令出现提示找不到该文件或目录?解决方法
- 交叉编译场景分析(arm-linux)(四)--编译readline和ncurses
- 交叉编译场景分析(arm-linux)(四)--编译readline和ncurses
- 交叉编译ncurses库
- c编写,交叉编译成android下二进制可执行文件
- 安装交叉编译工具,执行arm-linux-gcc –v命令出现提示找不到该文件或目录?解决方法
- 安装交叉编译工具,执行arm-linux-gcc –v命令出现提示找不到该文件或目录?解决方法
- QT5.7+tslib1.4库的交叉编译、移植到开发板ARM9上.......
- 交叉编译Qt5.7