Bug 195855 - kget fails to build because of the new system tray
Summary: kget fails to build because of the new system tray
Status: RESOLVED WORKSFORME
Alias: None
Product: kget
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: KGet authors
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-10 10:18 UTC by Ignat Semenov
Modified: 2009-06-11 21:42 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ignat Semenov 2009-06-10 10:18:56 UTC
Version:            (using Devel)
Compiler:          gcc 4.3.1 
OS:                Linux
Installed from:    Compiled sources

KGet (from kdenetwork rev 979374, KDE is rev 979562 ) fails to build with the following error:

In file included from /home/kde-devel/kde/sources/trunk/KDE/kdenetwork/kget/core/kget.cpp:16:
/home/kde-devel/kde/sources/trunk/KDE/kdenetwork/kget/mainwindow.h:21:31: error: knotificationitem.h: No such file or directory
In file included from /home/kde-devel/kde/sources/trunk/KDE/kdenetwork/kget/ui/tray.h:17,
                 from /home/kde-devel/kde/sources/trunk/KDE/kdenetwork/kget/mainwindow.h:23,
                 from /home/kde-devel/kde/sources/trunk/KDE/kdenetwork/kget/core/kget.cpp:16:
/home/kde-devel/kde/sources/trunk/KDE/kdenetwork/kget/ui/tray_newproto.h:29: error: ‘Experimental’ has not been declared
/home/kde-devel/kde/sources/trunk/KDE/kdenetwork/kget/ui/tray_newproto.h:29: error: expected `{' before ‘KNotificationItem’
/home/kde-devel/kde/sources/trunk/KDE/kdenetwork/kget/ui/tray_newproto.h:29: error: function definition does not declare parameters
Comment 1 Dario Andres 2009-06-10 21:00:27 UTC
This may be related or not: at some point kdelibs (or the old Libknotificationarea ) installed a cmake file in the $INSTALLDIR. This file was later removed from the SVN, but if you didn't cleaned up your installation dir first you may experience some compiling errors. I don't know if this is the case. 
Just ensure to update your builds and to clean your KDE trunk installation dir before reinstalling to remove old orphaned files.
Thanks
Comment 2 Christoph Feck 2009-06-11 17:47:26 UTC
Please remove KDEDIR/share/apps/cmake/modules/FindLibKNotificationItem-1.cmake and run cmake again (remove CMakeCache.txt to make it redetect components).
Comment 3 g111 2009-06-11 20:31:29 UTC
Thank you, Christoph, your suggestion did help here. IMHO this report can be closed.