PDA

View Full Version : Problem Compiling QT, missing header files?



Bobo
12-28-2001, 07:57 AM
I just burned the ISO images of RH 7.2, Did a fresh install, accecpted all the defaults for installation. Following Zaphod's guide I had to install some extra RPMs when I got to step 3 for gcc3 and gcc3-c++, (can't remember which ones, one I had to get from REDHAT kernel-headers). Downloaded QT and Patched it, and when I ran make I got this after just a couple of minutes.

Thanks so much for any help. Can't live without my SEQ.

cp src/moc/moc bin/moc
make -f src-mt.mk
make[2]: Entering directory `/usr/local/qt-2.3.2'
cd src; make 'QT_THREAD_SUFFIX=-mt' 'QT_LFLAGS_MT=$(SYSCONF_LFLAGS_THREAD) $(SYSCONF_LIBS_THREAD)' 'QT_CXX_MT=$(SYSCONF_CXXFLAGS_THREAD) -DQT_THREAD_SUPPORT' 'QT_C_MT=$(SYSCONF_CFLAGS_THREAD) -DQT_THREAD_SUPPORT'
make[3]: Entering directory `/usr/local/qt-2.3.2/src'
g++3 -D_REENTRANT -DQT_THREAD_SUPPORT -c -I/usr/X11R6/include -I/usr/local/qt-2.3.2/include -I/usr/X11R6/include -pipe -O2 -Wall -W -fPIC -DQT_BUILTIN_GIF_READER=1 -DQT_XFT -fno-exceptions -o kernel/qpsprinter.o kernel/qpsprinter.cpp
In file included from kernel/qpsprinter.cpp:97:
kernel/qt_x11.h:65:22: X11/Xlib.h: No such file or directory
kernel/qt_x11.h:71:23: X11/Xutil.h: No such file or directory
kernel/qt_x11.h:72:21: X11/Xos.h: No such file or directory
kernel/qt_x11.h:73:23: X11/Xatom.h: No such file or directory
kernel/qt_x11.h:76:25: X11/Xft/Xft.h: No such file or directory
kernel/qt_x11.h:84:34: X11/extensions/shape.h: No such file or directory
kernel/qt_x11.h:88:26: X11/XKBlib.h: No such file or directory
In file included from kernel/qpsprinter.cpp:97:
kernel/qt_x11.h:154: type specifier omitted for parameter
kernel/qt_x11.h:154: parse error before `)' token
kernel/qt_x11.h:155: type specifier omitted for parameter
kernel/qt_x11.h:155: parse error before `,' token
kernel/qpsprinter.cpp: In method `USHORT
QPSPrinterFontTTF::unicode_for_glyph(int)':
kernel/qpsprinter.cpp:3328: warning: `ULONG offset' might be used uninitialized
in this function
kernel/qpsprinter.cpp: In constructor `QPSPrinterFont::QPSPrinterFont(const
QFont&, QPSPrinterPrivate*)':
kernel/qpsprinter.cpp:5180: `XftFont' undeclared (first use this function)
kernel/qpsprinter.cpp:5180: (Each undeclared identifier is reported only once
for each function it appears in.)
kernel/qpsprinter.cpp:5180: `font' undeclared (first use this function)
kernel/qpsprinter.cpp:5183: parse error before `)' token
kernel/qpsprinter.cpp:5187: `XFT_FILE' undeclared (first use this function)
kernel/qpsprinter.cpp:5187: `XftPatternGetString' undeclared (first use this
function)
kernel/qpsprinter.cpp:5195: `XGetFontPath' undeclared (first use this function)
kernel/qpsprinter.cpp:5235: `XFreeFontPath' undeclared (first use this
function)
kernel/qpsprinter.cpp:5338: confused by earlier errors, bailing out
make[3]: *** [kernel/qpsprinter.o] Error 1
make[3]: Leaving directory `/usr/local/qt-2.3.2/src'
make[2]: *** [src-mt] Error 2
make[2]: Leaving directory `/usr/local/qt-2.3.2'
make[1]: *** [src-mt] Error 2
make[1]: Leaving directory `/usr/local/qt-2.3.2'
make: *** [init] Error 2