交叉编译 asterisk的问题

ZZM35837995 2011-10-25 10:22:11
在ubuntu 下 用arm-none-linux-gnueabi-gcc 编译asterisk 1.6.2.20 出错

configure: error: *** termcap support not found (on modern systems, this typically means the ncurses development package is missing)

这是我的configure 命令
./configure --prefix=/home/heizi/newhardk/project CC=/usr/local/arm-none-linux-gnueabi/bin/arm-none-linux-gnueabi-gcc --host=arm-none-linux-gnueabi --disable-xmldoc

google了下,看出错的原因 是由于缺少了ncurses 的包 ,然后我执行

sudo apt-get install libncurses-dev

libncurses5-dev 已经是最新的版本了。。!!

再找。。。。
yum install libtermcap libtermcap-devel newt newt-devel ncurses ncurses-devel bison bison-devel zlib zlib-devel openssl openssl-devel gnutls-devel gcc gcc-c++


这个方法也试了 还是不行。 有 研究过 asterisk 编译的大大吗? 倒底是少什么 还是编译的命令 出错了?



...全文
349 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
ZZM35837995 2011-10-26
  • 打赏
  • 举报
回复
交叉编译了ncurses 还是 不行啊
xunxun 2011-10-26
  • 打赏
  • 举报
回复
要看config.log

另外试试交叉编译termcap看看

反正看config.log看他的检测命令行是啥就编译哪个

18,773

社区成员

发帖
与我相关
我的任务
社区描述
Linux/Unix社区 专题技术讨论区
社区管理员
  • 专题技术讨论区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