This forum has been archived. All content is frozen. Please use KDE Discuss instead.

[SOLVED] problem compiling kdebase-workspace - google gadgets

Tags: None
(comma "," separated)
User avatar
ponce
Registered Member
Posts
17
Karma
0
OS
i've installed latest google gadgets from svn, r1021, as kdebase-workspace 4.1.81 requires (version >= 0.10.4), but I still cannot compile kb-w with ggadgets support

Code: Select all
Building CXX object plasma/scriptengines/google_gadgets/CMakeFiles/plasma_package_ggl.dir/ggl_package.o
[ 47%] Building CXX object plasma/scriptengines/qedjescript/CMakeFiles/plasma_appletscript_qedje.dir/qedje_applet.o
In file included from /usr/include/google-gadgets/ggadget/scriptable_interface.h:22,
                 from /usr/include/google-gadgets/ggadget/scriptable_helper.h:22,
                 from /usr/include/google-gadgets/ggadget/scriptable_menu.h:20,
                 from /usr/include/google-gadgets/ggadget/event.h:22,
                 from /usr/include/google-gadgets/ggadget/view_interface.h:20,
                 from /usr/include/google-gadgets/ggadget/view_host_interface.h:21,
                 from /usr/include/google-gadgets/ggadget/host_interface.h:22,
                 from /tmp/kdebase-workspace-4.1.81/plasma/scriptengines/google_gadgets/ggl_package.cpp:25:
/usr/include/google-gadgets/ggadget/variant.h:734: warning: unused parameter 'v'
In file included from /usr/include/google-gadgets/ggadget/scriptable_helper.h:23,
                 from /usr/include/google-gadgets/ggadget/scriptable_menu.h:20,
                 from /usr/include/google-gadgets/ggadget/event.h:22,
                 from /usr/include/google-gadgets/ggadget/view_interface.h:20,
                 from /usr/include/google-gadgets/ggadget/view_host_interface.h:21,
                 from /usr/include/google-gadgets/ggadget/host_interface.h:22,
                 from /tmp/kdebase-workspace-4.1.81/plasma/scriptengines/google_gadgets/ggl_package.cpp:25:/usr/include/google-gadgets/ggadget/signals.h:192: warning: unused parameter 'obj'
In file included from /usr/include/google-gadgets/ggadget/script_runtime_interface.h:20,
                 from /tmp/kdebase-workspace-4.1.81/plasma/scriptengines/google_gadgets/ggl_applet_script.cpp:33:
/usr/include/google-gadgets/ggadget/variant.h:734: warning: unused parameter 'v'
In file included from /tmp/kdebase-workspace-4.1.81/plasma/scriptengines/google_gadgets/ggl_package.cpp:34:
/usr/include/google-gadgets/ggadget/qt/qt_view_host.h:75: warning: unused parameter 'button'
/usr/include/google-gadgets/ggadget/qt/qt_view_host.h:75: warning: unused parameter 'hittest'
In file included from /usr/include/google-gadgets/ggadget/scriptable_helper.h:23,
                 from /usr/include/google-gadgets/ggadget/scriptable_menu.h:20,
                 from /usr/include/google-gadgets/ggadget/event.h:22,
                 from /usr/include/google-gadgets/ggadget/view_interface.h:20,
                 from /usr/include/google-gadgets/ggadget/qt/qt_view_widget.h:23,
                 from /tmp/kdebase-workspace-4.1.81/plasma/scriptengines/google_gadgets/ggl_applet_script.cpp:34:
