天嵌 ARM开发社区

 找回密码
 注册
查看: 3430|回复: 3

关于QT编译出错问题

[复制链接]
andy-lang 发表于 2010-1-9 20:30:56 | 显示全部楼层 |阅读模式
本帖最后由 andy-lang 于 2010-1-9 20:33 编辑

当前配置:
系统:Redhat9
编译器:EABI-4.3.3_EmbedSky_20091210.tar.bz2
QT:Qte_20091216.tar.bz2
参照教程:天嵌科技出品--Qt程序开发完全手册(上)之24小时超级版本_第二版_20091216.pdf
步骤: 1、解压EABI-4.3.3_EmbedSky_20091210.tar.bz2到opt/EmbedSky/下
          2、修改/etc/profile,并使之生效
       3、解压Qte_20091216.tar.bz2到opt/EmbedSky/下
       4、执行#./x86-qtopia-2.2.0-konqueror_build
可是在编译过程中出现这样的错误,不知道怎么解决?操作系统是按照教程安装的,应该也是完全安装的。请遇到过这种问题的朋友帮忙解决下,谢谢!
.....
opt/EmbedSky/Qte/konqueror/stamp-h.in
opt/EmbedSky/Qte/konqueror/subdirs
Build konqueror , please wait ...
  
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking for -p flag to install... yes
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
[root@localhost Qte]#
[root@localhost Qte]# ./test_x86
./test_x86: line 3: /opt/EmbedSky/Qte/x86-qtopia-2.2.0/qt2/bin/qvfb: 没有那个文
件或目录
./test_x86: line 20: qpe: command not found
[root@localhost Qte]#
guoyin 发表于 2010-1-10 11:26:15 | 显示全部楼层
本帖最后由 guoyin 于 2010-1-10 11:27 编辑

./test_x86 -qws
还有要先运行qvfb &,如果运行不起来要看路径是否正确。
回复

使用道具 举报

亚瑟王 发表于 2010-1-11 14:57:22 | 显示全部楼层
1、执行编译X86的脚本没有成功,配置时出错,应该是你的Redhat9没有完全安装导致的,根据提示信息,好像gcc都没有安装。
2、必须在X86编译成功后进行X86的仿真,否则出错。
回复

使用道具 举报

 楼主| andy-lang 发表于 2010-1-16 13:38:17 | 显示全部楼层
3# 亚瑟王
谢谢管理员的回复,确实应该是操作系统的问题,我又重新安装了一次,这次编译都好了。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

i.MX8系列ARM cortex A53 M4 工控板上一条 /1 下一条

Archiver|手机版|小黑屋|天嵌 嵌入式开发社区 ( 粤ICP备11094220号-2 )

GMT+8, 2025-10-21 19:36 , Processed in 2.044894 second(s), 19 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表