• 28055阅读
  • 1回复

求助,FC4下安装QT4.1.1 [复制链接]

上一主题 下一主题
离线windy_bupt
 
只看楼主 倒序阅读 楼主  发表于: 2006-03-26
出错部分:
./figure 后的结果

NOTICE: Qt will not be built with XShape support.

    As a result, drag-and-drop in the Qt Designer will NOT
    work. We recommend that you enable XShape support by passing
    the -xshape switch to ./configure.

Qt is now configured for building. Just run 'gmake'.
Once everything is built, you must run 'gmake install'.
Qt will be installed into /usr/local/Trolltech/Qt-4.1.1

To reconfigure, run 'gmake confclean' and 'configure'.
-----------------------------------------------------------
谢谢各位了~
[ 此贴被XChinux在2006-03-26 08:50重新编辑 ]
离线windy_bupt
只看该作者 1楼 发表于: 2006-03-26
gmake执行后:

[root@localhost qt-x11-opensource-src-4.1.1]# gmake
cd src && gmake -f Makefile
gmake[1]: Entering directory `/develop/KDE/qt-x11-opensource-src-4.1.1/src'
cd tools/moc && gmake -f Makefile
gmake[2]: Entering directory `/develop/KDE/qt-x11-opensource-src-4.1.1/src/tools/moc'
gmake[2]: Nothing to be done for `first'.
gmake[2]: Leaving directory `/develop/KDE/qt-x11-opensource-src-4.1.1/src/tools/moc'
cd tools/rcc && gmake -f Makefile
gmake[2]: Entering directory `/develop/KDE/qt-x11-opensource-src-4.1.1/src/tools/rcc'
gmake[2]: Nothing to be done for `first'.
gmake[2]: Leaving directory `/develop/KDE/qt-x11-opensource-src-4.1.1/src/tools/rcc'
cd tools/uic && gmake -f Makefile
gmake[2]: Entering directory `/develop/KDE/qt-x11-opensource-src-4.1.1/src/tools/uic'
gmake[2]: Nothing to be done for `first'.
gmake[2]: Leaving directory `/develop/KDE/qt-x11-opensource-src-4.1.1/src/tools/uic'
cd corelib && gmake -f Makefile
gmake[2]: Entering directory `/develop/KDE/qt-x11-opensource-src-4.1.1/src/corelib'
gmake -f Makefile.Debug all
gmake[3]: Entering directory `/develop/KDE/qt-x11-opensource-src-4.1.1/src/corelib'
gmake[3]: Nothing to be done for `all'.
gmake[3]: Leaving directory `/develop/KDE/qt-x11-opensource-src-4.1.1/src/corelib'
gmake -f Makefile.Release all
gmake[3]: Entering directory `/develop/KDE/qt-x11-opensource-src-4.1.1/src/corelib'
gmake[3]: Nothing to be done for `all'.
gmake[3]: Leaving directory `/develop/KDE/qt-x11-opensource-src-4.1.1/src/corelib'
gmake[2]: Leaving directory `/develop/KDE/qt-x11-opensource-src-4.1.1/src/corelib'
cd xml && gmake -f Makefile
gmake[2]: Entering directory `/develop/KDE/qt-x11-opensource-src-4.1.1/src/xml'
/develop/KDE/qt-x11-opensource-src-4.1.1/bin/qmake -spec ../../mkspecs/linux-g++ -unix -o Makefile xml.pro
gmake[2]: Leaving directory `/develop/KDE/qt-x11-opensource-src-4.1.1/src/xml'
gmake[2]: Entering directory `/develop/KDE/qt-x11-opensource-src-4.1.1/src/xml'
gmake -f Makefile.Debug all
gmake[3]: Entering directory `/develop/KDE/qt-x11-opensource-src-4.1.1/src/xml'
gmake[3]: Nothing to be done for `all'.
gmake[3]: Leaving directory `/develop/KDE/qt-x11-opensource-src-4.1.1/src/xml'
gmake -f Makefile.Release all
gmake[3]: Entering directory `/develop/KDE/qt-x11-opensource-src-4.1.1/src/xml'
gmake[3]: Nothing to be done for `all'.
gmake[3]: Leaving directory `/develop/KDE/qt-x11-opensource-src-4.1.1/src/xml'
gmake[2]: Leaving directory `/develop/KDE/qt-x11-opensource-src-4.1.1/src/xml'
cd gui && gmake -f Makefile
gmake[2]: Entering directory `/develop/KDE/qt-x11-opensource-src-4.1.1/src/gui'
/develop/KDE/qt-x11-opensource-src-4.1.1/bin/qmake -spec ../../mkspecs/linux-g++ -unix -o Makefile gui.pro
gmake[2]: Leaving directory `/develop/KDE/qt-x11-opensource-src-4.1.1/src/gui'
gmake[2]: Entering directory `/develop/KDE/qt-x11-opensource-src-4.1.1/src/gui'
gmake -f Makefile.Debug all
gmake[3]: Entering directory `/develop/KDE/qt-x11-opensource-src-4.1.1/src/gui'
g++ -c -pipe -g -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -D_REENTRANT -fPIC -DQT_SHARED -DQT_BUILD_GUI_LIB -DQT_NO_CAST_TO_ASCII -DQT3_SUPPORT -DQT_MOC_COMPAT -DQT_RASTER_IMAGEENGINE -DQT_HAVE_SSE -DQT_PDF_SUPPORT -DFT_CONFIG_OPTION_SYSTEM_ZLIB -DQT_NO_STYLE_MAC -DQT_NO_STYLE_WINDOWSXP -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/linux-g++ -I. -I../../include/QtCore -I../../include -I../../include/QtGui -I../3rdparty/libpng -I../3rdparty/zlib -I../3rdparty/freetype/src -I../3rdparty/freetype/include -I../3rdparty/freetype/builds/unix -I.moc/debug-shared -I/usr/X11R6/include -I. -o .obj/debug-shared/qapplication.o kernel/qapplication.cpp
In file included from ../../include/QtGui/private/qt_x11_p.h:1,
          from kernel/qapplication.cpp:51:
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:50:22: error: X11/Xlib.h: 没有那个文件或目录
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:55:23: error: X11/Xutil.h: 没有那个文件或目录
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:56:21: error: X11/Xos.h: 没有那个文件或目录
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:63:23: error: X11/Xatom.h: 没有那个文件或目录
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:252: 错误:‘Colormap’ 没有命名一个类型
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:253: 错误:ISO C++ 不允许声明无类型的 ‘Visual’
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:253: 错误:expected ‘;’ before ‘*’ token
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:266: 错误:‘Window’ 没有命名一个类型
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:269: 错误:‘Window’ 未声明
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:270: 错误:‘Window’ 未声明
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:270: 错误:‘Atom’ 未声明
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:271: 错误:‘Atom’ 未声明
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:272: 错误:‘Window’ 未声明
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:272: 错误:‘Atom’ 未声明
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:283: 错误:expected ‘,’ or ‘...’ before ‘*’ token
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:283: 错误:ISO C++ 不允许声明无类型的 ‘XSelectionRequestEvent’
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:285: 错误:‘Atom’ 未声明
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:286: 错误:‘Atom’ 没有命名一个类型
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:334: 错误:ISO C++ 不允许声明无类型的 ‘Atom’
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:334: 错误:expected ‘;’ before ‘*’ token
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:336: 错误:ISO C++ 不允许声明无类型的 ‘Window’
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:336: 错误:expected ‘;’ before ‘*’ token
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:338: 错误:‘Window’ 没有命名一个类型
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:344: 错误:‘Time’ 没有命名一个类型
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:345: 错误:‘Time’ 没有命名一个类型
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:371: 错误:ISO C++ 不允许声明无类型的 ‘Visual’
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:371: 错误:expected ‘;’ before ‘*’ token
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:372: 错误:‘Colormap’ 没有命名一个类型
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:524: 错误:‘Atom’ 没有命名一个类型
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:534: 错误:‘FocusOut’ was not declared in this scope
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:535: 错误:‘FocusIn’ was not declared in this scope
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:536: 错误:‘KeyPress’ was not declared in this scope
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:537: 错误:‘KeyRelease’ was not declared in this scope
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:538: 错误:‘None’ was not declared in this scope
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:539: 错误:‘RevertToParent’ was not declared in this scope
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:540: 错误:‘GrayScale’ was not declared in this scope
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:541: 错误:‘CursorShape’ was not declared in this scope
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:556: 错误:‘XPoint’ was not declared in this scope
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:556: 错误:模板参数 1 无效
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:556: 错误:显式特例化非模板 ‘<type error>’
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:557: 错误:‘XRectangle’ was not declared in this scope
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:557: 错误:模板参数 1 无效
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:557: 错误:显式特例化非模板 ‘<type error>’
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:558: 错误:‘XChar2b’ was not declared in this scope
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:558: 错误:模板参数 1 无效
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:558: 错误:显式特例化非模板 ‘<type error>’
kernel/qapplication.cpp: In member function ‘void QApplicationPrivate::initialize()’:
kernel/qapplication.cpp:724: 警告:未使用的变量 ‘q’
gmake[3]: *** [.obj/debug-shared/qapplication.o] 错误 1
gmake[3]: Leaving directory `/develop/KDE/qt-x11-opensource-src-4.1.1/src/gui'
gmake[2]: *** [debug-all] 错误 2
gmake[2]: Leaving directory `/develop/KDE/qt-x11-opensource-src-4.1.1/src/gui'
gmake[1]: *** [sub-gui-make_default-ordered] 错误 2
gmake[1]: Leaving directory `/develop/KDE/qt-x11-opensource-src-4.1.1/src'
gmake: *** [sub-src-make_default-ordered] 错误 2
快速回复
限100 字节
 
上一个 下一个