PDA

View Full Version : Qt-x11-commercial-src-4.2.0-snapshot-20060824 error



DevObject
24th August 2006, 23:38
I have been having trouble compiling Qt libs in my debian linux system I would appreciate if you could look at the error messages and tell me how I should proceed.

I followed the following instructions

Un pack the tar.gz file

run ./configure script ----working fine now

make fail with following error message





../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:246: error: `Colormap' does not name a type

../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:247: error: ISO C++ forbids declaration of `Visual' with no type

../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:247: error: expected `;' before '*' token

../../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:263: error: expected `;' before '(' token

../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:264: error: expected `;' before '(' token

../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:266: error: expected `;' before '(' token

../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:277: error: expected `,' or `...' before '*' token

../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:277: error: ISO C++ forbids declaration of `XSelectionRequestEvent' with no type

../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:279: error: expected `;' before '(' token

../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:280: error: `Atom' does not name a type

../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:328: error: ISO C++ forbids declaration of `Atom' with no type

../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:328: error: expected `;' before '*' token

../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:330: error: ISO C++ forbids declaration of `Window' with no type

../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:330: error: expected `;' before '*' token

../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:332: error: `Window' does not name a type

../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:338: error: `Time' does not name a type

../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:339: error: `Time' does not name a type

../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:365: error: ISO C++ forbids declaration of `Visual' 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:366: error: `Colormap' does not name a type

../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:511: error: `Atom' does not name a type

../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:521: error: `FocusOut' was not declared in this scope

../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:521: error: enumerator value for `XFocusOut' not integer constant

../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:522: error: `FocusIn' was not declared in this scope

../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:522: error: enumerator value for `XFocusIn' not integer constant

../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:523: error: `KeyPress' was not declared in this scope

../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:523: error: enumerator value for `XKeyPress' not integer constant

../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:524: error: `KeyRelease' was not declared in this scope

../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:524: error: enumerator value for `XKeyRelease' not integer constant

../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:525: error: `None' was not declared in this scope

../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:525: error: enumerator value for `XNone' not integer constant

../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:526: error: `RevertToParent' was not declared in this scope

../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:526: error: enumerator value for `XRevertToParent' not integer constant

../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:527: error: `GrayScale' was not declared in this scope

../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:527: error: enumerator value for `XGrayScale' not integer constant

../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:529: error: `CursorShape' was not declared in this scope

../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:529: error: enumerator value for `XCursorShape' not integer constant

../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:543: error: `XPoint' was not declared in this scope

../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:543: error: template argument 1 is invalid

../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:543: error: explicit specialization of non-template `<type error>'

../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:544: error: `XRectangle' was not declared in this scope

../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:544: error: template argument 1 is invalid

../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:544: error: explicit specialization of non-template `<type error>'

../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:545: error: `XChar2b' was not declared in this scope

../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:545: error: template argument 1 is invalid

../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:545: error: explicit specialization of non-template `<type error>'

gmake[3]: *** [.obj/debug-shared/qapplication.o] Error 1

gmake[3]: Leaving directory `/ins/Qt-x11-commercial-src-4.2.0-snapshot-20060824 /src/gui'

gmake[2]: *** [debug-all] Error 2

gmake[2]: Leaving directory `/ins/Qt-x11-commercial-src-4.2.0-snapshot-20060824 /src/gui'

gmake[1]: *** [sub-gui-make_default-ordered] Error 2

gmake[1]: Leaving directory `/ins/Qt-x11-commercial-src-4.2.0-snapshot-20060824 /src'

gmake: *** [sub-src-make_default-ordered] Error 2



Regards,

Praful Shah

jacek
24th August 2006, 23:43
What is the first error message? Do you have X11 headers installed?

DevObject
25th August 2006, 00:12
Hi Jacek,

freeglut3-dev
kdelibs4-dev
libart-2.0-dev
libarts1-dev
libartsc0-dev
libasound2-dev
libatk1.0-dev
libaudio-dev
libaudiofile-dev
libcupsys2-dev
libdvdread3-dev
libesd0-dev
libexpat1-dev
libfam-dev
libfontconfig1-dev
libgcrypt11-dev
libglib1.2-dev
libglib2.0-dev
libglut3-dev
libgnutls11-dev
libgpg-error-dev
libgtk1.2-dev
libgtk2.0-dev
libidn11-dev
libjack0.80.0-dev
liblcms1-dev
libmad0-dev
libmng-dev
libncurses5-dev
libogg-dev
libopencdk8-dev
libpango1.0-dev
libpcap0.8-dev
libpcre3-dev
libperl-dev
libpng3-dev
libpopt-dev
libqt3-mt-dev
libreadline4-dev
libsablot0-dev
libssl-dev
libtasn1-2-dev
libvorbis-dev
libxcursor-dev
libxft-dev
libxmuu-dev
libxp-dev
libxrandr-dev
libxrender-dev
libxtrap-dev
libxtst-dev
ntfsprogs-dev
pciutils-dev
pm-dev
qt3-dev-tools
render-dev
slang1-dev
uuid-dev
xlibmesa-gl-dev
xlibmesa-glu-dev
xlibs-dev

I need all above development list for fix this error or some of this.

Regards,
Regards,
Praful Shah

jacek
25th August 2006, 00:24
I need all above development list for fix this error or some of this.
Is that a question?

Certainly you don't need kdelibs4-dev, qt3-dev-tools, libqt3-mt-dev, libncurses5-dev, libpcap0.8-dev and libreadline4-dev to compile Qt4.

Install xlibs-dev and xlibmesa-gl-dev and see if it compiles.

DevObject
25th August 2006, 00:31
X-windows-Developement tools , I install , does it fix problem