+ -
当前位置:首页 → 问答吧 → 大家帮帮忙啊?关于fedora12 安装配置crosstool的问题~~~

大家帮帮忙啊?关于fedora12 安装配置crosstool的问题~~~

时间:2011-08-28

来源:互联网

小弟今天在fedora12 中安装交叉编译链,按照网上的说法用crosstool安装,
http://blog.chinaunix.net/space.php?uid=20543672&do=blog&cuid=2198589
在配置./configure --prefix=/opt/crosstool-ng 这一步最后显示:
Checking if static linking is possible... no
 * An optional host feature is missing, some features will be disabled:
 * - It will not be possible to statically link toolchain's binaries
Checking for 'ncurses/ncurses.h'... no
Checking for 'ncurses/curses.h'... no
Checking for 'ncurses.h'... no
Checking for 'curses.h'... no
 * A mandatory dependency is missing, or version mis-match:
 * - The 'ncurses' library is needed fo the menuconfig frontend
configure: Bailing out...
[root@localhost crosstool-ng-1.12.1]# make
make: *** 没有指明目标并且找不到 makefile。 停止。
为什么编译的时候出现这种问题呢?大家帮帮我哈~~我已经用网上的各种办法试过了~~~没有一个装好了得~~·怎么解决啊~~~

作者: jacky_wang_123   发布时间: 2011-08-28

引用楼主 jacky_wang_123 的回复:
* A mandatory dependency is missing, or version mis-match:
* - The 'ncurses' library is needed fo the menuconfig frontend


提示说的很明白了,缺少ncurses库,试着安装ncurses库看看。
sudo yum install "*ncurses*"

作者: heshanxingzhe   发布时间: 2011-08-28

看看。。。。。

作者: a397778823   发布时间: 2011-08-28

[root@localhost ~]# yum install ncurses
已加载插件:fastestmirror, presto, refresh-packagekit
Loading mirror speeds from cached hostfile
 * fedora: ftp.cuhk.edu.hk
 * updates: ftp.cuhk.edu.hk
设置安装进程
包 ncurses-5.7-3.20090207.fc12.i686 已安装并且是最新版本
无须任何处理
已经按装上了啊?为什么 还是不行呢?

引用 1 楼 heshanxingzhe 的回复:

引用楼主 jacky_wang_123 的回复:
* A mandatory dependency is missing, or version mis-match:
* - The 'ncurses' library is needed fo the menuconfig frontend


提示说的很明白了,缺少ncurses库,试着安装ncurses库看看。
sudo yum……

作者: jacky_wang_123   发布时间: 2011-08-28