qt - headers and libraries not found

Gerhard Seidler office at seitux.at
Fri Nov 28 08:02:37 UTC 2003


Am Fre, den 28.11.2003 schrieb Michael Schwendt um 01:31:
> On Thu, 27 Nov 2003 22:50:11 +0100, Gerhard Seidler wrote:
> 
> >  Qt... configure: error: Qt (snapshot >= Qt 2.1 beta2) (libraries) not
> > found. Please check your installation! 
> > 
> > sieh an jetzt fehlen "nur" mehr die libraries (vorher waren es auch noch
> > die headers :-) )
> > 
> > Hat noch jemand ideen ??
> 
> Ein Blick in "config.log" sollte Klarheit schaffen.

Hab mir das config.log file durchgesehen, werde aber nicht schlau
daraus. 

Danke für Eure Hilfe
gerry

Hier das log File:
---------------------------------------------------------
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:580: checking host system type
configure:621: checking target system type
configure:661: checking build system type
configure:757: checking for a BSD compatible install
configure:814: checking whether build environment is sane
configure:852: checking whether make sets ${MAKE}
configure:898: checking for working aclocal
configure:911: checking for working autoconf
configure:924: checking for working automake
configure:937: checking for working autoheader
configure:950: checking for working makeinfo
configure:1064: checking for a C-Compiler
configure:1070: checking for gcc
configure:1176: checking whether the C compiler (gcc   ) works
configure:1192: gcc -o conftest    conftest.c  1>&5
configure:1218: checking whether the C compiler (gcc   ) is a
cross-compiler
configure:1223: checking whether we are using GNU C
configure:1300: checking how to run the C preprocessor
configure:1362: checking for a C++-Compiler
configure:1368: checking for g++
configure:1484: checking whether the C++ compiler (g++   -s) works
configure:1500: g++ -o conftest   -s conftest.C  1>&5
configure:1526: checking whether the C++ compiler (g++   -s) is a
cross-compiler
configure:1531: checking whether we are using GNU C++
configure:1586: checking whether g++ supports -fno-exceptions
configure:1618: checking whether g++ supports -fno-rtti
configure:1650: checking whether g++ supports -fno-check-new
configure:1763: checking whether g++ supports -fexceptions
configure:1797: checking whether g++ supports -frtti
configure:1835: checking how to run the C++ preprocessor
configure:1934: checking whether g++ supports -frepo
configure:2071: checking for Cygwin environment
configure:2103: checking for mingw32 environment
configure:2131: checking for EMX OS/2 environment
configure:2193: checking for ld used by GCC
configure:2261: checking if the linker (/usr/bin/ld) is GNU ld
configure:2278: checking for /usr/bin/ld option to reload object files
configure:2290: checking for BSD-compatible nm
configure:2326: checking whether ln -s works
configure:2347: checking how to recognise dependant libraries
configure:2457: checking for object suffix
configure:2484: checking for executable suffix
configure:2664: checking for ranlib
configure:2731: checking for strip
ltconfig:563:checking for g++ option to produce PIC
ltconfig:693:checking that g++ PIC flag  -fPIC works.
ltconfig:754: checking if g++ static flag -static works
ltconfig:799: checking if g++ supports -c -o file.o
ltconfig:800: g++ -c -O2 -fno-exceptions -fno-rtti -fno-check-new -o
out/conftest2.o  conftest.c 1>&5
ltconfig:832: checking if g++ supports -c -o file.lo
ltconfig:833: g++ -c -O2 -fno-exceptions -fno-rtti -fno-check-new -c -o
conftest.lo  conftest.c 1>&5
ltconfig:884: checking if g++ supports -fno-rtti -fno-exceptions
ltconfig:885: g++ -c -O2 -fno-exceptions -fno-rtti -fno-check-new
-fno-rtti -fno-exceptions -c conftest.c  conftest.c 1>&5
ltconfig:1867: checking if global_symbol_pipe works
ltconfig:1868: g++ -c -O2 -fno-exceptions -fno-rtti -fno-check-new 
conftest.c 1>&5
ltconfig:1871: eval "/usr/bin/nm -B conftest.o | sed -n -e 's/^.*[
	]\([ABCDGISTW]\)[ 	][ 	]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3 \3/p'
