Добрый день! Нужна помощь.
Хочу установить чтобы "пощупать" qt4, архив с исходниками взял из CD книги Макса Шлее про Qt4, все делаю как у него написано, переношу в папку, разархвивирую, применяю утилиту ./configure и затем собираю утилитами make; make install.
Но мне выдается целый воз ошибок например: ../../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:283: error: ‘Window’ does not name a type ../../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:287: error: ‘Window’ 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: ‘Atom’ has not been declared ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:289: error: ‘Window’ has not been declared ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:289: error: ‘Atom’ has not been declared ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:300: error: expected ‘,’ or ‘...’ before ‘*’ token ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:300: error: ISO C++ forbids declaration of ‘XSelectionRequestEvent’ with no type ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:302: error: ‘Atom’ has not been declared ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:303: error: ‘Atom’ does not name a type ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:305: error: ‘Atom’ has not been declared ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:306: error: ‘Atom’ does not name a type ../../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’ has not been declared ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:308: error: ‘Atom’ has not been declared ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:309: error: ‘Atom’ was not declared in this scope ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:309: error: template argument 1 is invalid ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:310: error: ‘Atom’ has not been declared ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:311: error: ‘Atom’ does not name a type ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:366: error: ISO C++ forbids declaration of ‘Atom’ with no type ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:366: error: expected ‘;’ before ‘*’ token ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:368: error: ISO C++ forbids declaration of ‘Window’ with no type ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:368: error: expected ‘;’ before ‘*’ token ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:370: error: ‘Window’ 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:377: error: ‘Time’ does not name a type ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:403: error: ISO C++ forbids declaration of ‘Visual’ with no type ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:403: error: expected ‘;’ before ‘*’ token ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:404: error: ‘Colormap’ does not name a type ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:568: error: ‘Atom’ does not name a type ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:570: error: ‘Atom’ has not been declared ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:580: error: ‘FocusOut’ was not declared in this scope ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:581: error: ‘FocusIn’ was not declared in this scope ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:582: error: ‘KeyPress’ was not declared in this scope ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:583: error: ‘KeyRelease’ was not declared in this scope ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:584: error: ‘None’ was not declared in this scope ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:585: error: ‘RevertToParent’ was not declared in this scope ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:586: error: ‘GrayScale’ was not declared in this scope ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:587: error: ‘CursorShape’ was not declared in this scope ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:602: error: ‘XPoint’ was not declared in this scope ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:602: error: template argument 1 is invalid ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:603: error: ‘XRectangle’ was not declared in this scope ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:603: error: template argument 1 is invalid ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:604: error: ‘XChar2b’ was not declared in this scope ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:604: error: template argument 1 is invalid make[1]: *** [.obj/release-shared/qapplication.o] Ошибка 1 make[1]: Leaving directory `/home/alex/PROGS/tmp/qt-x11-opensource-src-4.3.0/src/gui' make: *** [sub-gui-install_subtargets-ordered] Ошибка 2
Честно сказать я не знаю что делать, я начинающий линуксоид и с qt никогда не работал.
Система Debian 4 gcc версии 4.1
Что делать?