Results 1 to 8 of 8

Thread: Error with QT

  1. #1
    Registered User
    Join Date
    Dec 2001
    Posts
    10

    Unhappy Error with QT

    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.

  2. #2
    Registered User
    Join Date
    Dec 2001
    Posts
    1,262
    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.

  3. #3
    Registered User
    Join Date
    Dec 2001
    Posts
    10

    Reran again and now gettin this

    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

  4. #4
    Registered User
    Join Date
    Dec 2001
    Posts
    10

    scrolled up some more

    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

  5. #5
    Registered User
    Join Date
    Dec 2001
    Posts
    1,262
    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>.

  6. #6
    Registered User
    Join Date
    Dec 2001
    Posts
    10

    thank you.. but

    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

  7. #7
    Registered User
    Join Date
    Dec 2001
    Posts
    10

    Well got it to compile.. hope its enough

    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..
    Last edited by Cali; 12-21-2001 at 08:22 PM.

  8. #8
    Registered User
    Join Date
    Dec 2001
    Posts
    1,262
    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).

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

You may post new threads
You may post replies
You may post attachments
You may edit your posts
HTML code is Off
vB code is On
Smilies are On
[IMG] code is On