Hi all, I'm trying to build qt on RHEL 6.3 and it fails with this error.I'd appreciate any pointers.
root@ qt-x11-free-3.3.8b]# gmake gmake[1]: Entering directory `/root/qt/qt-x11-free-3.3.8b' cd qmake && gmake gmake[2]: Entering directory `/root/qt/qt-x11-free-3.3.8b/qmake' gmake[2]: `qmake' is up to date. gmake[2]: Leaving directory `/root/qt/qt-x11-free-3.3.8b/qmake' cd src/moc && gmake gmake[2]: Entering directory `/root/qt/qt-x11-free-3.3.8b/src/moc' gmake[2]: Nothing to be done for `first'. gmake[2]: Leaving directory `/root/qt/qt-x11-free-3.3.8b/src/moc' cd src && gmake gmake[2]: Entering directory `/root/qt/qt-x11-free-3.3.8b/src' g++ -c -pipe -Wall -W -O2 -fPIC -DQT_SHARED -DQT_NO_DEBUG -DQT_NO_CUPS -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -DQT_NO_XINERAMA -DQT_NO_SHAPE -DQT_NO_XCURSOR -DQT_NO_XRANDR -DQT_NO_XRENDER -DQT_NO_XFTFREETYPE -DQT_NO_XKB -DQT_NO_SM_SUPPORT -DQT_NO_IMAGEIO_MNG -DQT_NO_IMAGEIO_JPEG -DQT_NO_STYLE_MAC -DQT_NO_STYLE_AQUA -DQT_NO_STYLE_INTERLACE -DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_COMPACT -DQT_NO_STYLE_POCKETPC -I/root/qt/qt-x11-free-3.3.8b/mkspecs/linux-g++ -I. -I3rdparty/libpng -I3rdparty/zlib -I../include -I/usr/X11R6/include -I.moc/release-shared/ -o .obj/release-shared/qtaddons_x11.o kernel/qtaddons_x11.cpp In file included from kernel/qtaddons_x11.cpp:25: kernel/qt_x11_p.h:69:22: error: X11/Xlib.h: No such file or directory kernel/qt_x11_p.h:74:23: error: X11/Xutil.h: No such file or directory kernel/qt_x11_p.h:75:21: error: X11/Xos.h: No such file or directory kernel/qt_x11_p.h:76:23: error: X11/Xatom.h: No such file or directory gmake[2]: *** [.obj/release-shared/qtaddons_x11.o] Error 1 gmake[2]: Leaving directory `/root/qt/qt-x11-free-3.3.8b/src' gmake[1]: *** [sub-src] Error 2 gmake[1]: Leaving directory `/root/qt/qt-x11-free-3.3.8b' gmake: *** [init] Error 2
_______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest