PDA

View Full Version : QT 3.2.3 compile error



showeqgratefull
12-08-2003, 11:53 AM
Hello All,

I have done a search and no hits that really helped..

i am running redhat 7.2 and attempted to install QT 3.2.3

i followed the instructions in the INSTALL.newbies
to install QT-3.2.3

1.4 Editting linux-g++-shared
edit the file "mkspecs/linux-g++/qmake.conf and change all
references to "gcc" to "gcc3" as well as "g++" to "g++3"
(lines 12, 27, 47, and 48). save your changes (ctrl-o, ctrl-x)


[]# cd /usr/lib/qt-3.2.3
[]# export QTDIR=/usr/lib/qt-3.2.3
[]# export PATH=$QTDIR/bin:$PATH
[]# export MANPATH=$QTDIR/man:$MANPATH
[]# export LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH
[]# ./configure -thread

this ran with no errors

[]# gmake

this errored out with the following:

g++3 -c -pipe -Wall -W -O2 -D_REENTRANT -fPIC -DQT_SHARED -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_THREAD_SUPPORT -DQT_NO_CUPS -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DQT_NO_XCURSOR -DQT_NO_XRANDR -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 -I/stuff/qt-3.2.3/mkspecs/linux-g++ -I. -I/usr/include/freetype2 -I3rdparty/libpng -I3rdparty/zlib -I3rdparty/opentype -I../include -I/usr/X11R6/include -I/usr/X11R6/include -I.moc/release-shared-mt/ -o .obj/release-shared-mt/qfontengine_x11.o kernel/qfontengine_x11.cpp
kernel/qfontengine_x11.cpp: In member function `bool
QOpenType::supportsScript(unsigned int)':
kernel/qfontengine_x11.cpp:2203: `FT_Err_Table_Missing' undeclared (first use
this function)
kernel/qfontengine_x11.cpp:2203: (Each undeclared identifier is reported only
once for each function it appears in.)
gmake[2]: *** [.obj/release-shared-mt/qfontengine_x11.o] Error 1
gmake[2]: Leaving directory `/stuff/qt-3.2.3/src'
gmake[1]: *** [sub-src] Error 2
gmake[1]: Leaving directory `/stuff/qt-3.2.3'
gmake: *** [init] Error 2


and then quits...

can anyone explain what i am missing?

a search on google came up with a hit, but no fix...

i am downloading 3.1.0 and attempting to compile that...

Thanks

showeqgratefull

Dontknowmuch
12-11-2003, 09:37 PM
Got the exact samething myself - and have not found any answers other than this one

Redtide
12-22-2003, 06:03 PM
Ran into the same problem. Died right at the kernel/qfontengine_x11.cpp:2203. I then reloaded the box with NOTHING but the "software development" and "Kernel development" and the packets below

XFree86-devel
XFree86-libs
autoconf
automake
gcc3
gcc3-c++
libpcap
libstdc++3
libstdc++3-devel
libgcc
zlib
zlib-devel
gd
gd-devel
gdbm
gdbm-devel
pine **for pico
kernel-headers
glibc-devel
cvs
patch
make
m4
libtool
libtool-libs
binutils
libpng
libpng-devel
libjpeg
libjpeg-devel
libmng
libmng-devel
freetype
wget

Felt like I was living in the DOS days again but QT and showeq complied but then when it came time for

Code:

[]# startX


I got a bash command. So I install the X Windows and Gnome but still get bashed. Sorry, not much help but just an FYI that your not the only one. Back to researching.

Zaphod
12-22-2003, 08:53 PM
How about you just grab RedHat 9 or Fedora Core 1? All the necessary software comes on the CDs.

Enjoy,
Zaphod (dohpaZ)

Redtide
12-29-2003, 03:13 PM
Update: after some research and searching I found

http://lists.trolltech.com/qt-interest/2003-11/thread00903-0.html

http://lists.trolltech.com/qt-interest/2003-05/thread00981-0.html


From what I understand your not going to get QT 3.2.3 to work right on RH 7.2 without doing alot of updating. So I'm taking Zaphod's advice and moving on the RH9.





*1.5 hours later, Houston we have skittles :) * :D

Cambik
12-30-2003, 07:46 AM
actually I got QT 3.2.3 installed just fine on my RH7.2 box. Course I had updated QT once before so that might have helped. I did not get any errors and followed the install guide the to letter.