Results 1 to 10 of 10

Thread: a ./configure qt error

  1. #1
    Registered User
    Join Date
    Apr 2003
    Posts
    23

    a ./configure qt error

    well just thought id post this as im recompiling QT now but would like sum advise on this.

    i did qt 3 flawlessly and it compiled fine and everything.
    then when i run ./configure for seq i get a QT uic error.
    finds version 3.2.3
    workable yes
    moc ok
    uic no working qt uic found!

    dunno what went wrong but im recompiling now...

  2. #2
    Registered User Zaphod's Avatar
    Join Date
    Dec 2001
    Posts
    648

    Re: a ./configure qt error

    Originally posted by Theka
    well just thought id post this as im recompiling QT now but would like sum advise on this.

    i did qt 3 flawlessly and it compiled fine and everything.
    then when i run ./configure for seq i get a QT uic error.
    finds version 3.2.3
    workable yes
    moc ok
    uic no working qt uic found!

    dunno what went wrong but im recompiling now...
    For details please look in the config.log file created by configure. To further diagnose your exact issue you would need to attach your config.log file to a post.

    Enjoy,
    Zaphod (dohpaZ)
    Chief Software Engineer of the Apocalypse.
    http://showeq.doomed.to/
    SourceForge.net user: dohpaz.

    Personal thank you donations are now accepted.

  3. #3
    Registered User
    Join Date
    Dec 2003
    Posts
    5
    I am also having a problem from qt being found, it is in the bin dir where it should be and works as well, recompiled as well just to make sure, no errors...

    Here is a copy of my config.log

    configure:2075: error: for each function it appears in.)
    configure: failed program was:
    #line 2068 "configure"
    #include "confdefs.h"

    int main() {

    #ifndef __CYGWIN__
    #define __CYGWIN__ __CYGWIN32__
    #endif
    return __CYGWIN__;
    ; return 0; }
    configure:2096: checking for mingw32 environment
    configure:2108: gcc -c -g -O2 conftest.c 1>&5
    configure: In function `main':
    configure:2104: error: `__MINGW32__' undeclared (first use in this function)
    configure:2104: error: (Each undeclared identifier is reported only once
    configure:2104: error: for each function it appears in.)
    configure: failed program was:
    #line 2101 "configure"
    #include "confdefs.h"

    int main() {
    return __MINGW32__;
    ; return 0; }
    configure:2205: checking for ld used by GCC
    configure:2273: checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ldGNU ld version 2.14.90.0.7 20031029
    configure:2290: checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files
    configure:2302: checking for BSD-compatible nm
    configure:2340: checking for a sed that does not truncate output
    configure:2424: checking how to recognise dependent libraries
    configure:2610: checking for object suffix
    configure:2616: gcc -c -g -O2 conftest.c 1>&5
    configure:2636: checking for executable suffix
    configure:2646: gcc -o conftest -g -O2 conftest.c 1>&5
    configure:2677: checking command to parse /usr/bin/nm -B output
    configure:2760: gcc -c -g -O2 conftest.c 1>&5
    configure:2763: /usr/bin/nm -B conftest.o | sed -n -e 's/^.*[ ]\([ABCDGISTW][ABCDGISTW]*\)[ ][ ]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3 \3/p' > conftest.nm
    configure:2814: gcc -o conftest -g -O2 conftest.c conftstm.o 1>&5
    configure:2863: checking for dlfcn.h
    configure:2873: gcc -E conftest.c >/dev/null 2>conftest.out
    configure:3042: checking for ranlib
    configure:3109: checking for strip
    configure:3211: gcc -c -g -O2 conftest.c 1>&5
    configure:3366: checking for objdir
    configure:3393: checking for gcc option to produce PIC
    configure:3541: checking if gcc PIC flag -fPIC works
    configure:3555: gcc -c -g -O2 -fPIC -DPIC conftest.c 1>&5
    configure:3607: checking if gcc static flag -static works
    configure:3622: gcc -o conftest -g -O2 -static conftest.c 1>&5
    configure:3649: checking if gcc supports -c -o file.o
    configure:3668: gcc -c -g -O2 -o out/conftest2.o conftest.c 1>&5
    configure:3697: checking if gcc supports -c -o file.lo
    configure:3715: gcc -c -g -O2 -c -o conftest.lo conftest.c 1>&5
    configure:3765: checking if gcc supports -fno-rtti -fno-exceptions
    configure:3778: gcc -c -g -O2 -fno-rtti -fno-exceptions -c conftest.c conftest.c 1>&5
    cc1: warning: "-fno-rtti" is valid for C++ but not for C/ObjC
    cc1: warning: "-fno-rtti" is valid for C++ but not for C/ObjC
    configure:3805: checking whether the linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries
    configure:4528: checking how to hardcode library paths into programs
    configure:4556: checking whether stripping libraries is possible
    configure:4570: checking dynamic linker characteristics
    configure:5008: checking if libtool supports shared libraries
    configure:5012: checking whether to build shared libraries
    configure:5035: checking whether to build static libraries
    configure:5571: checking whether -lc should be explicitly linked in
    configure:5578: gcc -c -g -O2 conftest.c 1>&5
    configure:5591: gcc -shared conftest.o -v -Wl,-soname -Wl,conftest -o conftest
    2>&1 | grep -lc >/dev/null 2>&1
    configure:6185: checking for supported libc version
    configure:6208: g++ -o conftest conftest.C 1>&5
    configure:6597: checking for extra includes
    configure:6628: checking for extra libs
    configure:6662: checking for libz
    configure:6688: gcc -o conftest -g -O2 conftest.c -lz 1>&5
    configure:6750: checking for X
    configure:6817: gcc -E conftest.c >/dev/null 2>conftest.out
    configure:6893: gcc -o conftest -g -O2 conftest.c -lXt 1>&5
    /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lXt
    collect2: ld returned 1 exit status
    configure: failed program was:
    #line 6886 "configure"
    #include "confdefs.h"

    int main() {
    XtMalloc()
    ; return 0; }
    configure:7045: checking for IceConnectionNumber in -lICE
    configure:7064: gcc -o conftest -g -O2 -L/usr/X11R6/lib conftest.c -lICE 1>&5
    configure:7093: checking for libXext
    configure:7116: gcc -o conftest -g -O2 -L/usr/X11R6/lib conftest.c -lXext -lX11 1>&5
    configure:7154: checking for libpng
    configure:7184: gcc -o conftest -g -O2 -I. conftest.c -L/usr/X11R6/lib -lpng
    -lz -lm -lX11 1>&5
    configure:7222: checking for Qt
    configure:7532: g++ -o conftest -I/usr/qt/3/include -I. -L/usr/qt/3/lib -L/usr/X11R6/lib conftest.C -lqt-mt -lpng -lz -lm -lXext -lX11 1>&5
    configure:7628: checking for Qt MOC
    configure:7762: tried to call /usr/qt/3/bin/moc --help 2>&1 | sed -e '1q' | grep Qt
    configure:7763: moc output: Qt meta object compiler
    configure:7813: checking for Qt UIC
    configure:7947: tried to call /usr/qt/3/bin/uic --help 2>&1 | sed -e '1q' | grep Qt
    configure:7948: uic output:
    Any help would be more then welcome ))

  4. #4
    Registered User
    Join Date
    Apr 2003
    Posts
    23
    well i tryed another compile and still no go same error.
    ill attach that log file you were talking about to the post.
    also i noticed when i goto my uic directory and do a uic -version it says 3.0.5 wich is the old version of qt that comes with redhat 8, dunno if thats any significance.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    Jul 2002
    Posts
    29
    I believe you need to remove / uninstall the old version of Qt before installing the new one.
    I seem to remember having this problem some time ago when ShowEQ updated from the original QT version.
    I think you will find all the un-install info the the documentation that comes with QT.

  6. #6
    Registered User
    Join Date
    Feb 2003
    Posts
    90
    Like I said in another post:

    uic is NOT part of the qt base package, you have to also get the qt-devel package. uic is a compiler (User Interface Compiler), it makes sense that it would be distributed in the development package.

  7. #7
    Registered User
    Join Date
    Apr 2003
    Posts
    23
    ok question about that i search for qt devel and seen a 3.2.3 redhat rpm. now since im compiling 3.2.3 qt on my rh 8 box can i install this rom and it will work or do i have to build that from a source?

  8. #8
    Registered User
    Join Date
    Feb 2003
    Posts
    90
    If you're building the base qt package from source, I'd build the qt-devel package from source as well. I don't know if you HAVE to, but that's what I would do.

  9. #9
    Registered User
    Join Date
    Jan 2002
    Posts
    1,508
    If building from source (e.g. a tar.gz file) then you will get both the bin and dev stuff.

    If building from a src.rpm, then you will still get the qt and qt-devel rpms (just make sure you install them both).

  10. #10
    Registered User
    Join Date
    Dec 2001
    Posts
    849
    This could be a similar problem to the one posted here, Zaphod posted a possible solution at the bottom.
    "What you've just said is one of the most insanely, idiotic things i've ever heard. At no point in your rambling, incoherant response were you even close to anything that could be considered a rational thought. Everyone in this room is now dumber for having listened to it. I award you NO points, and may god have mercy on your soul."

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