You are not logged in.

1

Wednesday, February 25th 2004, 5:06pm

Problems with compiling Kopete 0.80 on MDK 9.1

I just tried to configure Kopete 0.8 but got stuck with the following Problem:

[code:1][root@linux kopete-0.8.0]# ./configure --prefix=/usr

(...)

checking for Qt... configure: error: Qt (>= Qt 3.1 (20021021)) (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!
[root@linux kopete-0.8.0]#[/code:1]

But, as you can see below, everything needed is installed! :

[code:1][milhouse@linux milhouse]$ rpm -qa | grep qt3
libqt3-3.1.1-13.1mdk
libqt3-odbc-3.1.1-13.1mdk
libqt3-common-3.1.1-13.1mdk
libqt3-devel-3.1.1-13.1mdk
[milhouse@linux milhouse]$
[/code:1]

Can somebody help me? I couldn't find any solutions, sorry but I'm a newbie in compiling...

2

Thursday, February 26th 2004, 4:45am

[code:1]Execute
export QTDIR=/usr/lib/qt3;export PATH=$QTDIR/bin:$PATH[/code:1]

and the run configure. it should be able to recognise now.

3

Thursday, February 26th 2004, 4:11pm

That doesn't help, I already tryed that. The same error occurs.

Have you got any other ideas what the problem could be? I'm clueless....

4

Thursday, February 26th 2004, 4:25pm

I managed to get it configured and installed once. I reinstalled Mandrake for some reason or another and have yet to be able to reinstall it. I've also tried including all of the relevant paths to $PATH, used --prefix and all other config options i have found. I know it has to be some package that Mandrake included with the CD's but I don't want to install ALL of the packages just to get one small piece of software to compile.

Still stuck at the QT error too.

5

Thursday, February 26th 2004, 11:30pm

Post the config.log file . The file might be very big so post only the relevant part regarding qt error.

6

Friday, February 27th 2004, 12:21pm

By the way, some friends of me have the same problem! So we're not the only two people...

Here is the config.log:


[code:1](...)
configure:28072: checking for perl
configure:28129: result: /usr/bin/perl
configure:28265: checking for Qt
configure: 28333: /usr/lib/qt3/include/qstyle.h
taking that
tried NO
configure:28448: rm -rf SunWS_cache; g++ -o conftest -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -O2 -fno-exceptions -fno-check-new -fno-common -I/usr/lib/qt3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -L/usr/lib/qt3/lib -L/usr/X11R6/lib conftest.cc -lqt-mt -lpng -lz -lm -ljpeg -ldl -lXext -lX11 -lSM -lICE -lpthread 1>&5
/tmp/ccsnshnG.o(.text+0x8): In function `main':
: undefined reference to `QString::null'
/tmp/ccsnshnG.o(.text+0xd): In function `main':
: undefined reference to `QStyleFactory::create(QString const &)'
/tmp/ccsnshnG.o(.text+0x1a): In function `main':
: undefined reference to `QCursor::QCursor(int)'
/tmp/ccsnshnG.o(.text+0x24): In function `main':
: undefined reference to `QCursor::~QCursor(void)'
collect2: ld returned 1 exit status
configure:28451: $? = 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 ! &#40;QT_VERSION >= 0x030100&#41;
#error 1
#endif

int main&#40;&#41; &#123;
&#40;void&#41;QStyleFactory&#58;&#58;create&#40;QString&#58;&#58;null&#41;;
QCursor c&#40;Qt&#58;&#58;WhatsThisCursor&#41;;
return 0;
&#125;
configure&#58;28491&#58; error&#58; Qt &#40;>= Qt 3.1 &#40;20021021&#41;&#41; &#40;library qt-mt&#41; 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!
[/code:1]

I hope you can understand everything in here, because I don't :roll:

7

Friday, February 27th 2004, 10:55pm

Check to see if you have two versions of gcc/g++ on your system. That could be the problem. other than that iam afraid i have run out of solution. You can also try to upgrade your qt to version 3.1.2 and see if the problem goes away.
I don't have old version of kde/qt anymore so i cannot confirm/test your problem .why don't you ask the question in mandrake forum and see if they have any answers?? Let us know how it turned out.