Bug 176984 - akonadi does not build without nepomuk
Summary: akonadi does not build without nepomuk
Status: RESOLVED FIXED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: server (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Volker Krause
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-05 15:45 UTC by kavol
Modified: 2009-01-06 19:24 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kavol 2008-12-05 15:45:47 UTC
Version:           4.1.80 (using Devel)
Compiler:          gcc version 4.1.2 (Gentoo 4.1.2 p1.0.2) 
OS:                Linux
Installed from:    Compiled sources

Hi.

When trying to build KDE with nepomuk support disabled, I am getting this build error when it comes to akonadi:

[snip]
-----------------------------------------------------------------------------
-- The following OPTIONAL packages could NOT be located on your system.
-- Consider installing them to enable more features from this software.
+ opensync, 0.38 or greater or higher: OpenSync Development Libraries <http://www.opensync.org>
Needed to provide syncing functionality in KDE PIM applications. Necessary to compile kitchensync.
+ glib2, 2.x or higher: Low-level core library for data structure handling, portability wrappers, etc. <http://www.gtk.org>
Needed to provide synching applications from KDE PIM applications. Necessary to compile kitchensync and other PIM applications.
+ gnokii: Gnokii Development Libraries <http://www.gnokii.org>
Needed to provide the ability to import and export KDE addressbook entries to/from mobile phones that are accessible via gnokii
+ Soprano: Semantic Desktop Storing <>
Soprano is needed for Nepomuk
+ Nepomuk: Nepomuk <http://www.kde.org>
For adding desktop-wide tagging support to kmail
+ Soprano: Semantic Desktop Storing <>
Soprano is needed for Nepomuk
-----------------------------------------------------------------------------
[snip]
 [0m[ 51%]  [34m [1mGenerating resourceadaptor.moc
 [0m [34m [1mGenerating distlistresource.moc
 [0m [34m [1mGenerating singlefileresourcebase.moc
 [0m/var/tmp/portage/kde-base/akonadi-4.1.80/work/akonadi_build/akonadi/resources/nepomuktag/resourceadaptor.h:0: Warning: No relevant classes found. No output generated.
 [35m [1mScanning dependencies of target akonadi_nepomuktag_resource
 [34m [1mGenerating moc_singlefileresourceconfigdialogbase.cpp
 [0m [0m[ 51%]  [32mBuilding CXX object akonadi/resources/nepomuktag/CMakeFiles/akonadi_nepomuktag_resource.dir/nepomuktagresource.o
 [0m[ 52%] /var/tmp/portage/kde-base/akonadi-4.1.80/work/akonadi-4.1.80/akonadi/resources/nepomuktag/nepomuktagresource.cpp:30:25: error: nepomuk/tag.h: není souborem ani adresářem
 [34m [1mGenerating ui_singlefileresourceconfigdialog.h
 [0m[ 52%]  [34m [1mGenerating settings.h, settings.cpp
 [0m[ 53%]  [34m [1mGenerating settingsadaptor.cpp, settingsadaptor.h
 [0m[ 53%]  [34m [1mGenerating settingsadaptor.moc
 [0m [35m [1mScanning dependencies of target akonadi_distlist_resource
/var/tmp/portage/kde-base/akonadi-4.1.80/work/akonadi-4.1.80/akonadi/resources/nepomuktag/nepomuktagresource.cpp: In member function ‘virtual void NepomukTagResource::retrieveCollections()’:
/var/tmp/portage/kde-base/akonadi-4.1.80/work/akonadi-4.1.80/akonadi/resources/nepomuktag/nepomuktagresource.cpp:68: error: ‘Nepomuk’ was not declared in this scope
/var/tmp/portage/kde-base/akonadi-4.1.80/work/akonadi-4.1.80/akonadi/resources/nepomuktag/nepomuktagresource.cpp:68: error: template argument 1 is invalid
/var/tmp/portage/kde-base/akonadi-4.1.80/work/akonadi-4.1.80/akonadi/resources/nepomuktag/nepomuktagresource.cpp:68: error: invalid type in declaration before ‘=’ token
/var/tmp/portage/kde-base/akonadi-4.1.80/work/akonadi-4.1.80/akonadi/resources/nepomuktag/nepomuktagresource.cpp:68: error: ‘Nepomuk’ is not a class or namespace
[snip]

so it does not find Nepomuk in the configure phase, but it still tries to use files like "nepomuk/tag.h" that are not found

the complete build log can be found here: http://bugs.gentoo.org/attachment.cgi?id=174147&action=edit
Comment 1 Volker Krause 2008-12-07 12:01:54 UTC
SVN commit 893719 by vkrause:

Also build without Nepomuk.

BUG: 176984


 M  +0 -2      clients/akonadiconsole/CMakeLists.txt  
 M  +4 -0      resources/nepomuktag/CMakeLists.txt  


WebSVN link: http://websvn.kde.org/?view=rev&revision=893719
Comment 2 kavol 2009-01-06 19:24:04 UTC
thanks, just tried with 4.1.87 and it compiles fine even without Nepomuk