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

Compiling KDE apps: Still not clear...



... on what I need to install. I am running KDE 3.1.1 from Ralf's Woody
packages, on a primarily Woody system, with some packages from Sid.

I have read through the various posts this month, and have tried to follow
the advice given, but still can't manage to get past this configure error:

 checking for Qt... configure: error: Qt (>= Qt 3.0.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!

(The details from config.log are set out below)

I do have the following packages installed, from Ralf's repository:

libqt3-compat-headers
libqt3-headers
libqt3-mt-dev
libqt3-plugins-headers
qt3-apps-dev
kdebase-dev
kdelibs4-dev
kdemultimedia-dev
kdegraphics-dev

(I didn't install libqt3-dev, because it conflicts with some of the above;
I installed the above packages as they were the packages suggested on this
list. What is libqt3-dev for??)

I get the above error whether I run
	./configure
or
	./configure --prefix=/usr --with-qt-includes=/usr/include/qt3
or
	./configure --prefix=/usr --with-qt-includes=/usr/include/qt3
	   --with-qt-libraries=/usr/share/qt3/lib

I also tried running
	export QTDIR=/usr/share/qt3
first, but I still got the same message indicated above.

For the record, the program I am trying to install is kcdlabel
v.2.11-KDE3. The relevant excerpt from config.log is:

configure:21511: checking for Qt
configure: 21578: /usr/include/qt3/qstyle.h
taking that
configure:21688: 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 -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 
-lresolv -lpthread 1>&5
/tmp/cc8TDEIj.o(.text+0xe): In function `main':
: undefined reference to `QString::null'
/tmp/cc8TDEIj.o(.text+0x13): In function `main':
: undefined reference to `QStyleFactory::create(QString const&)'
/tmp/cc8TDEIj.o(.text+0x20): In function `main':
: undefined reference to `QCursor::QCursor[in-charge](int)'
/tmp/cc8TDEIj.o(.text+0x28): In function `main':
: undefined reference to `QCursor::~QCursor [in-charge]()'
collect2: ld returned 1 exit status
configure:21691: $? = 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 >= 303)
#error 1
#endif

int main() {
    (void)QStyleFactory::create(QString::null);
    QCursor c(Qt::WhatsThisCursor);
    return 0;
}
configure:21731: error: Qt (>= Qt 3.0.3) (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!

Bruce




Reply to: