安装QT时出现如下错误。XP下虚拟ubuntu的

软件和网站开发以及相关技术探讨
回复
waterfrogcdw
帖子: 8
注册时间: 2009-10-16 22:57

安装QT时出现如下错误。XP下虚拟ubuntu的

#1

帖子 waterfrogcdw » 2009-10-17 23:58

root@daniel-desktop:/mnt/hgfs/linux/qt-x11-opensource-src-4.5.2# sudo ./configure -no-opengl
Which edition of Qt do you want to use ?

Type 'c' if you want to use the Commercial Edition.
Type 'o' if you want to use the Open Source Edition.

o


This is the Qt/X11 Open Source Edition.

You are licensed to use this software under the terms of
the GNU General Public License (GPL) versions 3.
You are also licensed to use this software under the terms of
the Lesser GNU General Public License (LGPL) versions 2.1.

Type '3' to view the GNU General Public License version 3.
Type 'L' to view the Lesser GNU General Public License version 2.1.
Type 'yes' to accept this license offer.
Type 'no' to decline this license offer.

Do you accept the terms of either license?

You are licensed to use this software under the terms of
the GNU General Public License (GPL) versions 3.
You are also licensed to use this software under the terms of
the Lesser GNU General Public License (LGPL) versions 2.1.

Type '3' to view the GNU General Public License version 3.
Type 'L' to view the Lesser GNU General Public License version 2.1.
Type 'yes' to accept this license offer.
Type 'no' to decline this license offer.

Do you accept the terms of either license?

You are licensed to use this software under the terms of
the GNU General Public License (GPL) versions 3.
You are also licensed to use this software under the terms of
the Lesser GNU General Public License (LGPL) versions 2.1.

Type '3' to view the GNU General Public License version 3.
Type 'L' to view the Lesser GNU General Public License version 2.1.
Type 'yes' to accept this license offer.
Type 'no' to decline this license offer.

Do you accept the terms of either license? yes

chmod: /mnt/hgfs/linux/qt-x11-opensource-src-4.5.2/src/corelib/global/qconfig.cpp:新的权限为 r-xrwxrwx,而非 r-xr-xr-x
Creating qmake. Please wait...
ln: 创建符号链接 “/mnt/hgfs/linux/qt-x11-opensource-src-4.5.2/include/QtCore/qconfig.h”: 操作不支持
ln: 创建符号链接 “/mnt/hgfs/linux/qt-x11-opensource-src-4.5.2/include/Qt/qconfig.h”: 操作不支持
ln: 创建符号链接 “mkspecs/default”: 操作不支持
g++ -c -o project.o -pipe -DQMAKE_OPENSOURCE_EDITION -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac -I/mnt/hgfs/linux/qt-x11-opensource-src-4.5.2/include -I/mnt/hgfs/linux/qt-x11-opensource-src-4.5.2/include/QtCore -I/mnt/hgfs/linux/qt-x11-opensource-src-4.5.2/src/corelib/global -I/mnt/hgfs/linux/qt-x11-opensource-src-4.5.2/src/script -DQT_NO_PCRE -DQT_BUILD_QMAKE -DQT_BOOTSTRAPPED -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS -I/mnt/hgfs/linux/qt-x11-opensource-src-4.5.2/mkspecs/linux-g++ -DHAVE_QCONFIG_CPP -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT project.cpp
在包含自 /mnt/hgfs/linux/qt-x11-opensource-src-4.5.2/include/QtCore/qglobal.h:1 的文件中,
从 /mnt/hgfs/linux/qt-x11-opensource-src-4.5.2/include/QtCore/../../src/corelib/tools/qalgorithms.h:45,
从 /mnt/hgfs/linux/qt-x11-opensource-src-4.5.2/include/QtCore/qalgorithms.h:1,
从 /mnt/hgfs/linux/qt-x11-opensource-src-4.5.2/include/QtCore/../../src/corelib/tools/qstringlist.h:45,
从 /mnt/hgfs/linux/qt-x11-opensource-src-4.5.2/include/QtCore/qstringlist.h:1,
从 project.h:45,
从 project.cpp:42:
/mnt/hgfs/linux/qt-x11-opensource-src-4.5.2/include/QtCore/../../src/corelib/global/qglobal.h:62:28: 错误: QtCore/qconfig.h:没有该文件或目录
make: *** [project.o] 错误 1
root@daniel-desktop:/mnt/hgfs/linux/qt-x11-opensource-src-4.5.2# sudo make
make: *** 没有指明目标并且找不到 makefile。 停止。
头像
davidlone
帖子: 626
注册时间: 2007-03-06 18:14
来自: 常德--重庆

Re: 安装QT时出现如下错误。XP下虚拟ubuntu的

#2

帖子 davidlone » 2009-10-18 9:03

这种东西没必要自己编译吧
ABIT Rocket AV8 ,AMD3500,创见DDR433 1GB,希捷IDE250GB,MSI6200a,7130电视卡,Archlinux
回复