Summary: | emerge kdebase-3.4.2-r1 fails with undefined type error. | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Aakash <aakash.chopra> |
Component: | [OLD] KDE | Assignee: | Gentoo KDE team <kde> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Compilation Error. |
Description
Aakash
2005-10-12 22:18:16 UTC
Created attachment 70530 [details]
Compilation Error.
Which version of Qt do you have? Can you try recompiling kdelibs? This can be related to bug 81066. (see https://bugs.kde.org/show_bug.cgi?id=94803) Here are the things I've tried before filing this bug: * emerged qt followed by emerge kde - this results in the same exact issue. * emerge unmerge all things kde (or so I think), including kdelibs, and then emerge kde - this also results in the same issue. Currently I have: * x11-libs/qt Latest version available: 3.3.4-r8 Latest version installed: 3.3.4-r8 For a sanity check, per your suggestion, I re-emerged kdelibs, and then tried to emerge kde again but I get the same exact error. Regarding https://bugs.kde.org/show_bug.cgi?id=94803) are you suggesting I modify the code (as the kde bug description does), and use a portage overlay to build? Same issue occurs with kdebase-3.4.3: kcookiesmanagementdlg_ui.cpp: In constructor `KCookiesManagementDlgUI::KCookiesManagementDlgUI(QWidget*, const char*, uint)': kcookiesmanagementdlg_ui.cpp:77: error: invalid use of undefined type `struct KListViewSearchLine' kcookiesmanagementdlg_ui.h:25: error: forward declaration of `struct KListViewSearchLine' kcookiesmanagementdlg_ui.cpp:78: error: no matching function for call to `QHBoxLayout::addWidget(KListViewSearchLine*&)' /usr/qt/3/include/qlayout.h:386: note: candidates are: void QBoxLayout::addWidget(QWidget*, int, int) kdebase-3.4.3-r1 doesn't seem to fix this either... kcookiesmanagementdlg_ui.cpp: In constructor `KCookiesManagementDlgUI::KCookiesManagementDlgUI(QWidget*, const char*, uint)': kcookiesmanagementdlg_ui.cpp:77: error: invalid use of undefined type `struct KListViewSearchLine' Alright, finally got kdebase-3.4.3-r1 to compile. Apparently kde-widgets support was somehow missing from qt... I think adding the path /usr/kde/3.4/lib/kde3/plugins/ to "Library Paths" in qtconfig solved the problem, not entirely sure though I used this as a reference - http://bugs.kde.org/show_bug.cgi?id=94803 My guess is that it's a parallel make error. I can't re-create it, though. |