Dominique Devriese wrote:
Raphael Bauduin writes:
Hi, as kdebindings arent available in debian unstable, has anyone
already compiled it manually? I didn't search a lot, but when I
tried it complained it didn't find the multithreaded qt, although it
was really there.
I am working on Debian packages for it.
Looking forward to it!
I have it, but the libqt3-mt package is replaced by libqt3c102-mt, which is also installed:Your error is something pretty basic, namely that you need to install the libqt3-mt-dev package.
ii libqt3-mt-dev 3.2.3-2
ii libqt3c102-mt 3.2.3-2
I also had libqt3c102 installed, but even when I remove it, I get the same problem.
This is not a high priority for me, so don't bother looking at the logs below if you don't have time for it ;-)
Raph
From config.log:
configure:26914: checking for Qt
configure: 26982: /usr/lib/qt3/include/qstyle.h
configure: 26982: /usr/lib/qt3/qstyle.h
configure: 26982: /usr/lib/qt/include/qstyle.h
configure: 26982: /usr/lib/qt/qstyle.h
configure: 26982: /usr/share/qt3/include/qstyle.h
configure: 26982: /usr/share/qt3/qstyle.h
configure: 26982: /usr/local/qt/include/qstyle.h
configure: 26982: /usr/include/qt/qstyle.h
configure: 26982: /usr/include/qstyle.h
configure: 26982: /usr/X11R6/include/X11/qt/qstyle.h
configure: 26982: /usr/X11R6/include/qt/qstyle.h
configure: 26982: /usr/X11R6/include/qt2/qstyle.h
configure: 26982: /usr/include/qt3/qstyle.h
taking that
tried NO
tried /usr/lib/qt3/lib
tried /usr/lib/qt3
tried /usr/lib/qt/lib
tried /usr/lib/qt
configure:27097: rm -rf SunWS_cache; g++ -o conftest -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -O2 -fno-exceptions -fno-check-new -fno-common -I/usr/include/qt3 -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -L/usr/share/qt3/lib -L/usr/X11R6/lib conftest.cc -lqt-mt -lpng -lz -lm -ljpeg -ldl -lXext -lX11 -lSM -lICE -lpthread 1>&5
/tmp/ccz7t5hU.o(.text+0xb): In function `main':
: undefined reference to `QString::null'
/tmp/ccz7t5hU.o(.text+0x10): In function `main':
: undefined reference to `QStyleFactory::create(QString const &)'
/tmp/ccz7t5hU.o(.text+0x1e): In function `main':
: undefined reference to `QCursor::QCursor(int)'
/tmp/ccz7t5hU.o(.text+0x29): In function `main':
: undefined reference to `QCursor::~QCursor(void)'
/tmp/ccz7t5hU.o(.QValueListPrivate<QString>::gnu.linkonce.t.(void)+0x21): In function `QValueListPrivate<QString>::QValueListPrivate(void)':
: undefined reference to `QString::shared_null'
/tmp/ccz7t5hU.o(.QValueListPrivate<QString>::gnu.linkonce.t.(void)+0x2a): In function `QValueListPrivate<QString>::QValueListPrivate(void)':
: undefined reference to `QString::makeSharedNull(void)'
/tmp/ccz7t5hU.o(.gnu.linkonce.t._._t17QValueListPrivate1Z7QString+0x27): In function `QValueListPrivate<QString>::~QValueListPrivate(void)':
: undefined reference to `QString::shared_null'
/tmp/ccz7t5hU.o(.gnu.linkonce.t._._t17QValueListPrivate1Z7QString+0x32): In function `QValueListPrivate<QString>::~QValueListPrivate(void)':
: undefined reference to `QStringData::deleteSelf(void)'
/tmp/ccz7t5hU.o(.gnu.linkonce.t._._t17QValueListPrivate1Z7QString+0x5f): In function `QValueListPrivate<QString>::~QValueListPrivate(void)':
: undefined reference to `QString::shared_null'
/tmp/ccz7t5hU.o(.gnu.linkonce.t._._t17QValueListPrivate1Z7QString+0x6a): In function `QValueListPrivate<QString>::~QValueListPrivate(void)':
: undefined reference to `QStringData::deleteSelf(void)'
/tmp/ccz7t5hU.o(.QValueListPrivate<QString>::gnu.linkonce.t.insert(QValueListIterator<QString>, QString const &)+0x27): In function `QValueListPrivate<QString>::insert(QValueListIterator<QString>, QString const &)':
: undefined reference to `QString::QString(QString const &)'
/tmp/ccz7t5hU.o(.QValueListPrivate<QString>::gnu.linkonce.t.(QValueListPrivate<QString> const &)+0x21): In function `QValueListPrivate<QString>::QValueListPrivate(QValueListPrivate<QString> const &)':
: undefined reference to `QString::shared_null'
/tmp/ccz7t5hU.o(.QValueListPrivate<QString>::gnu.linkonce.t.(QValueListPrivate<QString> const &)+0x2a): In function `QValueListPrivate<QString>::QValueListPrivate(QValueListPrivate<QString> const &)':
: undefined reference to `QString::makeSharedNull(void)'
collect2: ld returned 1 exit status
configure:27100: $? = 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 >= 0x030200)
#error 1
#endif
int main() {
(void)QStyleFactory::create(QString::null);
QCursor c(Qt::WhatsThisCursor);
return 0;
}
configure:27140: error: Qt (>= Qt 3.2) (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!
cheers
domi