/usr/include/google-gadgets/ggadget/signals.h:192: warning: unused parameter 'obj'
/tmp/kdebase-workspace-4.1.81/plasma/scriptengines/google_gadgets/ggl_package.cpp: In constructor 'GadgetBrowserViewHost::GadgetBrowserViewHost(GglPackage*, ggadget::ViewHostInterface::Type)':
/tmp/kdebase-workspace-4.1.81/plasma/scriptengines/google_gadgets/ggl_package.cpp:47: error: no matching function for call to 'ggadget::qt::QtViewHost::QtViewHost(ggadget::ViewHostInterface::Type&, double, bool,
bool, bool, int, NULL)'
/usr/include/google-gadgets/ggadget/qt/qt_view_host.h:91: note: candidates are: ggadget::qt::QtViewHost::QtViewHost(const ggadget::qt::QtViewHost&)
/usr/include/google-gadgets/ggadget/qt/qt_view_host.h:48: note:                 ggadget::qt::QtViewHost::QtViewHost(ggadget::ViewHostInterface::Type, double, QFlags, int, QWidget*)
/tmp/kdebase-workspace-4.1.81/plasma/scriptengines/google_gadgets/ggl_package.cpp: In member function 'virtual ggadget::Gadget* GadgetBrowserHost::LoadGadget(const char*, const char*, int, bool)':
/tmp/kdebase-workspace-4.1.81/plasma/scriptengines/google_gadgets/ggl_package.cpp:182: warning: no return statement in function returning non-void
/tmp/kdebase-workspace-4.1.81/plasma/scriptengines/google_gadgets/ggl_package.cpp: At global scope:
/tmp/kdebase-workspace-4.1.81/plasma/scriptengines/google_gadgets/ggl_package.cpp:241: warning: unused parameter 'parent'
In file included from /tmp/kdebase-workspace-4.1.81/plasma/scriptengines/google_gadgets/ggl_applet_script.cpp:35:
/usr/include/google-gadgets/ggadget/qt/qt_view_host.h:75: warning: unused parameter 'button'
/usr/include/google-gadgets/ggadget/qt/qt_view_host.h:75: warning: unused parameter 'hittest'
In file included from /usr/include/google-gadgets/ggadget/qt/qt_main_loop.h:5,
                 from /tmp/kdebase-workspace-4.1.81/plasma/scriptengines/google_gadgets/ggl_applet_script.cpp:38:
/usr/include/google-gadgets/ggadget/main_loop_interface.h:83: warning: unused parameter 'main_loop'
/usr/include/google-gadgets/ggadget/main_loop_interface.h:87: warning: unused parameter 'main_loop'
/usr/include/google-gadgets/ggadget/main_loop_interface.h:87: warning: unused parameter 'watch_id'
make[2]: *** [plasma/scriptengines/google_gadgets/CMakeFiles/plasma_package_ggl.dir/ggl_package.o] Error 1
make[1]: *** [plasma/scriptengines/google_gadgets/CMakeFiles/plasma_package_ggl.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 47%] Building CXX object plasma/scriptengines/google_gadgets/CMakeFiles/plasma_scriptengine_ggl.dir/plasma_host.o
/tmp/kdebase-workspace-4.1.81/plasma/scriptengines/google_gadgets/ggl_applet_script.cpp:132: warning: unused parameter 'p'
/tmp/kdebase-workspace-4.1.81/plasma/scriptengines/google_gadgets/ggl_applet_script.cpp:132: warning: unused parameter 'option'
/tmp/kdebase-workspace-4.1.81/plasma/scriptengines/google_gadgets/ggl_applet_script.cpp:132: warning: unused parameter 'contentsRect'
[ 47%] In file included from /usr/include/google-gadgets/ggadget/scriptable_interface.h:22,
                 from /usr/include/google-gadgets/ggadget/scriptable_helper.h:22,
                 from /usr/include/google-gadgets/ggadget/scriptable_menu.h:20,
                 from /usr/include/google-gadgets/ggadget/event.h:22,
                 from /usr/include/google-gadgets/ggadget/view_interface.h:20,
                 from /usr/include/google-gadgets/ggadget/qt/qt_view_host.h:24,
                 from /tmp/kdebase-workspace-4.1.81/plasma/scriptengines/google_gadgets/plasma_host.cpp:22:
/usr/include/google-gadgets/ggadget/variant.h:734: warning: unused parameter 'v'
Building CXX object plasma/scriptengines/google_gadgets/CMakeFiles/plasma_scriptengine_ggl.dir/plasma_view_host.o
In file included from /usr/include/google-gadgets/ggadget/scriptable_helper.h:23,
                 from /usr/include/google-gadgets/ggadget/scriptable_menu.h:20,
                 from /usr/include/google-gadgets/ggadget/event.h:22,
                 from /usr/include/google-gadgets/ggadget/view_interface.h:20,
                 from /usr/include/google-gadgets/ggadget/qt/qt_view_host.h:24,
                 from /tmp/kdebase-workspace-4.1.81/plasma/scriptengines/google_gadgets/plasma_host.cpp:22:
