I am beginer in QT. I have got the QT 4.6.2.

I can use ./configure -embedded and it works fine. but when I use ./configure I get the following error.

Basic XLib functionality test failed!
You might need to modify the include and library search paths by editing QMAKE_INCDIR_X11 and QMAKE_LIBDIR_X11 in /opt/qtsdk-2010-02/qt mkspecs/linux-g++

how can I remove this error?

if I use gmake or make command then I get following error.

gmake[1]: ***[../../lib/libQtCore.so.4.6.2] Error 1
gmake[1] Leaving directory '/opt/qtsdk-2010.02/qt/src/corelib
gmake: ***[sub-corelib-make_default-ordered

What should I do to solve this problems