• 5820阅读
  • 6回复

在redhat上装QT出现的问题 [复制链接]

上一主题 下一主题
离线twodemail
 
只看楼主 倒序阅读 楼主  发表于: 2010-03-16
[size=5]我照着安装"QT for x11"的,但是在执行./configure命令的时候,给出如下信息:
[root@localhost qt-x11-opensource-src-4.1.1]# ./configure

This is the Qt/X11 Open Source Edition.

You are licensed to use this software under the terms of either
the Q Public License (QPL) or the GNU General Public License (GPL).

Type 'Q' to view the Q Public License.
Type 'G' to view the GNU General Public License.
Type 'yes' to accept this license offer.
Type 'no' to decline this license offer.

Do you accept the terms of either license? yes

Creating qmake. Please wait...
gmake: *** Warning: File `project.cpp' has modification time in the future (2006-02-16 18:51:06 > 2004-03-10 14:07:47.605604)
g++ -c -o project.o -pipe -DQMAKE_OPENSOURCE_EDITION -g -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac -I/tmp/qt-x11-opensource-src-4.1.1/src/corelib/arch/generic -I/tmp/qt-x11-opensource-src-4.1.1/include -I/tmp/qt-x11-opensource-src-4.1.1/include/QtCore -I/tmp/qt-x11-opensource-src-4.1.1/include -I/tmp/qt-x11-opensource-src-4.1.1/include/QtCore -I/tmp/qt-x11-opensource-src-4.1.1/src/corelib/global -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_STL -DQT_BUILD_QMAKE -DQT_NO_COMPRESS -I/tmp/qt-x11-opensource-src-4.1.1/mkspecs/linux-g++ -DHAVE_QCONFIG_CPP -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT project.cpp
gmake: g++: Command not found
gmake: *** [project.o] Error 127

现在都不知道怎么解决
离线wd007

只看该作者 1楼 发表于: 2010-03-17
在RH早先版本安装Qt 4,一般依赖问题多多,建议换系统
欢迎访问我的博客,一起学习提高
http://blog.csdn.net/qter_wd007
离线ganniniangde

只看该作者 2楼 发表于: 2010-03-17
我也遇到这种情况,请高手帮忙,我原先装feoa系统也一直出现这种情况
离线wd007

只看该作者 3楼 发表于: 2010-03-18
楼上是什么系统?FC吗,新版本的应该问题不大。
欢迎访问我的博客,一起学习提高
http://blog.csdn.net/qter_wd007
离线benbenmajia

只看该作者 4楼 发表于: 2010-03-19
建议使用ubuntu
安然.....
离线ooyoyo
只看该作者 5楼 发表于: 2010-03-28
g++都没有怎么编译

只看该作者 6楼 发表于: 2010-04-05
我在UBUNTU中遇到了同样的问题,在新立得软件包里安装g++后,这一步顺利通过,但使用make命令时提示:
root@ubuntu:/usr/local/qt-everywhere-opensource-src-4.6.2# make
make: *** No targets specified and no makefile found.  Stop.
说是没有找到指定的目标文件,哪位高手能否指点一下在UBUNTU中安装qt-x11时,make命令怎么用吗?谢谢!
快速回复
限100 字节
 
上一个 下一个