/usr/include/google-gadgets/ggadget/signals.h:192: warning: unused parameter 'obj'
In file included from /tmp/kdebase-workspace-4.1.81/plasma/scriptengines/google_gadgets/plasma_host.cpp:22:
/usr/include/google-gadgets/ggadget/qt/qt_view_host.h:75: warning: unused parameter 'button'
/usr/include/google-gadgets/ggadget/qt/qt_view_host.h:75: warning: unused parameter 'hittest'
/tmp/kdebase-workspace-4.1.81/plasma/scriptengines/google_gadgets/plasma_host.cpp:189: warning: unused parameter 'gadget'
/tmp/kdebase-workspace-4.1.81/plasma/scriptengines/google_gadgets/plasma_host.cpp:189: warning: unused parameter 'save_data'
/usr/include/google-gadgets/ggadget/slot.h: In instantiation of 'ggadget::ResultVariant ggadget::MethodSlot0::Call(ggadget::ScriptableInterface*, int, const ggadget::Variant*) const [with T = ggadget:
:PlasmaHost::Private, M = void (ggadget::PlasmaHost::Private::*)()]':
/tmp/kdebase-workspace-4.1.81/plasma/scriptengines/google_gadgets/plasma_host.cpp:320:   instantiated from here
/usr/include/google-gadgets/ggadget/slot.h:224: warning: unused parameter 'argv'
[ 47%] Building CXX object plasma/scriptengines/qedjescript/CMakeFiles/plasma_appletscript_qedje.dir/plasma_appletscript_qedje_automoc.o
In file included from /usr/include/google-gadgets/ggadget/scriptable_interface.h:22,
                 from /usr/include/google-gadgets/ggadget/scriptable_helper.h:22,
                 from /usr/include/google-gadgets/ggadget/scriptable_menu.h:20,
                 from /usr/include/google-gadgets/ggadget/event.h:22,
                 from /usr/include/google-gadgets/ggadget/view_interface.h:20,
                 from /usr/include/google-gadgets/ggadget/decorated_view_host.h:21,
                 from /tmp/kdebase-workspace-4.1.81/plasma/scriptengines/google_gadgets/plasma_view_host.cpp:28:
/usr/include/google-gadgets/ggadget/variant.h:734: warning: unused parameter 'v'
Linking CXX shared module ../../../lib/plasma_scriptengine_qscript.so
Linking CXX shared module ../../../lib/plasma_appletscript_qedje.so
In file included from /usr/include/google-gadgets/ggadget/scriptable_helper.h:23,
                 from /usr/include/google-gadgets/ggadget/scriptable_menu.h:20,
                 from /usr/include/google-gadgets/ggadget/event.h:22,
                 from /usr/include/google-gadgets/ggadget/view_interface.h:20,
                 from /usr/include/google-gadgets/ggadget/decorated_view_host.h:21,
                 from /tmp/kdebase-workspace-4.1.81/plasma/scriptengines/google_gadgets/plasma_view_host.cpp:28:
