Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
[...]
make[2]: Entering directory `/home/travikk/qt-x11-opensource-src-4.2.2/src/gui'
g++ -c -pipe -g -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -O2 -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/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:
../../src/gui/kernel/qt_x11_p.h:50:22: X11/Xlib.h: No such file or directory
../../src/gui/kernel/qt_x11_p.h:55:23: X11/Xutil.h: No such file or directory
../../src/gui/kernel/qt_x11_p.h:56:21: X11/Xos.h: No such file or directory
../../src/gui/kernel/qt_x11_p.h:63:23: X11/Xatom.h: No such file or directory
In file included from ../../include/QtGui/private/qt_x11_p.h:1,
from kernel/qapplication.cpp:55:
../../src/gui/kernel/qt_x11_p.h:248: error: 'Colormap' is used as a type, but
is not defined as a type.
../../src/gui/kernel/qt_x11_p.h:249: error: syntax error before `*' token
../../src/gui/kernel/qt_x11_p.h:258: error: 'Time' is used as a type, but is
not defined as a type.
../../src/gui/kernel/qt_x11_p.h:259: error: 'Window' is used as a type, but is
not defined as a type.
../../src/gui/kernel/qt_x11_p.h:260: error: 'Window' is used as a type, but is
not defined as a type.
../../src/gui/kernel/qt_x11_p.h:282: error: `Window' was not declared in this
scope
../../src/gui/kernel/qt_x11_p.h:282: error: `Atom' was not declared in this
scope
../../src/gui/kernel/qt_x11_p.h:282: error: parse error before `)' token
../../src/gui/kernel/qt_x11_p.h:282: error: 'Window' is used as a type, but is
not defined as a type.
../../src/gui/kernel/qt_x11_p.h:285: error: `Window' was not declared in this
scope
../../src/gui/kernel/qt_x11_p.h:285: error: parse error before `,' token
../../src/gui/kernel/qt_x11_p.h:286: error: `Window' was not declared in this
scope
../../src/gui/kernel/qt_x11_p.h:286: error: parse error before `,' token
../../src/gui/kernel/qt_x11_p.h:288: error: `Window' was not declared in this
scope
../../src/gui/kernel/qt_x11_p.h:288: error: parse error before `,' token
../../src/gui/kernel/qt_x11_p.h:299: error: parse error before `*' token
../../src/gui/kernel/qt_x11_p.h:301: error: `Atom' was not declared in this
scope
../../src/gui/kernel/qt_x11_p.h:301: error: parse error before `)' token
../../src/gui/kernel/qt_x11_p.h:302: error: parse error before `char'
../../src/gui/kernel/qt_x11_p.h:304: error: `Atom' was not declared in this
scope
../../src/gui/kernel/qt_x11_p.h:304: error: parse error before `)' token
../../src/gui/kernel/qt_x11_p.h:305: error: parse error before `&' token
../../src/gui/kernel/qt_x11_p.h:306: error: `Atom' was not declared in this
scope
../../src/gui/kernel/qt_x11_p.h:306: error: parse error before `)' token
../../src/gui/kernel/qt_x11_p.h:307: error: `Atom' was not declared in this
scope
../../src/gui/kernel/qt_x11_p.h:307: error: parse error before `,' token
../../src/gui/kernel/qt_x11_p.h:308: error: `Atom' was not declared in this
scope
../../src/gui/kernel/qt_x11_p.h:308: error: template argument 1 is invalid
../../src/gui/kernel/qt_x11_p.h:308: error: ISO C++ forbids declaration of `
xdndMimeAtomsForFormat' with no type
../../src/gui/kernel/qt_x11_p.h:309: error: `Atom' was not declared in this
scope
../../src/gui/kernel/qt_x11_p.h:309: error: parse error before `,' token
../../src/gui/kernel/qt_x11_p.h:310: error: parse error before `&' token
In file included from ../../include/QtGui/private/qt_x11_p.h:1,
from kernel/qapplication.cpp:55:
../../src/gui/kernel/qt_x11_p.h:365: error: syntax error before `*' token
../../src/gui/kernel/qt_x11_p.h:367: error: syntax error before `*' token
../../src/gui/kernel/qt_x11_p.h:369: error: 'Window' is used as a type, but is
not defined as a type.
../../src/gui/kernel/qt_x11_p.h:375: error: 'Time' is used as a type, but is
not defined as a type.
../../src/gui/kernel/qt_x11_p.h:376: error: 'Time' is used as a type, but is
not defined as a type.
../../src/gui/kernel/qt_x11_p.h:402: error: syntax error before `*' token
../../src/gui/kernel/qt_x11_p.h:403: error: 'Colormap' is used as a type, but
is not defined as a type.
../../src/gui/kernel/qt_x11_p.h:563: error: parse error before `[' token
../../src/gui/kernel/qt_x11_p.h:573: error: `FocusOut' was not declared in this
scope
../../src/gui/kernel/qt_x11_p.h:573: error: enumerator value for `XFocusOut'
not integer constant
../../src/gui/kernel/qt_x11_p.h:574: error: `FocusIn' was not declared in this
scope
../../src/gui/kernel/qt_x11_p.h:574: error: enumerator value for `XFocusIn' not
integer constant
../../src/gui/kernel/qt_x11_p.h:575: error: `KeyPress' was not declared in this
scope
../../src/gui/kernel/qt_x11_p.h:575: error: enumerator value for `XKeyPress'
not integer constant
../../src/gui/kernel/qt_x11_p.h:576: error: `KeyRelease' was not declared in
this scope
../../src/gui/kernel/qt_x11_p.h:576: error: enumerator value for `XKeyRelease'
not integer constant
../../src/gui/kernel/qt_x11_p.h:577: error: `None' was not declared in this
scope
../../src/gui/kernel/qt_x11_p.h:577: error: enumerator value for `XNone' not
integer constant
../../src/gui/kernel/qt_x11_p.h:578: error: `RevertToParent' was not declared
in this scope
../../src/gui/kernel/qt_x11_p.h:578: error: enumerator value for `
XRevertToParent' not integer constant
../../src/gui/kernel/qt_x11_p.h:579: error: `GrayScale' was not declared in
this scope
../../src/gui/kernel/qt_x11_p.h:579: error: enumerator value for `XGrayScale'
not integer constant
../../src/gui/kernel/qt_x11_p.h:581: error: `CursorShape' was not declared in
this scope
../../src/gui/kernel/qt_x11_p.h:581: error: enumerator value for `XCursorShape'
not integer constant
../../src/gui/kernel/qt_x11_p.h:595: error: `XPoint' was not declared in this
scope
../../src/gui/kernel/qt_x11_p.h:595: error: template argument 1 is invalid
../../src/gui/kernel/qt_x11_p.h:595: error: `XPoint' was not declared in this
scope
../../src/gui/kernel/qt_x11_p.h:595: error: enumerator value for `isLarge' not
integer constant
../../src/gui/kernel/qt_x11_p.h:595: error: can't make `name' into a method --
not in a class
../../src/gui/kernel/qt_x11_p.h:596: error: `XRectangle' was not declared in
this scope
../../src/gui/kernel/qt_x11_p.h:596: error: template argument 1 is invalid
../../src/gui/kernel/qt_x11_p.h:596: error: `XRectangle' was not declared in
this scope
../../src/gui/kernel/qt_x11_p.h:596: error: enumerator value for `isLarge' not
integer constant
../../src/gui/kernel/qt_x11_p.h:596: error: can't make `name' into a method --
not in a class
../../src/gui/kernel/qt_x11_p.h:597: error: `XChar2b' was not declared in this
scope
../../src/gui/kernel/qt_x11_p.h:597: error: template argument 1 is invalid
../../src/gui/kernel/qt_x11_p.h:597: error: `XChar2b' was not declared in this
scope
../../src/gui/kernel/qt_x11_p.h:597: error: enumerator value for `isLarge' not
integer constant
../../src/gui/kernel/qt_x11_p.h:597: error: can't make `name' into a method --
not in a class
make[2]: *** [.obj/release-shared/qapplication.o] Error 1
make[2]: Leaving directory `/home/travikk/qt-x11-opensource-src-4.2.2/src/gui'
make[1]: *** [sub-gui-make_default] Error 2
make[1]: Leaving directory `/home/travikk/qt-x11-opensource-src-4.2.2/src'
make: *** [sub-src-make_default-ordered] Error 2
../../src/gui/kernel/qt_x11_p.h:50:22: X11/Xlib.h: No such file or directory
../../src/gui/kernel/qt_x11_p.h:55:23: X11/Xutil.h: No such file or directory
../../src/gui/kernel/qt_x11_p.h:56:21: X11/Xos.h: No such file or directory
../../src/gui/kernel/qt_x11_p.h:63:23: X11/Xatom.h: No such file or directory
You have not installed the x11 developement package which is used when you want to compile x-apps. Use your distro's package manager to intall it.
Thanks, but the problem is i do not have internet connection on my linux, yet
I need QT which needs x11-devel (as you said) to install the utility for my WLAN card.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.