的步骤是这样的!!
1.在目录/usr/include/qt 里面把qt-x11-opensource-src-4.5.2.tar解压
tar xvf qt-x11-opensource-src-4.5.2.tar
这一步是成功的。生成了一个qt-x11-opensource-src-4.5.2目录。
然后cd qt-x11-opensource-src-4.5.2 进去。
2.
登录到root用户,本应该依次运行以下命令:
#./configure
#gmake
#gmake install
但是:#./configure 在这不一步就出事了。
Do you accept the terms of either license?yes
Creating qmake. Please wait...
g++ -c -o project.o -pipe -DQMAKE_OPENSOURCE_EDITION -I.
。。。。。一大串字符后。
最后显示。
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 /usr/include/qt/qt-x11-opensource-src-4.5.2/mkspecs/linux-g++.
到了这里就不行了。。
下面的两条命令也没有成功。。。
如果有同学也遇到这样的问题。。可以告诉小弟如何弄吗。。
小菜。。现拜谢!!