PDA

View Full Version : QT error in configure with newest CVS-- Question



bleat
08-29-2003, 03:00 AM
A few CVS's ago when the QT requirement was upped I installed 3.0.5, and have had no problems since then with any CVS's. This one decided to be annoying. Everything is exported, pretty much everything was done how it *was* supposed to be, I'm looking for ideas on anything that has changed, etc.. that I should check in to.

checking for Qt... yes
>> Found version.: 3.0.5
>>> Headers......: /usr/local/qt/include/
>>>> Libraries...: /usr/local/qt/lib/
configure: error: Something wicked happened while trying to validate your Qt installation!!! Please verify your libraries...


Any help would be appreciated. Thanks.

LordCrush
08-29-2003, 03:46 AM
i would guess it's the missing multi thread-support of Qt, but then it would not have worked before

who_me_use_seq
08-29-2003, 07:22 AM
I have seen this error. If I recall correctly it was because I had two versions of Qt installed concurrently. When you upgraded your Qt installation did you remove the old one?

Zaphod
08-29-2003, 08:17 AM
Originally posted by bleat
A few CVS's ago when the QT requirement was upped I installed 3.0.5, and have had no problems since then with any CVS's. This one decided to be annoying. Everything is exported, pretty much everything was done how it *was* supposed to be, I'm looking for ideas on anything that has changed, etc.. that I should check in to.

checking for Qt... yes
>> Found version.: 3.0.5
>>> Headers......: /usr/local/qt/include/
>>>> Libraries...: /usr/local/qt/lib/
configure: error: Something wicked happened while trying to validate your Qt installation!!! Please verify your libraries...


Any help would be appreciated. Thanks.

More details of what actually happened can be found in the config.log file generated by configure. Please include the relevant part of the config.log or attach config.log to your post.

Enjoy,
Zaphod (dohpaZ)

S_B_R
08-29-2003, 09:15 AM
Usually the "Something Wicked" message means you are compiling SEQ with a different version of GCC than was used to compile QT...

bleat
08-29-2003, 10:12 AM
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:791: checking host system type
configure:812: checking target system type
configure:830: checking build system type
configure:867: checking for a BSD compatible install
configure:920: checking whether build environment is sane
configure:977: checking whether make sets ${MAKE}
configure:1023: checking for working aclocal
configure:1036: checking for working autoconf
configure:1049: checking for working automake
configure:1062: checking for working autoheader
configure:1075: checking for working makeinfo
configure:1089: checking whether to enable maintainer-specific portions of Make$
configure:1118: checking for gcc
configure:1152: checking for g++
configure:1204: checking for supported compiler version
configure:1251: g++ -o conftest conftest.C 1>&5
configure:1418: checking for gcc
configure:1531: checking whether the C compiler (gcc ) works
configure:1547: gcc -o conftest conftest.c 1>&5
configure:1573: checking whether the C compiler (gcc ) is a cross-compiler
configure:1578: checking whether we are using GNU C
configure:1587: gcc -E conftest.c
configure:1606: checking whether gcc accepts -g
configure:1642: checking for c++
configure:1674: checking whether the C++ compiler (g++ ) works
configure:1690: g++ -o conftest conftest.C 1>&5
configure:1716: checking whether the C++ compiler (g++ ) is a cross-compiler
configure:1721: checking whether we are using GNU C++
configure:1730: g++ -E conftest.C
configure:1749: checking whether g++ accepts -g
configure:1781: checking how to run the C preprocessor
configure:1802: gcc -E conftest.c >/dev/null 2>conftest.out
configure:1862: checking for working const
configure:1916: gcc -c -g -O2 conftest.c 1>&5
configure:1949: checking for a BSD compatible install
configure:2002: checking whether ln -s works
configure:2023: checking whether make sets ${MAKE}
configure:2050: checking for Cygwin environment
configure:2066: gcc -c -g -O2 conftest.c 1>&5
configure: In function `main':
configure:2062: `__CYGWIN32__' undeclared (first use in this function)
configure:2062: (Each undeclared identifier is reported only once
configure:2062: for each function it appears in.)
configure: failed program was:
#line 2055 "configure"
#include "confdefs.h"

