好不容易将qt/e和tmake安装成功了,在进行qt/x11的安装时,提示:
[nick@nick qt-2.3.2]$ ./configure -no-opengl
This is the Qt Free Edition.
You are licensed to use this software under the terms of either
the Q Public License (QPL) or the GNU General Public License (GPL).
Type 'Q' to view the Q Public License.
Type 'G' to view the GNU General Public License.
Type 'yes' to accept this license offer.
Type 'no' to decline this license offer.
Do you accept the terms of the license?
yes
This target is using the GNU C++ compiler (linux-g++).
Recent versions of this compiler automatically include
code for exceptions, which increase both the size of
the Qt library and the amount of memory taken by your
applications.
You may elect to re-run ./configure with the -no-g++-exceptions
option to compile Qt without exceptions. This is
completely binary compatible, and existing
applications will continue to work (like KDE 2).
Build type: linux-g++-shared
Thread support..................... no
GIF support........................ no
MNG support........................ no
JPEG support....................... no
OpenGL support .................... no
NAS sound support.................. no
Session management................. yes
Xft support (Anti-Aliased Fonts) .. yes
XKB support ....................... yes
Creating makefiles...
Qt is now configured for building. Just run make.
To reconfigure, run make clean and configure.
[nick@nick qt-2.3.2]$ make
make[1]: Entering directory `/home/nick/prog/qt/src/GUI/qt-2.3.2'
cd src/moc; make
make[2]: Entering directory `/home/nick/prog/qt/src/GUI/qt-2.3.2/src/moc'
g++ -c -I/home/nick/prog/qt/src/GUI/qt-2.3.2/include -Wno-unused -Wno-parentheses -pipe -O2 -Wall -W -DQT_NO_CODECS -DQT_LITE_UNICODE -I../../include -I../tools -I. -o mocgen.o mocgen.cpp
y.tab.c: In function `int yyparse()':
y.tab.c:3102: warning: suggest parentheses around assignment used as truth
value
y.tab.c:3150: warning: label `yyerrlab' defined but not used
y.tab.c:3145: warning: label `yynewerror' defined but not used
/home/nick/prog/qt/src/GUI/qt-2.3.2/include/qlist.h: At top level:
mocgen.cpp:3: warning: `char yysccsid[36]' defined but not used
g++ -c -I/home/nick/prog/qt/src/GUI/qt-2.3.2/include -Wno-unused -Wno-parentheses -pipe -O2 -Wall -W -DQT_NO_CODECS -DQT_LITE_UNICODE -I../../include -I../tools -I. -o qbuffer.o ../tools/qbuffer.cpp
............
g++ -c -I/usr/X11R6/include -I/home/nick/prog/qt/src/GUI/qt-2.3.2/include -I/usr/X11R6/include -pipe -O2 -Wall -W -fPIC -DQT_BUILTIN_GIF_READER=0 -DQT_NO_IMAGEIO_JPEG -DQT_NO_IMAGEIO_MNG -DQT_XFT -I/home/nick/prog/qt/src/GUI/qt-2.3.2/src/3rdparty/zlib -I/home/nick/prog/qt/src/GUI/qt-2.3.2/src/3rdparty/libpng -o kernel/qpsprinter.o kernel/qpsprinter.cpp
In file included from kernel/qt_x11.h:76,
from kernel/qpsprinter.cpp:97:
/usr/X11R6/include/X11/Xft/Xft.h:35:31: freetype/freetype.h: 没有那个文件或目录
In file included from kernel/qt_x11.h:76,
from kernel/qpsprinter.cpp:97:
/usr/X11R6/include/X11/Xft/Xft.h:52: syntax error before `;' token
/usr/X11R6/include/X11/Xft/Xft.h:86: 'FT_UInt' is used as a type, but is not
defined as a type.
/usr/X11R6/include/X11/Xft/Xft.h:93: 'FT_UInt' is used as a type, but is not
defined as a type.
/usr/X11R6/include/X11/Xft/Xft.h:190: parse error before `*' token
/usr/X11R6/include/X11/Xft/Xft.h:295: parse error before `*' token
/usr/X11R6/include/X11/Xft/Xft.h:354: parse error before `*' token
/usr/X11R6/include/X11/Xft/Xft.h:393: parse error before `*' token
/usr/X11R6/include/X11/Xft/Xft.h:399: parse error before `*' token
/usr/X11R6/include/X11/Xft/Xft.h:408: type specifier omitted for parameter `
FT_UInt'
/usr/X11R6/include/X11/Xft/Xft.h:408: parse error before `,' token
/usr/X11R6/include/X11/Xft/Xft.h:418: parse error before `*' token
/usr/X11R6/include/X11/Xft/Xft.h:461: parse error before `*' token
make[2]: *** [kernel/qpsprinter.o] Error 1
make[2]: Leaving directory `/home/nick/prog/qt/src/GUI/qt-2.3.2/src'
make[1]: *** [sub-src] Error 2
make[1]: Leaving directory `/home/nick/prog/qt/src/GUI/qt-2.3.2'
make: *** [init] Error 2
之后,问题就来了,接下来的
make -C tools/qvfb
mv tools/qvfb/qvfb bin
cp bin/uic/$QTEDIR/bin
就都不行了,能够请高人指点一下啊,如何解决呢?