[kde-solaris] compiling kdepim

Rob Fisher lists at thecatflap.co.uk
Thu Aug 26 02:07:27 CEST 2004

Boy, KDE gets harder to compile with every release. 1 used to compile no 
problem. 2 occasionally needed a nudge. 3.0 wasn't too bad, 3.1 had problems, 
especially with the early releases, I never got 3.2 to work properly (the 
konq startup bug mainly), and I've been trying to build 3.3 for a good few 
days now. I'm finally getting there, but I'm stuck on kdepim. (As usual, Sol 
9 x86, gcc-3.3.4, qt-3.3.3.)

KDE gets better with every release, but I sometimes worry that it also gets 
more and more linux-centric...  The Solaris patches seem too often 
overlooked, especially Stefan's fantastic Forte port.

Anyway - have any of you good people managed to compile kdepim-3.3.0? I can't 
get the certmanager to build:

gmake[2]: Entering directory `/export/home/rob/kdepim-3.3.0/certmanager/lib'
if /bin/bash ../../libtool --silent --mode=compile --tag=CXX g++ 
-DHAVE_CONFIG_H -I. -I. -I../.. -I../../libkdenetwork -I/usr/local/include 
-I/usr/local/include -I/usr/local/kde/include -I/usr/local/qt/include    
-DSVR4 -D_FILE_OFFSET_BITS=64  -Wnon-virtual-dtor -Wno-long-long -Wundef 
-Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -O4 
-mcpu=i686 -fomit-frame-pointer -fno-exceptions -fno-check-new -fno-common 
-DQT_NO_TRANSLATION  -MT cryptplug.lo -MD -MP -MF ".deps/cryptplug.Tpo" -c -o 
cryptplug.lo cryptplug.cpp; \
then mv -f ".deps/cryptplug.Tpo" ".deps/cryptplug.Plo"; else rm -f 
".deps/cryptplug.Tpo";exit 1; fi
cryptplug.cpp: In function `char* parseAddress(char*)':
cryptplug.cpp:584: error: `index' undeclared (first use this function)
cryptplug.cpp:584: error: (Each undeclared identifier is reported only once 
   each function it appears in.)
cryptplug.cpp: At global scope:
cryptplug.cpp:1664: warning: `gpgme_sig_stat_t' is deprecated (declared at
cryptplug.cpp:1686: warning: `gpgme_sig_stat_t' is deprecated (declared at
cryptplug.cpp: In function `gpgme_sig_stat_t 
cryptplug.cpp:1689: warning: `gpgme_sig_stat_t' is deprecated (declared at
cryptplug.cpp: At global scope:
cryptplug.cpp:1698: warning: `gpgme_sig_stat_t' is deprecated (declared at
cryptplug.cpp:1740: warning: `gpgme_sig_stat_t' is deprecated (declared at
cryptplug.cpp: In function `void obtain_signature_information(gpgme_context*,
   gpgme_sig_stat_t&, CryptPlug::SignatureMetaData*, char**, const char*,
cryptplug.cpp:1811: warning: `gpgme_get_sig_key' is deprecated (declared at
cryptplug.cpp:1893: warning: `gpgme_sig_stat_t' is deprecated (declared at
cryptplug.cpp: In member function `bool
   CryptPlug::checkMessageSignature(char**, const char*, bool, int,
   CryptPlug::SignatureMetaData*, char**, const char*)':
cryptplug.cpp:1915: warning: `gpgme_sig_stat_t' is deprecated (declared at
cryptplug.cpp: In member function `bool 
   char*, bool, int, const char**, const char*, bool*,
   CryptPlug::SignatureMetaData*, int*, char**, char**, const char*)':
cryptplug.cpp:1992: warning: `gpgme_sig_stat_t' is deprecated (declared at
gmake[2]: *** [cryptplug.lo] Error 1
gmake[2]: Leaving directory `/export/home/rob/kdepim-3.3.0/certmanager/lib'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/export/home/rob/kdepim-3.3.0/certmanager/lib'
gmake: *** [all-recursive] Error 1

Nothing in bugs.kde.org relating to this one - the KDE people seem to think 
it's a gpgme problem - but I'm hoping someone here might be able to help me 
out. I'm not sure which version of gpgme I'm supposed to be using. I couldn't 
get the supplied one to compile, then I found you're not really supposed to 
use it, and I spent most of the afternoon building various gpg add-ons, 
satisfying one dependency after another. It doesn't fill me with confidence 
that I downloaded most of the files from gnupg's "alpha" directory... If 
anyone's got this working, which gpg and attendant libraries did you use?

kmail is the one app I like most in KDE, and it's pretty much the only one I 
haven't got working yet. So, as usual, any help gratefully received.

Finally, how cleanly have you all found kdelibs built? I had to resort to some 
pretty gross hacks to get through to the end. Linker errors mostly, and the 
old "s/-z text/-z defs/g" trick didn't help much.



More information about the kde-solaris mailing list