/usr/include/google-gadgets/ggadget/signals.h:192: warning: unused parameter 'obj'
/usr/lib/gcc/i486-slackware-linux/4.2.4/../../../../i486-slackware-linux/bin/ld: cannot find -lqedje
collect2: ld returned 1 exit status
make[2]: *** [lib/plasma_appletscript_qedje.so] Error 1
make[1]: *** [plasma/scriptengines/qedjescript/CMakeFiles/plasma_appletscript_qedje.dir/all] Error 2
[ 47%] Building CXX object plasma/scriptengines/google_gadgets/CMakeFiles/plasma_scriptengine_ggl.dir/panel_decorator.o
[ 47%] Building CXX object plasma/scriptengines/google_gadgets/CMakeFiles/plasma_scriptengine_ggl.dir/floating_decorator.o
[ 47%] Built target plasma_scriptengine_qscript
In file included from /tmp/kdebase-workspace-4.1.81/plasma/scriptengines/google_gadgets/plasma_view_host.cpp:36:
/tmp/kdebase-workspace-4.1.81/plasma/scriptengines/google_gadgets/plasma_view_host_internal.h: In member function 'bool ggadget::PlasmaViewHost::Private::showView(bool, int, ggadget::Slot1*)':
/tmp/kdebase-workspace-4.1.81/plasma/scriptengines/google_gadgets/plasma_view_host_internal.h:76: error: no matching function for call to 'ggadget::qt::QtViewWidget::QtViewWidget(ggadget::ViewInterface*&, bool, bool, bool, bool)'
/usr/include/google-gadgets/ggadget/qt/qt_view_widget.h:92: note: candidates are: ggadget::qt::QtViewWidget::QtViewWidget(const ggadget::qt::QtViewWidget&)
/usr/include/google-gadgets/ggadget/qt/qt_view_widget.h:41: note:                 ggadget::qt::QtViewWidget::QtViewWidget(ggadget::ViewInterface*, QFlags)
/tmp/kdebase-workspace-4.1.81/plasma/scriptengines/google_gadgets/plasma_view_host_internal.h:114: error: no matching function for call to 'ggadget::qt::QtViewWidget::QtViewWidget(ggadget::ViewInterface*&, bool, bool, bool, bool)'
/usr/include/google-gadgets/ggadget/qt/qt_view_widget.h:92: note: candidates are: ggadget::qt::QtViewWidget::QtViewWidget(const ggadget::qt::QtViewWidget&)
/usr/include/google-gadgets/ggadget/qt/qt_view_widget.h:41: note:                 ggadget::qt::QtViewWidget::QtViewWidget(ggadget::ViewInterface*, QFlags)
/tmp/kdebase-workspace-4.1.81/plasma/scriptengines/google_gadgets/plasma_view_host_internal.h:138: error: no matching function for call to 'ggadget::qt::QtViewWidget::QtViewWidget(ggadget::ViewInterface*&, bool, bool, bool, bool)'
/usr/include/google-gadgets/ggadget/qt/qt_view_widget.h:92: note: candidates are: ggadget::qt::QtViewWidget::QtViewWidget(const ggadget::qt::QtViewWidget&)
/usr/include/google-gadgets/ggadget/qt/qt_view_widget.h:41: note:                 ggadget::qt::QtViewWidget::QtViewWidget(ggadget::ViewInterface*, QFlags)
/tmp/kdebase-workspace-4.1.81/plasma/scriptengines/google_gadgets/plasma_view_host_internal.h: At global scope:
/tmp/kdebase-workspace-4.1.81/plasma/scriptengines/google_gadgets/plasma_view_host_internal.h:215: warning: unused parameter 'button'
/tmp/kdebase-workspace-4.1.81/plasma/scriptengines/google_gadgets/plasma_view_host.cpp:48: warning: unused parameter 'dw'
/tmp/kdebase-workspace-4.1.81/plasma/scriptengines/google_gadgets/plasma_view_host.cpp:48: warning: unused parameter 'dh'
/tmp/kdebase-workspace-4.1.81/plasma/scriptengines/google_gadgets/plasma_view_host.cpp:109: warning: unused parameter 'enable'
/tmp/kdebase-workspace-4.1.81/plasma/scriptengines/google_gadgets/plasma_view_host.cpp:126: warning: unused parameter 'always'
/tmp/kdebase-workspace-4.1.81/plasma/scriptengines/google_gadgets/plasma_view_host.cpp:144: warning: unused parameter 'tooltip'
/tmp/kdebase-workspace-4.1.81/plasma/scriptengines/google_gadgets/plasma_view_host.cpp:144: warning: unused parameter 'x'
/tmp/kdebase-workspace-4.1.81/plasma/scriptengines/google_gadgets/plasma_view_host.cpp:144: warning: unused parameter 'y'
/tmp/kdebase-workspace-4.1.81/plasma/scriptengines/google_gadgets/plasma_view_host.cpp:183: warning: unused parameter 'default_value'
make[2]: *** [plasma/scriptengines/google_gadgets/CMakeFiles/plasma_scriptengine_ggl.dir/plasma_view_host.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /usr/include/google-gadgets/ggadget/menu_interface.h:20,
                 from /tmp/kdebase-workspace-4.1.81/plasma/scriptengines/google_gadgets/panel_decorator.cpp:22:
/usr/include/google-gadgets/ggadget/variant.h:734: warning: unused parameter 'v'
In file included from /usr/include/google-gadgets/ggadget/menu_interface.h:20,
                 from /tmp/kdebase-workspace-4.1.81/plasma/scriptengines/google_gadgets/floating_decorator.cpp:22:
/usr/include/google-gadgets/ggadget/variant.h:734: warning: unused parameter 'v'
In file included from /usr/include/google-gadgets/ggadget/scriptable_helper.h:23,
                 from /usr/include/google-gadgets/ggadget/scriptable_menu.h:20,
                 from /usr/include/google-gadgets/ggadget/event.h:22,
                 from /usr/include/google-gadgets/ggadget/view_interface.h:20,
                 from /usr/include/google-gadgets/ggadget/decorated_view_host.h:21,
                 from /tmp/kdebase-workspace-4.1.81/plasma/scriptengines/google_gadgets/panel_decorator.cpp:23:
/usr/include/google-gadgets/ggadget/signals.h:192: warning: unused parameter 'obj'
In file included from /usr/include/google-gadgets/ggadget/scriptable_helper.h:23,
                 from /usr/include/google-gadgets/ggadget/scriptable_menu.h:20,
                 from /usr/include/google-gadgets/ggadget/event.h:22,
                 from /usr/include/google-gadgets/ggadget/view_interface.h:20,
                 from /usr/include/google-gadgets/ggadget/decorated_view_host.h:21,
                 from /tmp/kdebase-workspace-4.1.81/plasma/scriptengines/google_gadgets/floating_decorator.cpp:23:
/usr/include/google-gadgets/ggadget/signals.h:192: warning: unused parameter 'obj'
/tmp/kdebase-workspace-4.1.81/plasma/scriptengines/google_gadgets/panel_decorator.cpp: In member function 'void ggadget::PanelDecorator::Private::updateIconizeStatus()':
/tmp/kdebase-workspace-4.1.81/plasma/scriptengines/google_gadgets/panel_decorator.cpp:93: error: no matching function for call to 'ggadget::PanelDecorator::SetResizeBorderVisible(bool, bool, bool, bool)'
/usr/include/google-gadgets/ggadget/docked_main_view_decorator.h:37: note: candidates are: void ggadget::DockedMainViewDecorator::SetResizeBorderVisible(int)
/tmp/kdebase-workspace-4.1.81/plasma/scriptengines/google_gadgets/panel_decorator.cpp:96: error: no matching function for call to 'ggadget::PanelDecorator::SetResizeBorderVisible(bool, bool, bool, bool)'
/usr/include/google-gadgets/ggadget/docked_main_view_decorator.h:37: note: candidates are: void ggadget::DockedMainViewDecorator::SetResizeBorderVisible(int)
/tmp/kdebase-workspace-4.1.81/plasma/scriptengines/google_gadgets/panel_decorator.cpp: In member function 'void ggadget::PanelDecorator::setVertical()':
/tmp/kdebase-workspace-4.1.81/plasma/scriptengines/google_gadgets/panel_decorator.cpp:163: error: no matching function for call to 'ggadget::PanelDecorator::SetResizeBorderVisible(bool, bool, bool&, bool)'
/usr/include/google-gadgets/ggadget/docked_main_view_decorator.h:37: note: candidates are: void ggadget::DockedMainViewDecorator::SetResizeBorderVisible(int)
/tmp/kdebase-workspace-4.1.81/plasma/scriptengines/google_gadgets/panel_decorator.cpp: In member function 'void ggadget::PanelDecorator::setHorizontal()':
/tmp/kdebase-workspace-4.1.81/plasma/scriptengines/google_gadgets/panel_decorator.cpp:180: error: no matching function for call to 'ggadget::PanelDecorator::SetResizeBorderVisible(bool, bool, bool, bool&)'
/usr/include/google-gadgets/ggadget/docked_main_view_decorator.h:37: note: candidates are: void ggadget::DockedMainViewDecorator::SetResizeBorderVisible(int)
make[2]: *** [plasma/scriptengines/google_gadgets/CMakeFiles/plasma_scriptengine_ggl.dir/panel_decorator.o] Error 1
make[1]: *** [plasma/scriptengines/google_gadgets/CMakeFiles/plasma_scriptengine_ggl.dir/all] Error 2
make: *** [all] Error 2
kdebase-workspace failed to build.


is there a particular revision of google-gadgets needed?
tnx very much in advance, any hint is welcomed.

Last edited by ponce on Thu Jan 22, 2009 4:43 pm, edited 1 time in total.


ponce, proud to be a member of KDE forums since 2008-Dec.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
I would svn up the kdebase-workspace module. It looks like there have been some API changes in Google Gadgets Qt framework, which have had a knock on effect into Plasma. It is more than likely that the problem could already have been fixed in SVN. If it hasn't I would recommend asking on plasma-devel about the problem, if the problem has persisted for several days and a svn up has not solved the problem.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
ponce
Registered Member
Posts
17
Karma
0
OS
tnx, I simply disabled it and moving on with compiling the rest: I'll try again on beta2. ;-)

Last edited by ponce on Tue Dec 02, 2008 5:28 pm, edited 1 time in total.


ponce, proud to be a member of KDE forums since 2008-Dec.


Bookmarks



Who is online

Registered users: Bing [Bot], Evergrowing, Google [Bot], rblackwell