红联Linux门户
Linux帮助

ubuntu下安装qt

发布时间:2012-09-19 23:51:17来源:红联作者:w401229755
解压完/qt-x11-opensource-src-4.5.0 后 把它放在一个目录下 然后进入/qt-x11-opensource-src-4.5.0这个目录 运行configure 出现如下错误 该怎么解决

wmy@wmy-VirtualBox:/mnt/shared/tar/test1/qt-all-opensource-src-4.5.0$ ./configure

This is the Qt/X11 Open Source Edition.

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

Type '3' to view the GNU General Public License version 3.
Type 'L' to view the GNU Lesser 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/shared/tar/test1/qt-all-opensource-src-4.5.0/src/corelib/global/qconfig.cpp:新的权限为r-xrwxrwx,而非r-xr-xr-x
Creating qmake. Please wait...
ln: 创建符号链接 "/mnt/shared/tar/test1/qt-all-opensource-src-4.5.0/include/QtCore/qconfig.h": 只读文件系统
ln: 创建符号链接 "/mnt/shared/tar/test1/qt-all-opensource-src-4.5.0/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/shared/tar/test1/qt-all-opensource-src-4.5.0/include -I/mnt/shared/tar/test1/qt-all-opensource-src-4.5.0/include/QtCore -I/mnt/shared/tar/test1/qt-all-opensource-src-4.5.0/src/corelib/global -I/mnt/shared/tar/test1/qt-all-opensource-src-4.5.0/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/shared/tar/test1/qt-all-opensource-src-4.5.0/mkspecs/linux-g++ -DHAVE_QCONFIG_CPP -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT project.cpp
In file included from /mnt/shared/tar/test1/qt-all-opensource-src-4.5.0/include/QtCore/qglobal.h:1:0,
from /mnt/shared/tar/test1/qt-all-opensource-src-4.5.0/include/QtCore/../../src/corelib/tools/qalgorithms.h:45,
from /mnt/shared/tar/test1/qt-all-opensource-src-4.5.0/include/QtCore/qalgorithms.h:1,
from /mnt/shared/tar/test1/qt-all-opensource-src-4.5.0/include/QtCore/../../src/corelib/tools/qstringlist.h:45,
from /mnt/shared/tar/test1/qt-all-opensource-src-4.5.0/include/QtCore/qstringlist.h:1,
from project.h:45,
from project.cpp:42:
/mnt/shared/tar/test1/qt-all-opensource-src-4.5.0/include/QtCore/../../src/corelib/global/qglobal.h:62:28: fatal error: QtCore/qconfig.h: 没有那个文件或目录
compilation terminated.
make: *** [project.o] 错误 1


好多时候都出现什么只读文件系统 就大神解决
文章评论

共有 4 条评论

  1. odyo9873 于 2012-09-20 22:22:50发表:

    遇到好贴决不能放过。顶

  2. vydc4062 于 2012-09-20 22:22:38发表:

    博学知识有益无害
    看完觉得真的如此完全的写出了我的心声

  3. 张无忌1987 于 2012-09-20 21:39:44发表:

    学习下

  4. LG_OPEN 于 2012-09-20 12:45:19发表:

    你再重新mount成rw就可以