> conftest.nm"
ltconfig:1923: g++ -o conftest -O2 -fno-exceptions -fno-rtti
-fno-check-new -fno-builtin -fno-rtti -fno-exceptions  -s conftest.c
conftstm.o 1>&5
ltconfig:2269: checking for dlfcn.h
ltconfig:2307: checking whether a program can dlopen itself
configure:3020: checking for dlopen in -ldl
configure:3064: checking for shl_unload in -ldld
configure:3083: gcc -o conftest -O2  -s conftest.c -ldld   1>&5
/usr/bin/ld: cannot find -ldld
collect2: ld returned 1 exit status
configure: failed program was:
#line 3072 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char shl_unload();

int main() {
shl_unload()
; return 0; }
configure:3118: checking for main in -lcompat
configure:3133: gcc -o conftest -O2  -s conftest.c -lcompat   1>&5
/usr/bin/ld: cannot find -lcompat
collect2: ld returned 1 exit status
configure: failed program was:
#line 3126 "configure"
#include "confdefs.h"

int main() {
main()
; return 0; }
configure:3155: checking for crypt in -lcrypt
configure:3174: gcc -o conftest -O2  -s conftest.c -lcrypt   1>&5
configure:3248: checking for the third argument of getsockname
configure:3274: g++ -c -O2 -fno-exceptions -fno-rtti -fno-check-new 
conftest.C 1>&5
configure:3345: checking for dnet_ntoa in -ldnet
configure:3364: gcc -o conftest -O2  -s conftest.c -ldnet   1>&5
/usr/bin/ld: cannot find -ldnet
collect2: ld returned 1 exit status
configure: failed program was:
#line 3353 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char dnet_ntoa();

int main() {
dnet_ntoa()
; return 0; }
configure:3386: checking for dnet_ntoa in -ldnet_stub
configure:3405: gcc -o conftest -O2  -s conftest.c -ldnet_stub   1>&5
/usr/bin/ld: cannot find -ldnet_stub
collect2: ld returned 1 exit status
configure: failed program was:
#line 3394 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char dnet_ntoa();

int main() {
dnet_ntoa()
; return 0; }
configure:3427: checking for inet_ntoa
configure:3456: gcc -o conftest -O2  -s conftest.c  1>&5
configure:3518: checking for connect
configure:3547: gcc -o conftest -O2  -s conftest.c  1>&5
configure:3610: checking for remove
configure:3639: gcc -o conftest -O2  -s conftest.c  1>&5
configure:3703: checking for shmat
configure:3732: gcc -o conftest -O2  -s conftest.c  1>&5
configure:3798: checking for killpg in -lucb
configure:3817: gcc -o conftest -O2  -s conftest.c -lucb   1>&5
/usr/bin/ld: cannot find -lucb
collect2: ld returned 1 exit status
configure: failed program was:
#line 3806 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char killpg();

int main() {
killpg()
; return 0; }
configure:3888: checking for bool
configure:3908: g++ -c -O2 -fno-exceptions -fno-rtti -fno-check-new 
conftest.C 1>&5
configure:3931: checking for extra includes
configure:3962: checking for extra libs
configure:3996: checking for libz
configure:4022: gcc -o conftest -O2   -s conftest.c  -lz  1>&5
configure:4053: checking for X
configure:4092: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:4168: gcc -o conftest -O2  -s conftest.c -lXt  1>&5
/usr/bin/ld: cannot find -lXt
collect2: ld returned 1 exit status
configure: failed program was:
#line 4161 "configure"
#include "confdefs.h"

