Hello, kdebase-3.0.4-r3 fails to build for me. I get the following error: keyecandypagedlg.cpp: In method `KEyeCandyPageDlg::KEyeCandyPageDlg(QWidget * = 0, const char * = 0, unsigned int = 0)': keyecandypagedlg.cpp:86: invalid use of undefined type `class KListView' keyecandypagedlg.h:18: forward declaration of `class KListView' keyecandypagedlg.cpp:88: no matching function for call to `QGridLayout::addWidget (KListView *&, int, int)' /usr/qt/3/include/qlayout.h:323: candidates are: void QGridLayout::addWidget(QWidget *, int, int, int = 0) make[3]: *** [keyecandypagedlg.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory `/var/tmp/portage/kdebase-3.0.4-r3/work/kdebase-3.0.4/kpersonalizer' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/kdebase-3.0.4-r3/work/kdebase-3.0.4/kpersonalizer' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/kdebase-3.0.4-r3/work/kdebase-3.0.4' make: *** [all] Error 2 !!! ERROR: kde-base/kdebase-3.0.4-r3 failed. !!! Function kde_src_compile, Line -8427, Exitcode 2 !!! died running emake, kde_src_compile:make I am building this against QT 3.1.0-r1. Any help is greatly appreciated.
That's because kdelibs has been build against QT3.0.x, re-emerge kdelibs first, after that emerge kdebase.
I have the identical build failure. QT is version 3.1.0-r1
please 'emerge kdelibs kdebase' as Michiel de Bruijne said in comment #1.
you still have this problem? anyone tried 'emerge kdelibs kdebase'?
No, this worked nicely for me. Thank you Michiel and Hannes.
running "emerge kdelibs kdebase" DID work successfully, but not just "emerge kdebase", or "emerge world --update". Suggest adjusting that ebuild so that it forces a rebuild of kdelibs so this won't stop "emerge --update world" processes in the future..
This patch fixes the problem without needing to re-emerge kdelibs (which is painful) Patch: Stolen from a freebsd list http://lists.csociety.org/pipermail/kde-freebsd/2002-August/002392.html --- kpersonalizer/keyecandypagedlg.h.orig Fri Aug 2 11:46:07 2002 +++ kpersonalizer/keyecandypagedlg.h Fri Aug 2 11:46:22 2002 @@ -11,6 +11,7 @@ #include <qvariant.h> #include <qwidget.h> +#include <klistview.h> class QVBoxLayout; class QHBoxLayout; class QGridLayout;
*** Bug 12378 has been marked as a duplicate of this bug. ***
Todd: well, did you read the whole thread about this patch? this patch doesn't work. please read this thread why it doesn't work: http://article.gmane.org/gmane.linux.gentoo.devel/6140 esp: http://article.gmane.org/gmane.linux.gentoo.devel/6170 and http://article.gmane.org/gmane.linux.gentoo.devel/6173 thx.
an einfo about recompiling kdelibs after qt upgrade was added to qt-3.1.x ebuilds. closing this bug, as soon as portage supports a feature "after merging foo remerge bar", kdelibs will be forced to be recompiled if a major qt version upgrade is done. thanks.