All pastes #487261 Raw Edit

Someone

public text v1 · immutable
·published 2007-05-14 11:03 UTC
rendered paste body
 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 'make'.
Once everything is built, you must run 'make install'.
Qt will be installed into /usr/local/Trolltech/Qt-4.2.3

To reconfigure, run 'make confclean' and 'configure'.

viktor@viktor-laptop:~/qt-x11-opensource-src-4.2.3$ make
cd src && make -f Makefile
make[1]: Entering directory `/home/viktor/qt-x11-opensource-src-4.2.3/src'
cd tools/moc && make -f Makefile
make[2]: Entering directory `/home/viktor/qt-x11-opensource-src-4.2.3/src/tools/moc'
make[2]: Nothing to be done for `first'.
make[2]: Leaving directory `/home/viktor/qt-x11-opensource-src-4.2.3/src/tools/moc'
cd tools/rcc && make -f Makefile
make[2]: Entering directory `/home/viktor/qt-x11-opensource-src-4.2.3/src/tools/rcc'
make[2]: Nothing to be done for `first'.
make[2]: Leaving directory `/home/viktor/qt-x11-opensource-src-4.2.3/src/tools/rcc'
cd tools/uic && make -f Makefile
make[2]: Entering directory `/home/viktor/qt-x11-opensource-src-4.2.3/src/tools/uic'
make[2]: Nothing to be done for `first'.
make[2]: Leaving directory `/home/viktor/qt-x11-opensource-src-4.2.3/src/tools/uic'
cd corelib && make -f Makefile
make[2]: Entering directory `/home/viktor/qt-x11-opensource-src-4.2.3/src/corelib'
make[2]: Nothing to be done for `first'.
make[2]: Leaving directory `/home/viktor/qt-x11-opensource-src-4.2.3/src/corelib'
cd xml && make -f Makefile
make[2]: Entering directory `/home/viktor/qt-x11-opensource-src-4.2.3/src/xml'
/home/viktor/qt-x11-opensource-src-4.2.3/bin/qmake -spec ../../mkspecs/linux-g++ -unix -o Makefile xml.pro
make[2]: Leaving directory `/home/viktor/qt-x11-opensource-src-4.2.3/src/xml'
make[2]: Entering directory `/home/viktor/qt-x11-opensource-src-4.2.3/src/xml'
make[2]: Nothing to be done for `first'.
make[2]: Leaving directory `/home/viktor/qt-x11-opensource-src-4.2.3/src/xml'
cd gui && make -f Makefile
make[2]: Entering directory `/home/viktor/qt-x11-opensource-src-4.2.3/src/gui'
/home/viktor/qt-x11-opensource-src-4.2.3/bin/qmake -spec ../../mkspecs/linux-g++ -unix -o Makefile gui.pro
make[2]: Leaving directory `/home/viktor/qt-x11-opensource-src-4.2.3/src/gui'
make[2]: Entering directory `/home/viktor/qt-x11-opensource-src-4.2.3/src/gui'
g++ -c -pipe -g -O2 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -D_REENTRANT -fPIC  -DQT_SHARED -DQT_BUILD_GUI_LIB -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT -DQT_RASTER_IMAGEENGINE -DQT_HAVE_SSE -DFT2_BUILD_LIBRARY -DFT_CONFIG_OPTION_SYSTEM_ZLIB -DQT_NO_OPENTYPE -DQT_NO_STYLE_MAC -DQT_NO_STYLE_WINDOWSXP -DQ_INTERNAL_QAPP_SRC -DQT_NO_DEBUG -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/linux-g++ -I. -I../../include/QtCore -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/release-shared -I/usr/X11R6/include -I.uic/release-shared -o .obj/release-shared/qapplication.o kernel/qapplication.cpp
In file included from ../../include/QtGui/private/qt_x11_p.h:1,
                 from kernel/qapplication.cpp:55:
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:50:22: error: X11/Xlib.h: No such file or directory
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:55:23: error: X11/Xutil.h: No such file or directory
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:56:21: error: X11/Xos.h: No such file or directory
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:63:23: error: X11/Xatom.h: No such file or directory
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:248: error: ‘Colormap’ does not name a type
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:249: error: ISO C++ forbids declaration of ‘Visual’ with no type
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:249: error: expected ‘;’ before ‘*’ token
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:258: error: ‘Time’ does not name a type
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:259: error: ‘Window’ does not name a type
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:260: error: ‘Window’ does not name a type
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:282: error: ‘Window’ does not name a type
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:285: error: ‘Window’ has not been declared
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:286: error: ‘Window’ has not been declared
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:286: error: ‘Atom’ has not been declared
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:287: error: ‘Atom’ has not been declared
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:288: error: ‘Window’ has not been declared
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:288: error: ‘Atom’ has not been declared
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:299: error: expected ‘,’ or ‘...’ before ‘*’ token
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:299: error: ISO C++ forbids declaration of ‘XSelectionRequestEvent’ with no type
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:301: error: ‘Atom’ has not been declared
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:302: error: ‘Atom’ does not name a type
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:304: error: ‘Atom’ has not been declared
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:305: error: ‘Atom’ does not name a type
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:306: error: ‘Atom’ has not been declared
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:307: error: ‘Atom’ has not been declared
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:307: error: ‘Atom’ has not been declared
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:308: error: ‘Atom’ was not declared in this scope
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:308: error: template argument 1 is invalid
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:309: error: ‘Atom’ has not been declared
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:310: error: ‘Atom’ does not name a type
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:365: error: ISO C++ forbids declaration of ‘Atom’ with no type
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:365: error: expected ‘;’ before ‘*’ token
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:367: error: ISO C++ forbids declaration of ‘Window’ with no type
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:367: error: expected ‘;’ before ‘*’ token
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:369: error: ‘Window’ does not name a type
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:375: error: ‘Time’ does not name a type
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:376: error: ‘Time’ does not name a type
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:402: error: ISO C++ forbids declaration of ‘Visual’ with no type
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:402: error: expected ‘;’ before ‘*’ token
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:403: error: ‘Colormap’ does not name a type
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:563: error: ‘Atom’ does not name a type
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:573: error: ‘FocusOut’ was not declared in this scope
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:574: error: ‘FocusIn’ was not declared in this scope
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:575: error: ‘KeyPress’ was not declared in this scope
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:576: error: ‘KeyRelease’ was not declared in this scope
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:577: error: ‘None’ was not declared in this scope
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:578: error: ‘RevertToParent’ was not declared in this scope
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:579: error: ‘GrayScale’ was not declared in this scope
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:580: error: ‘CursorShape’ was not declared in this scope
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:595: error: ‘XPoint’ was not declared in this scope
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:595: error: template argument 1 is invalid
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:596: error: ‘XRectangle’ was not declared in this scope
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:596: error: template argument 1 is invalid
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:597: error: ‘XChar2b’ was not declared in this scope
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:597: error: template argument 1 is invalid
make[2]: *** [.obj/release-shared/qapplication.o] Error 1
make[2]: Leaving directory `/home/viktor/qt-x11-opensource-src-4.2.3/src/gui'
make[1]: *** [sub-gui-make_default] Error 2
make[1]: Leaving directory `/home/viktor/qt-x11-opensource-src-4.2.3/src'
make: *** [sub-src-make_default-ordered] Error 2
viktor@viktor-laptop:~/qt-x11-opensource-src-4.2.3$