int main() {
XtMalloc()
; return 0; }
configure:4329: checking for IceConnectionNumber in -lICE
configure:4348: gcc -o conftest -O2  -s -L/usr/X11R6/lib conftest.c
-lICE   1>&5
configure:4377: checking for libXext
configure:4400: gcc -o conftest -O2  -L/usr/X11R6/lib  conftest.c -lXext
-lX11  1>&5
configure:4431: checking for libpng
configure:4461: gcc -o conftest -O2 -I/usr/X11R6/include   -s
conftest.c  -L/usr/X11R6/lib  -lpng -lz -lm -lX11  1>&5
configure:4501: checking for Qt
configure:4648: g++ -o conftest -O2 -fno-exceptions -fno-rtti
-fno-check-new -I/usr/lib/qt2/include -I/usr/X11R6/include 
-L/usr/lib/qt2/lib -L/usr/X11R6/lib  conftest.C  -lqt -lpng -lz -lm 
-lXext -lX11  1>&5
/tmp/ccD0Q8Hi.o(.text+0x3e): In function `main':
: undefined reference to `QString::shared_null'
/tmp/ccD0Q8Hi.o(.text+0x71): In function `main':
: undefined reference to `QIconView::QIconView[in-charge](QWidget*, char
const*, unsigned)'
/tmp/ccD0Q8Hi.o(.text+0x7b): In function `main':
: undefined reference to `QIconView::setWordWrapIconText(bool)'
/tmp/ccD0Q8Hi.o(.text+0x80): In function `main':
: undefined reference to `QString::shared_null'
/tmp/ccD0Q8Hi.o(.text+0xa3): In function `main':
: undefined reference to `QString::setLatin1(char const*, int)'
/tmp/ccD0Q8Hi.o(.text+0xb8): In function `main':
: undefined reference to `QString::shared_null'
/tmp/ccD0Q8Hi.o(.text+0xcc): In function `main':
: undefined reference to `QString::shared_null'
/tmp/ccD0Q8Hi.o(.text+0xd1): In function `main':
: undefined reference to `QStringData::deleteSelf()'
/tmp/ccD0Q8Hi.o(.text+0xdd): In function `main':
: undefined reference to `QIconView::~QIconView [in-charge]()'
/tmp/ccD0Q8Hi.o(.text+0xf1): In function `main':
: undefined reference to `QString::makeSharedNull()'
/tmp/ccD0Q8Hi.o(.text+0xf9): In function `main':
: undefined reference to `QString::makeSharedNull()'
/tmp/ccD0Q8Hi.o(.gnu.linkonce.r._ZTV6QGList+0xc): undefined reference to
`QGList::clear()'
/tmp/ccD0Q8Hi.o(.gnu.linkonce.r._ZTV6QGList+0x10): undefined reference
to `QGList::~QGList [in-charge]()'
/tmp/ccD0Q8Hi.o(.gnu.linkonce.r._ZTV6QGList+0x14): undefined reference
to `QGList::~QGList [in-charge deleting]()'
/tmp/ccD0Q8Hi.o(.gnu.linkonce.r._ZTV6QGList+0x18): undefined reference
to `QCollection::newItem(void*)'
/tmp/ccD0Q8Hi.o(.gnu.linkonce.r._ZTV6QGList+0x1c): undefined reference
to `QCollection::deleteItem(void*)'
/tmp/ccD0Q8Hi.o(.gnu.linkonce.r._ZTV6QGList+0x20): undefined reference
to `QGList::compareItems(void*, void*)'
/tmp/ccD0Q8Hi.o(.gnu.linkonce.r._ZTV6QGList+0x24): undefined reference
to `QGList::read(QDataStream&, void*&)'
/tmp/ccD0Q8Hi.o(.gnu.linkonce.r._ZTV6QGList+0x28): undefined reference
to `QGList::write(QDataStream&, void*) const'
collect2: ld returned 1 exit status
configure: failed program was:
#include "confdefs.h"
#include <qglobal.h>
#include <qapplication.h>
#include <qapp.h>
#include <qobjcoll.h>
#include <qstring.h>
#include <qstyle.h>
#include <qiconview.h>
#if ! (QT_VERSION >= 210)
#error 1
#endif

int main() {
    QStringList *t = new QStringList();
    QIconView iv(0);
    iv.setWordWrapIconText(false);
    QString s;
    s.setLatin1("Elvis is alive", 14);
    return 0;
}
--------------------------------------------------------------------

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <http://listman.redhat.com/archives/fedora-de-list/attachments/20031128/8291f7d6/attachment.sig>


More information about the Fedora-de-list mailing list