Hello all, I am trying to build some packages on my own, with an eye to eventually joining as a package maintainer, but I am running into some problems. I cannot seem to get kcdlabel to compile successfully, either with configure or my hacked debian/rules build. The error message returned by ./configure is:
checking for Qt... configure: error: Qt (>= Qt 2.2.1) (libraries) not
found. Please check your installation!
For more details about this problem, look at the end of config.log.
The seemingly relevant part of config.log is:
configure:5073: checking for Qt
tried NO
tried /usr/lib/qt2/lib
tried /usr/lib/qt2
tried /usr/lib/qt/lib
tried /usr/lib/qt
tried /usr/X11R6/lib
configure:5234: rm -rf SunWS_cache; g++ -o conftest -O2 -fno-exceptions -fno-check-new
-Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -Wno-long-long
-fno-builtin -I/usr/include/qt -I/usr/X11R6/include -L/usr/lib -L/usr/X11R6/lib
conftest.C -lqt -lpng -lz -lm -ljpeg -lXext -lX11 -lSM -lICE 1>&5
conftest.C: In function `int main()':
conftest.C:15: warning: unused variable `QStringList*t'
conftest.C:20: warning: unused variable `int magnolia'
/tmp/cc8qcgkj.o: In function `main':
/tmp/cc8qcgkj.o(.text+0x3e): undefined reference to
`QString::shared_null'
/tmp/cc8qcgkj.o(.text+0x71): undefined reference to
`QIconView::QIconView[in-charge](QWidget*, char const*, unsigned)'
/tmp/cc8qcgkj.o(.text+0x7b): undefined reference to
`QIconView::setWordWrapIconText(bool)'
/tmp/cc8qcgkj.o(.text+0x80): undefined reference to
`QString::shared_null'
/tmp/cc8qcgkj.o(.text+0xa3): undefined reference to
`QString::setLatin1(char const*, int)'
/tmp/cc8qcgkj.o(.text+0xbe): undefined reference to
`QString::shared_null'
/tmp/cc8qcgkj.o(.text+0xc9): undefined reference to
`QStringData::deleteSelf()'
/tmp/cc8qcgkj.o(.text+0xd5): undefined reference to
`QIconView::~QIconView [in-charge]()'
/tmp/cc8qcgkj.o(.text+0xea): undefined reference to
`QString::shared_null'
/tmp/cc8qcgkj.o(.text+0xf5): undefined reference to
`QString::makeSharedNull()'
/tmp/cc8qcgkj.o(.text+0xfd): undefined reference to
`QString::makeSharedNull()'
collect2: ld returned 1 exit status
configure: failed program was:
#include "confdefs.h"
#include <qglobal.h>
#include <qapplication.h>
#include <qapp.h>
#include <qobjcoll.h>
#include <qevent.h>
#include <qstring.h>
#include <qstyle.h>
#include <qiconview.h>
#if ! (QT_VERSION >= 221)
#error 1
#endif
int main() {
QStringList *t = new QStringList();
QIconView iv(0);
iv.setWordWrapIconText(false);
QString s;
s.setLatin1("Elvis is alive", 14);
int magnolia = QEvent::Speech; /* new in 2.2
beta2 */
return 0;
}
steve:~/source/kcdlabel/kcdlabel-2.6$ dpkg -l *qt* | grep ii
ii libqt-dev 2.3.1-22 Qt GUI development headers
ii libqt2 2.3.1-22 Qt GUI Library (runtime version).
ii libqt2-emb 2.3.2-3 Qt-Embedded GUI Library (runtime
version).
steve:~$ uname -a
Linux busybox 2.4.18 #2 Sat Jun 15 15:31:45 EDT 2002 i686 unknown
Running Sid, updated this evening. Sorry for such a long message, but I
tried to include enough that people would have some idea where the
failure is. It seems to me that it's looking libqt.a and not finding
it, but that shouldn't be, because it is there.
Any suggestions welcome, and TIA,
Steve
--
Lubarsky's Law of Cybernetic Entomology:
There's always one more bug.
msg06528/pgp00000.pgp
Description: PGP signature

