[Kolab-devel] [issue1071] Compile of kde-client fails on SuSE 10.0
T. Ribbrock
kolab-issues at intevation.de
Tue Jan 3 11:16:07 CET 2006
New submission from T. Ribbrock <admin_slox-e at itsef.com>:
I am trying to compile kdepim-3.3.proko2.0.4 on a SuSE 10.0 system.
I unpack the tarball, run './configure', then 'make'. The compile then fails
with the following error message:
[...]
if /bin/sh ../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I.
-I. -I.. -I../libkdenetwork -I../libkdepim -I../libkpimidentities
-I../libksieve -I../mimelib -I../certmanager/lib -I.. -I/opt/kde3/include
-I/usr/lib/qt3/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 kmfoldermbox.lo -MD -MP -MF ".deps/kmfoldermbox.Tpo" \
-c -o kmfoldermbox.lo `test -f 'kmfoldermbox.cpp' || echo
'./'`kmfoldermbox.cpp; \
then mv -f ".deps/kmfoldermbox.Tpo" ".deps/kmfoldermbox.Plo"; \
else rm -f ".deps/kmfoldermbox.Tpo"; exit 1; \
fi
kmfoldermbox.cpp: In member function 'virtual KMail::FolderJob*
KMFolderMbox::doCreateJob(KMMessage*, KMail::FolderJob::JobType, KMFolder*,
QString, const KMail::AttachmentStrategy*) const':
mboxjob.h:52: error: 'void KMail::MboxJob::setParent(const KMFolderMbox*)' is
protected
kmfoldermbox.cpp:432: error: within this context
kmfoldermbox.cpp: In member function 'virtual KMail::FolderJob*
KMFolderMbox::doCreateJob(QPtrList<KMMessage>&, const QString&,
KMail::FolderJob::JobType, KMFolder*) const':
mboxjob.h:52: error: 'void KMail::MboxJob::setParent(const KMFolderMbox*)' is
protected
kmfoldermbox.cpp:442: error: within this context
make[1]: *** [kmfoldermbox.lo] Error 1
make[1]: Leaving directory `/usr/local/tmp/kdepim-3.3.proko2.0.4/kmail'
make: *** [all-recursive] Error 1
Given that I hardly know anything about C++, I decided to use the sledge-hammer
approach to see whether I could get the compile to continue and removed the
offending "protected" statement in kmail/mboxjob.h. The compile did continue
then, but stranded again on the following error:
make[3]: Entering directory `/usr/local/tmp/kdepim-3.3.proko2.0.4/korganizer'
if /bin/sh ../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I.
-I. -I.. -I./interfaces -I../libkdepim -I../libkpimidentities -I../mimelib
-I../ktnef -I../certmanager/lib -I../kresources/remote -I.. -I/opt/kde3/include
-I/usr/lib/qt3/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 koeditordetails.lo -MD -MP -MF
".deps/koeditordetails.Tpo" \
-c -o koeditordetails.lo `test -f 'koeditordetails.cpp' || echo
'./'`koeditordetails.cpp; \
then mv -f ".deps/koeditordetails.Tpo" ".deps/koeditordetails.Plo"; \
else rm -f ".deps/koeditordetails.Tpo"; exit 1; \
fi
/usr/lib/qt3/include/qtooltip.h:86: warning: 'class QToolTip' has virtual
functions but non-virtual destructor
/usr/lib/qt3/include/qnetworkprotocol.h:58: warning: 'class
QNetworkProtocolFactoryBase' has virtual functions but non-virtual destructor
/usr/lib/qt3/include/qfiledialog.h:78: warning: 'class QFilePreview' has
virtual functions but non-virtual destructor
/opt/kde3/include/kresources/manager.h:59: warning: 'class
KRES::ManagerNotifier' has virtual functions but non-virtual destructor
../libkcal/incidencebase.h:43: warning: 'class KCal::IncidenceBase::Observer'
has virtual functions but non-virtual destructor
koeditordetails.cpp:72: error: 'KCal::Attendee' is not a template type
koeditordetails.cpp:78: error: 'KCal::Attendee' is not a template type
/usr/lib/qt3/include/private/qucom_p.h:69: warning: 'struct QUBuffer' has
virtual functions but non-virtual destructor
/usr/lib/qt3/include/private/qucom_p.h:77: warning: 'struct QUType' has virtual
functions but non-virtual destructor
/usr/lib/qt3/include/private/qucom_p.h:104: warning: 'struct QUType_Null' has
virtual functions but non-virtual destructor
/usr/lib/qt3/include/private/qucom_p.h:287: warning: 'struct QUType_enum' has
virtual functions but non-virtual destructor
/usr/lib/qt3/include/private/qucom_p.h:307: warning: 'struct QUType_ptr' has
virtual functions but non-virtual destructor
/usr/lib/qt3/include/private/qucom_p.h:326: warning: 'struct QUType_iface' has
virtual functions but non-virtual destructor
/usr/lib/qt3/include/private/qucom_p.h:345: warning: 'struct QUType_idisp' has
virtual functions but non-virtual destructor
/usr/lib/qt3/include/private/qucom_p.h:364: warning: 'struct QUType_bool' has
virtual functions but non-virtual destructor
/usr/lib/qt3/include/private/qucom_p.h:383: warning: 'struct QUType_int' has
virtual functions but non-virtual destructor
/usr/lib/qt3/include/private/qucom_p.h:403: warning: 'struct QUType_double' has
virtual functions but non-virtual destructor
/usr/lib/qt3/include/private/qucom_p.h:423: warning: 'struct QUType_charstar'
has virtual functions but non-virtual destructor
/usr/lib/qt3/include/private/qucom_p.h:444: warning: 'struct QUType_QString'
has virtual functions but non-virtual destructor
/usr/lib/qt3/include/private/qucomextra_p.h:65: warning: 'struct
QUType_QVariant' has virtual functions but non-virtual destructor
/usr/lib/qt3/include/private/qucomextra_p.h:87: warning: 'struct QUType_varptr'
has virtual functions but non-virtual destructor
make[3]: *** [koeditordetails.lo] Error 1
make[3]: Leaving directory `/usr/local/tmp/kdepim-3.3.proko2.0.4/korganizer'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/tmp/kdepim-3.3.proko2.0.4/korganizer'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/tmp/kdepim-3.3.proko2.0.4'
make: *** [all] Error 2
Of course, this might be related to the brute-force change I made to resolve
the previous problem...
Anyway, given the nature of the error messages, I *think* it's not just a
missing file on the SuSE 10.0 system but rather a buglet that collides with the
SuSE 10.0 compiler setup (gcc 4). If you need any additional information,
please let me know.
----------
messages: 6213
nosy: itsef_admin
status: unread
title: Compile of kde-client fails on SuSE 10.0
________________________________________________
Kolab issue tracker <kolab-issues at intevation.de>
<https://intevation.de/roundup/kolab/issue1071>
________________________________________________
More information about the devel
mailing list