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

Re: [ralf'sdeb] kopete's crash



Le sam 25/01/2003 à 17:04, Hasso Tepper a écrit :
> Grégoire Cachet wrote:
> > I want to compile the CVS version of kopete, but I have an error
> > about Qt. It says :
> > checking for Qt... configure: error: Qt (>= Qt 3.0) (library qt-mt)
> > not found. Please check your installation!
> 
> I'm almost sure that there is one more line:
> For more details about this problem, look at the end of config.log.

you're right ;-) but I don't understand it ... The qt section seems to
be like that :

configure:22665: checking for Qt
configure: 22733: /usr/local/qt/include//qstyle.h
configure: 22733: /usr/lib/qt3/include/qstyle.h
configure: 22733: /usr/lib/qt3/qstyle.h
configure: 22733: /usr/lib/qt/include/qstyle.h
configure: 22733: /usr/lib/qt/qstyle.h
configure: 22733: /usr/local/qt/include/qstyle.h
configure: 22733: /usr/include/qt/qstyle.h
taking that
configure:22842: rm -rf SunWS_cache; g++ -o conftest -Wnon-virtual-dtor
-Wno-long-long -Wundef -Wa
ll -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings
-ansi -D_XOPEN_SOURCE=500 -D_
BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -O2
-Wformat-security -Wmissing-format-attr
ibute -fno-exceptions -fno-check-new -fno-common -I/usr/include/qt
-I/usr/X11R6/include  -DQT_THRE
AD_SUPPORT  -D_REENTRANT  -L/usr/local/qt/lib/ -L/usr/X11R6/lib  
conftest.cc  -lqt-mt -lpng -lz -
lm -ljpeg -ldl  -lXext -lX11 -lSM -lICE  -lpthread 1>&5
/tmp/ccXbDRHf.o(.text+0xe): In function `main':
: undefined reference to `QString::null'
/tmp/ccXbDRHf.o(.text+0x13): In function `main':
: undefined reference to `QStyleFactory::create(QString const&)'
/tmp/ccXbDRHf.o(.text+0x20): In function `main':
: undefined reference to `QCursor::QCursor[in-charge](int)'
/tmp/ccXbDRHf.o(.text+0x28): In function `main':
: undefined reference to `QCursor::~QCursor [in-charge]()'
collect2: ld returned 1 exit status
configure:22845: $? = 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 >= 300)
#error 1
#endif

int main() {
    (void)QStyleFactory::create(QString::null);
    QCursor c(Qt::WhatsThisCursor);
    return 0;
}
configure:22885: error: Qt (>= Qt 3.0) (library qt-mt) not found. Please
check your installation!
For more details about this problem, look at the end of config.log.
Make sure that you have compiled Qt with thread support!


libqt3-mt-dev is installed on my system

thanks for help

grégoire



Reply to: