[plug] Compiling KDE 1.1.2

Bernard Blackham dagobah at mad.scientist.com
Thu Sep 14 18:17:15 WST 2000


List,

I am trying to compile and install KDE 1.1.2 on my Debain 2.2 machine, and
compiling from the source tgz's. I have installed Qt 2.2.0 source and
binaries which seem to work fine. I've compiled and installed the
kdesupport libs easily enough. When it comes to the kdelibs themselves,
they tend to spew errors that seem to be about the Qt libraries or
headers:

---BEGIN CUT---

make all-recursive make[1]: Entering directory `/usr/src/kdelibs-1.1.2'
Making all in kdecore make[2]: Entering directory
`/usr/src/kdelibs-1.1.2/kdecore' /bin/sh ../libtool --silent
--mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/qt/include
-O2 -Wall -c kconfigbase.cpp kconfigbase.cpp: In method `const class
QString KConfigBase::readEntry(const char *, const char * = 0) const':
kconfigbase.cpp:382: no matching function for call to `QString::detach ()'
kconfigbase.cpp:394: `class QCharRef' used where a `int' was expected
kconfigbase.cpp: In method `void KConfigBase::writeEntry(const char *,
QStrList &, char = ',', bool = true, bool = false, bool = false)':
kconfigbase.cpp:894: call of overloaded `writeEntry(const char *&, QString
&, bool &, bool &, bool &)' is ambiguous kconfigbase.cpp:808: candidates
are: const char * KConfigBase::writeEntry(const char *, const char *, bool
= true, bool = false, bool = false) kconfigbase.h:543:  const char *
KConfigBase::writeEntry(const char *, bool, bool = true, bool = false,
bool = false) kconfigbase.h:561:  const char *
KConfigBase::writeEntry(const char *, const QFont &, bool = true, bool =
false, bool = false) kconfigbase.h:579:  void
KConfigBase::writeEntry(const char *, const QColor &, bool = true, bool =
false, bool = false) 
.
.
.
make[2]: *** [kconfigbase.lo] Error 1 make[2]:
Leaving directory `/usr/src/kdelibs-1.1.2/kdecore' make[1]: ***
[all-recursive] Error 1 make[1]: Leaving directory
`/usr/src/kdelibs-1.1.2' make: *** [all-recursive-am] Error 2

---END CUT---

the . . . is a tonne of similar messages about amiguities in the function
prototypes all referred from in kconfigbase.h/cpp. I'm guessing by the Q's
there's something wrong with my Qt library? I can't seem to find any joy
in the KDE web pages, FAQs, installation notes, etc.
Can anybody shed any light on the source of my problems please?

Thanks,

Bernard.

--
 Bernard Blackham
 dagobah at mad.scientist.com




More information about the plug mailing list