[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: qt nicht installiert?



Am Mittwoch, 7. Mai 2003 17:47 schrieb Andreas Pakulat - wrote:
> On 07.Mai 2003 - 12:34:03, Dr. Martinus wrote:
> > Hallo,
> > Das Ende von config.log enthält
> >
> > configure: exit 1
>
> Naja, etwas mehr als die letzte Zeile meinen die da schon, guck mal
> rein in die config.log, da steht bestimmt ne Zeile mit checking for
> Qt und danach was er macht um nach Qt zu suchen. Dort steht auch
> der genaue Fehler

OK, ich habe jetzt noch mal nachgeschaut, hier ist der relevante Teil, 
vermute ich:

configure:11266: checking for Qt
configure: 11333: /usr/lib/qt3/include/qstyle.h
configure: 11333: /usr/lib/qt3/qstyle.h
configure: 11333: /usr/lib/qt/include/qstyle.h
configure: 11333: /usr/lib/qt/qstyle.h
configure: 11333: /usr/local/qt/include/qstyle.h
configure: 11333: /usr/include/qt/qstyle.h
configure: 11333: /usr/include/qstyle.h
configure: 11333: /usr/X11R6/include/X11/qt/qstyle.h
configure: 11333: /usr/X11R6/include/qt/qstyle.h
configure: 11333: /usr/X11R6/include/qt2/qstyle.h
configure: 11333: /usr/X11R6/include/qstyle.h
tried NO
tried /usr/lib/qt3/lib
tried /usr/lib/qt3
tried /usr/lib/qt/lib
tried /usr/lib/qt
tried /usr/X11R6/lib
configure:11443: rm -rf SunWS_cache; g++ -o conftest 
-Wnon-virtual-dtor -Wno-long-long -Wbad-function-cast -Wundef -Wall 
-pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings 
-ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -O2 
-fno-exceptions -fno-check-new -INO -I/usr/X11R6/include  
-DQT_THREAD_SUPPORT  -D_REENTRANT  -L/usr/lib -L/usr/X11R6/lib   
conftest.cc  -lqt-mt -lpng -lz -lm -ljpeg -ldl  -lXext -lX11 -lSM 
-lICE  -lresolv -lpthread 1>&5
conftest.cc:2: qglobal.h: No such file or directory
conftest.cc:3: qapplication.h: No such file or directory
conftest.cc:4: qcursor.h: No such file or directory
conftest.cc:5: qstylefactory.h: No such file or directory
conftest.cc:6: private/qucomextra_p.h: No such file or directory
conftest.cc:7: warning: `QT_VERSION' is not defined
conftest.cc:8: #error 1
configure:11446: $? = 1
configure: failed program was:
#include "confdefs.h"
#include <qglobal.h>
#include <qapplication.h>
#include <qcursor.h>
#include <qstylefactory.h>
#include <private/qucomextra_p.h>
#if ! (QT_VERSION >= 302)
#error 1
#endif

int main() {
    (void)QStyleFactory::create(QString::null);
    QCursor c(Qt::WhatsThisCursor);
    return 0;
}
configure:11486: error: Qt (>= Qt 3.0.2) (headers and libraries) not 
found. Please check your installation!
For more details about this problem, look at the end of config.log.

-----

Danach kommen noch eine Menge anderer Daten, aber das scheint mir 
zweitrangig (Liste von Cache variables). 

>
> Hast du auch libqt*-dev?! Und du brauchst natürlich QT >=3.0.2

Ich habe versucht, das zu installieren, aber dann abgewunken, denn 
dies ist die Meldung:

apt-get install libqt3-dev
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages will be REMOVED:
  kdelibs4-dev libarts1-dev libartsc0-dev libqt3-mt-dev
The following NEW packages will be installed:
  libqt3-dev

Ich glaube nicht, dass ich das will, oder? Sorry für die dumme Frage, 
ich weiß wirklich nicht, ob ich die libs brauche, denke aber, dass es 
so ist. Wenn ich's richtig verstanden habe, ist libqt3-mt-dev das 
fortgeschrittenere Paket (liege ich da richtig?), mit dem 
kfilereplace aber offenbar nichts anfangen kann. 


-- 
Dr. Martinus
linux@drmartinus.de
http://www.drmartinus.de



Reply to: