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
Bookmarks