PDA

View Full Version : Error with QT



Cali
12-21-2001, 01:39 PM
After hours of trying to get RedHat 7.1 to update the new rpms.. I finally just caved in and installed a clean version of 7.2.

It was nice to see every rpm needed for ShowEQ 4.. install without a single error..

That is until.. Compliling QT..
run the ./configure with no errors

BUT
when running the make
on the QT in /usr/local/qt

I get
kernel/qpsprinter.cpp:5194: warning: 'char** font_path' might be used uninitialized in this function
kernel/qpsprinter.cpp: In method 'QPSPrinterFont::QPSPrinterFont(const QFont&,QPSPrinterPrivate*)':
kernel/qpsprinter.cpp:5194: warning: 'char**font_path' might be used uninitialized in this function
make[2]: *** [kernel/qpsprinter.o] Error 1
make [2]: Leaving directory '/usr/local/qt/src'
make [1]: *** [sub-src] Error 2
make [1]: Leaving directory '/usr/local/qt'
make: *** [Init} Error 2

What is stil the problem? please.. really get frustrated here.. thanks for anyone help.

high_jeeves
12-21-2001, 01:48 PM
1) when you ran ./configure, did you do it with the -thread switch? that wont affect this error, but just wanted to save you the trouble of doing this again.

2) Is there more to this error message? Both of the items listed in your post are warnings, and should not have caused the make to crap out. If so, please post the whole message. If not, then I have no idea.

Cali
12-21-2001, 02:37 PM
Thank you for your help..
I ran make clean

and reran ./configure with these options

./configure -release -shared -gif -xft -sm -system-libmng -system-zlib -system-libpng -system-jpeg -no-g++exceptions -thread

that was off a post i read

NOW GETTING THIS

kernel/qpsprinter.cpp:5338: confused by earlier errors, bailing out
make [3]: *** [kernel/qpsprinter.o] Error 1
make [3]: Leaving directory '/usr/local/qt/src'
make [2]: *** [wrc-mt] Error 2
make [2]: Leaving directory '/usr/local/qt'
make [1]: *** [src-mt] Error 2
make [1]: Leaving directory '/usr/local/qt'
make: *** [init] Error 2


out of curiousity. i rean make clean again
and just used
./configure -thread

and still received same errors as above.
every rpm require is installed.. so not sure what is goin on..

thanks for help

Cali
12-21-2001, 03:07 PM
scrolling up i see this

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:84:34: X11/extensions/shape.h: No such file or directory

dunno if any of that is relavent.. thanks

high_jeeves
12-21-2001, 05:35 PM
Actually, that is the only relevant part. It appears that you dont have the x-development RPMs installed. The name should be something like XFree86-devel-<version>.

Cali
12-21-2001, 06:15 PM
High_Jeeves. thank you.. that got me passed the original error..

I installed the Xfree86-devel-4.1.0-3.i386.rpm

now im receiving:

make [3]: *** [kernel/qjpegio.o] Error 1
make [3]: Leaving directory /usr/local/qt/src
make [2]: *** [src-mt] Error 2
make [2]: Leaving directory /usr/local/qt
make [1]: *** [src-mt] Error 2
make [1]: Leaving directory /usr/local/qt
make: ***[init] Error 2

Any idea what rpm im missing for that

Cali
12-21-2001, 08:04 PM
After goin thru it about 50 million times. I just make clean

and decided to try ./configure -thread

with no other fuctions in the ./configure

YEAH.. it compiled all the way thru..

That means.. every needed rpm and other files are there..

I now cvs the showeq dir from sourceforge which is supposed to be the new 4.0..

goto the showeq dir.. launch :
make -f Makefile.dist

and immediately GET THIS FRICKEN ERROR:

Adding libtool support ............................ make [1]: *** [no-backup]: Error 127
make: ***[all] Error 2



SO MUCH TIME.. thought i was done.. LET ME KNOW if anyone can help..

high_jeeves
12-22-2001, 12:29 AM
You need to install the libtool/automake stuff. No idea what rpm these are in, probably something with a fairly obvious name (ie automake-<version>.rpm).