int main() {

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

int main() {
return __MINGW32__;; return 0; }
configure:2192: checking for ld used by GCC
configure:2260: checking if the linker (/usr/bin/ld) is GNU ld
GNU ld version 2.11.92.0.12.3 20011121 Debian/GNU Linux
configure:2277: checking for /usr/bin/ld option to reload object files
configure:2289: checking for BSD-compatible nm
configure:2327: checking how to recognise dependant libraries
configure:2500: checking for object suffix
configure:2506: gcc -c -g -O2 conftest.c 1>&5
configure:2526: checking for executable suffix
configure:2536: gcc -o conftest -g -O2 conftest.c 1>&5
configure:2567: checking command to parse /usr/bin/nm -B output
configure:2643: gcc -c -g -O2 conftest.c 1>&5
configure:2646: /usr/bin/nm -B conftest.o | sed -n -e 's/^.*[ ]\([ABCDGISTW][AB$
configure:2697: gcc -o conftest -g -O2 conftest.c conftstm.o 1>&5
configure:2743: checking for dlfcn.h
configure:2753: gcc -E conftest.c >/dev/null 2>conftest.out
configure:2921: checking for ranlib
configure:2988: checking for strip
configure:3224: checking for objdir
configure:3251: checking for gcc option to produce PIC
configure:3403: checking if gcc PIC flag -fPIC works
configure:3417: gcc -c -g -O2 -fPIC -DPIC conftest.c 1>&5
configure:3469: checking if gcc static flag -static works
configure:3484: gcc -o conftest -g -O2 -static conftest.c 1>&5
/usr/lib/gcc-lib/i386-linux/3.0.3/../../../libc.a(init-misc.o)(.data+0x0): unde$
/usr/lib/gcc-lib/i386-linux/3.0.3/../../../libc.a(init-misc.o)(.data+0x4): unde$
/usr/lib/gcc-lib/i386-linux/3.0.3/../../../libc.a(assert.o): In function `__ass$
assert.o(.text+0xd): undefined reference to `local symbols in discarded section$
assert.o(.text+0x16): undefined reference to `local symbols in discarded sectio$
assert.o(.text+0x22): undefined reference to `local symbols in discarded sectio$
/usr/lib/gcc-lib/i386-linux/3.0.3/../../../libc.a(assert.o)(.text+0x38): more u$
/usr/lib/gcc-lib/i386-linux/3.0.3/../../../libc.a(printf_fphex.o): In function $
printf_fphex.o(.text+0x1ef): undefined reference to `local symbols in discarded$
printf_fphex.o(.text+0x200): undefined reference to `local symbols in discarded$
printf_fphex.o(.text+0x2c8): undefined reference to `local symbols in discarded$
printf_fphex.o(.text+0x2d9): undefined reference to `local symbols in discarded$
printf_fphex.o(.text+0x375): undefined reference to `local symbols in discarded$
/usr/lib/gcc-lib/i386-linux/3.0.3/../../../libc.a(printf_fphex.o)(.text+0x386):$
/usr/lib/gcc-lib/i386-linux/3.0.3/../../../libc.a(wcrtomb.o): In function `wcrt$
wcrtomb.o(.text+0x188): undefined reference to `local symbols in discarded sect$
/usr/lib/gcc-lib/i386-linux/3.0.3/../../../libc.a(mbsnrtowcs.o): In function `m$
mbsnrtowcs.o(.text+0x212): undefined reference to `local symbols in discarded s$
/usr/lib/gcc-lib/i386-linux/3.0.3/../../../libc.a(C-address.o)(.rodata+0x28): u$
/usr/lib/gcc-lib/i386-linux/3.0.3/../../../libc.a(C-address.o)(.rodata+0x2c): u$
/usr/lib/gcc-lib/i386-linux/3.0.3/../../../libc.a(C-address.o)(.rodata+0x30): u$
/usr/lib/gcc-lib/i386-linux/3.0.3/../../../libc.a(C-address.o)(.rodata+0x34): u$
/usr/lib/gcc-lib/i386-linux/3.0.3/../../../libc.a(C-address.o)(.rodata+0x38): u$
/usr/lib/gcc-lib/i386-linux/3.0.3/../../../libc.a(C-address.o)(.rodata+0x3c): m$
collect2: ld returned 1 exit status
configure: failed program was:
#line 3477 "configure"
#include "confdefs.h"

int main() {

; return 0; }
configure:3511: checking if gcc supports -c -o file.o
configure:3530: gcc -c -g -O2 -o out/conftest2.o conftest.c 1>&5
configure:3559: checking if gcc supports -c -o file.lo
configure:3575: gcc -c -g -O2 -c -o conftest.lo conftest.c 1>&5
configure:3624: checking if gcc supports -fno-rtti -fno-exceptions
configure:3637: gcc -c -g -O2 -fno-rtti -fno-exceptions -c conftest.c conftest$
configure:3664: checking whether the linker (/usr/bin/ld) supports shared libra$
configure:4280: checking how to hardcode library paths into programs
configure:4308: checking whether stripping libraries is possible
configure:4322: checking dynamic linker characteristics
configure:4708: checking if libtool supports shared libraries
configure:5201: checking whether -lc should be explicitly linked in
configure:5208: gcc -c -g -O2 conftest.c 1>&5
configure:5221: gcc -shared conftest.o -v -Wl,-soname -Wl,conftest -o conftest$
configure:5808: checking for supported libc version
configure:5831: g++ -o conftest conftest.C 1>&5
configure:6035: checking for extra includes
configure:6066: checking for extra libs
configure:6100: checking for libz
configure:6126: gcc -o conftest -g -O2 conftest.c -lz 1>&5
configure:6188: checking for X
configure:6255: gcc -E conftest.c >/dev/null 2>conftest.out
configure:6331: gcc -o conftest -g -O2 conftest.c -lXt 1>&5
/usr/bin/ld: cannot find -lXt
collect2: ld returned 1 exit status
configure: failed program was:
#line 6324 "configure"
#include "confdefs.h"

int main() {
XtMalloc()
; return 0; }
configure:6483: checking for IceConnectionNumber in -lICE
configure:6502: gcc -o conftest -g -O2 -L/usr/X11R6/lib conftest.c -lICE 1>$
configure:6531: checking for libXext
configure:6554: gcc -o conftest -g -O2 -L/usr/X11R6/lib conftest.c -lXext -lX$
configure:6592: checking for libpng
configure:6622: gcc -o conftest -g -O2 -I. conftest.c -L/usr/X11R6/lib -lpng$
configure:6660: checking for Qt
configure:6970: g++ -o conftest -I/usr/local/qt/include -I. -L/usr/local/qt/l$
Virtual memory exhausted: Cannot allocate memory
configure: failed program was:
#define QT_THREAD_SUPPORT 1
#include "confdefs.h"
#include <qglobal.h>
#include <qapplication.h>
#include <qapp.h>
#include <qobjcoll.h>
#include <qstringlist.h>
#include <qstyle.h>
#include <qthread.h>
#if ! (QT_VERSION > 230)
#error 1
#endif

int main() {
QStringList *t = new QStringList();
QMutex mutex;
return 0;
}

bleat
08-31-2003, 01:19 AM
Does that help at all?

bleat
08-31-2003, 01:36 AM
I tried the tarball and it works. CVS must have.. not worked so much. /shrug