I apologize if this has been brought up elsewhere. If so, I have not found it yet.
I'm compiling KDE 3.3.0 on VectorLinux 4.3, a slackware based distribution. I've successfully compiled qt-3.3.3, kdelibs-3.3.0, arts-1.3, kdegames-3.3.0, kdegraphics-3.3.0. However I have not been able to compile either kdebase-3.3.0 or kdenetwork-3.3.0.
The problem with kdebase is compiling the kxkb program. It gives me the following error during make:
/bin/sh ../libtool --silent --mode=link --tag=CXX g++ -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 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -D_GNU_SOURCE -o kxkb -R /opt/kde/lib -R /usr/local/qt/lib -R /usr/X11R6/lib -no-undefined -L/usr/X11R6/lib -L/usr/local/qt/lib -L/opt/kde/lib kxkb.la.o libkdeinit_kxkb.la
./.libs/libkdeinit_kxkb.so: undefined reference to `_XkbErrData'
./.libs/libkdeinit_kxkb.so: undefined reference to `_XkbErrCode'
collect2: ld returned 1 exit status
make[3]: *** [kxkb] Error 1
make[3]: Leaving directory `/home/tim/Downloads/KDE/kdebase-3.3.0/kxkb'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/tim/Downloads/KDE/kdebase-3.3.0/kxkb'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/tim/Downloads/KDE/kdebase-3.3.0'
make: *** [all] Error 2
I have grepped my harddisk looking for these functions in my XFree86 source code and they aren't there. It seems they are in the X.Org (still unsupported by VectorLinux) code. Is this a bug? I have the packages xfree86-4.3.0-i486-5 and xfree86-devel-4.3.0-i486-3. This should meet the dependency requirement, no?
As a workaround, I have tried setting DO_NOT_COMPILE="$DO_NOT_COMPILE kxkb" as recommended by http://developer.kde.org/documentation/other/makefile_am_howto.html , but this is ignored by configure and make.
I have a problem with compilation of kdenetwork-3.3.0 as well. It involves the jabber plugin for Kopete.
make[3]: Entering directory `/home/tim/Downloads/KDE/kdenetwork-3.3.0/kopete/protocols/jabber/libiris/iris/xmpp-core'
make[3]: Circular securestream.cpp <- securestream.moc dependency dropped.
if /bin/sh ../../../../../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../../../../../.. -I./../include -I./../xmpp-core -I./../xmpp-im -I./../../cutestuff/util -I./../../cutestuff/network -I./../../qca/src -I/opt/kde/include -I/usr/local/qt/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -D_FILE_OFFSET_BITS=64 -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 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -MT libiris_xmpp_core_la-jid.lo -MD -MP -MF ".deps/libiris_xmpp_core_la-jid.Tpo" -c -o libiris_xmpp_core_la-jid.lo `test -f 'jid.cpp' || echo './'`jid.cpp; \
then mv -f ".deps/libiris_xmpp_core_la-jid.Tpo" ".deps/libiris_xmpp_core_la-jid.Plo"; else rm -f ".deps/libiris_xmpp_core_la-jid.Tpo"; exit 1; fi
jid.cpp: In static member function `static bool XMPP::Jid::validDomain(const
QString&, QString*)':
jid.cpp:215: `Stringprep_profile_flags' undeclared (first use this function)
jid.cpp:215: (Each undeclared identifier is reported only once for each
function it appears in.)
jid.cpp:215: syntax error before numeric constant
jid.cpp: In static member function `static bool XMPP::Jid::validNode(const
QString&, QString*)':
jid.cpp:226: syntax error before numeric constant
jid.cpp: In static member function `static bool XMPP::Jid::validResource(const
QString&, QString*)':
jid.cpp:237: syntax error before numeric constant
make[3]: *** [libiris_xmpp_core_la-jid.lo] Error 1
make[3]: Leaving directory `/home/tim/Downloads/KDE/kdenetwork-3.3.0/kopete/protocols/jabber/libiris/iris/xmpp-core'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/tim/Downloads/KDE/kdenetwork-3.3.0/kopete/protocols/jabber/libiris/iris'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/tim/Downloads/KDE/kdenetwork-3.3.0/kopete/protocols/jabber/libiris'
make: *** [all-recursive] Error 1
The page: http://kopete.kde.org/index.php?page=faq suggests that my problem is related to the libstringprep, libidn and libidn-devel packages. I have libstringprep-0.0.8-i386-1 and libidn-0.5.4-i386-1. I have searched http://www.gnu.org/software/libidn (libidn's homepage) as well as the web, and can only find redhat and debian packages for libidn-devel. It strikes me as peculiar that the developers of libidn don't have ANY links to libidn-devel packages and that furthermore kopete would depend on such an obscure package.
Again I am looking for a workaround so that I don't have to support the jabber plugin.
Any thoughts? Everything else in kdebase and kdenetworks HAS compiled successfully, but I can't actually make a coherent package with the current makefiles when these pieces don't compile.
I suspect that there is some ./configure flag that can be switched in both cases, but I don't know what it is, and I've tried about everything I know.
Thanks for any help you can give!
-niiler