Bug 201640 - Opportunity to compile digiKam without Nepomuk service
Summary: Opportunity to compile digiKam without Nepomuk service
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Portability-Compilation (show other bugs)
Version: 1.0.0
Platform: Compiled Sources Linux
: NOR wishlist
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-27 10:27 UTC by Rafal Lalik
Modified: 2017-08-19 20:57 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 1.0.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rafal Lalik 2009-07-27 10:27:08 UTC
Version:           1.0.0-beta3 (using Devel)
OS:                Linux
Installed from:    Compiled sources

In general my system doesn't support Nepomuk. Thus I don't have any Nepomuk libraries. Trying to install digikam fails in three points:

1. cmake:

digikam-1.0.0-beta3 # cmake .
-- Found Qt-Version 4.5.2 (using /usr/bin/qmake)
-- Found X11: /usr/lib64/libX11.so
-- Phonon Version: 4.3.50
-- Found KDE 4.3 include dir: /usr/include
-- Found KDE 4.3 library dir: /usr/lib64
-- Found the KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler
-- Found automoc4: /usr/bin/automoc4
-- Found lcms version 1.18, /usr/lib64/liblcms.so
-- Found Kdcraw library in cache: /usr/lib64/libkdcraw.so
-- Found Kexiv2 library in cache: /usr/lib64/libkexiv2.so
-- Found Kipi library in cache: /usr/lib64/libkipi.so
-- Found gphoto2: -L/usr/lib64 -lgphoto2_port;-L/usr/lib64 -lgphoto2 -lgphoto2_port -lm
-- Found Soprano version 2.2.4: /usr/lib64/libsoprano.so
-- Found Soprano includes: /usr/include
-- Found Soprano Index: /usr/lib64/libsopranoindex.so
-- Found Soprano Client: /usr/lib64/libsopranoclient.so
-- Found Soprano Plugin Dir: /usr/share/soprano/plugins
-- Found Soprano Plugins: nquadparser nquadserializer raptorparser raptorserializer redlandbackend
-- Configuring incomplete, errors occurred!

2. 'cmake' second try

digikam-1.0.0-beta3 # cmake -DWITH_Soprano=OFF .
-- Found Qt-Version 4.5.2 (using /usr/bin/qmake)
-- Found X11: /usr/lib64/libX11.so
-- Phonon Version: 4.3.50
-- Found KDE 4.3 include dir: /usr/include
-- Found KDE 4.3 library dir: /usr/lib64
-- Found the KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler
-- Found automoc4: /usr/bin/automoc4
-- Found lcms version 1.18, /usr/lib64/liblcms.so
-- Found Kdcraw library in cache: /usr/lib64/libkdcraw.so
-- Found Kexiv2 library in cache: /usr/lib64/libkexiv2.so
-- Found Kipi library in cache: /usr/lib64/libkipi.so
-- Found gphoto2: -L/usr/lib64 -lgphoto2_port;-L/usr/lib64 -lgphoto2 -lgphoto2_port -lm
-- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig
-- PKGCONFIG() indicates that lensfun is not installed (install the package which contains lensfun.pc if you want to support this feature)
-- Could NOT find LensFun  (missing:  LENSFUN_INCLUDE_DIRS LENSFUN_LIBRARIES)
-- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig
-- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig
-- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig
Thumbs DB:1/usr/portage/distfiles/digikam-1.0.0-beta3
-- 
-- ----------------------------------------------------------------------------------
--  digiKam 1.0.0-beta3 dependencies results   <http://www.digikam.org>
-- 
--  Qt4 SQL module found................ YES
--  libjpeg library found............... YES
--  libtiff library found............... YES
--  libpng library found................ YES
--  libjasper library found............. YES
--  liblcms library found............... YES
--  libkipi library found............... YES
--  libkexiv2 library found............. YES
--  libkdcraw library found............. YES
--  libgphoto2 library found............ YES
--  libkdepimlibs library found......... YES (optional)
--  libmarblewidget library found....... NO  (optional)
-- 
--  digiKam will be compiled without geolocation using Marble widget support.
-- 
--  liblensfun library found............ NO  (optional)
-- 
--  digiKam will be compiled without lens auto-correction image editor tool.
-- 
--  libglib2 library found.............. YES (optional)
--  liblqr-1 library found.............. YES (optional)
--  digiKam will be compiled............ YES
-- ----------------------------------------------------------------------------------
-- 
-- Adjusting compilation flags for GCC version ( 4.3.3 )
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
NEPOMUK_INCLUDE_DIR (ADVANCED)
   used as include directory in directory /usr/portage/distfiles/digikam-1.0.0-beta3
   used as include directory in directory /usr/portage/distfiles/digikam-1.0.0-beta3/data
   used as include directory in directory /usr/portage/distfiles/digikam-1.0.0-beta3/data/themes
   used as include directory in directory /usr/portage/distfiles/digikam-1.0.0-beta3/data/icons
   used as include directory in directory /usr/portage/distfiles/digikam-1.0.0-beta3/data/icons/apps
   used as include directory in directory /usr/portage/distfiles/digikam-1.0.0-beta3/data/icons/digikam
   used as include directory in directory /usr/portage/distfiles/digikam-1.0.0-beta3/data/pics
   used as include directory in directory /usr/portage/distfiles/digikam-1.0.0-beta3/data/about
   used as include directory in directory /usr/portage/distfiles/digikam-1.0.0-beta3/libs
   used as include directory in directory /usr/portage/distfiles/digikam-1.0.0-beta3/libs/curves
   used as include directory in directory /usr/portage/distfiles/digikam-1.0.0-beta3/libs/levels
   used as include directory in directory /usr/portage/distfiles/digikam-1.0.0-beta3/libs/histogram
   used as include directory in directory /usr/portage/distfiles/digikam-1.0.0-beta3/libs/dmetadata
   used as include directory in directory /usr/portage/distfiles/digikam-1.0.0-beta3/libs/dimg
   used as include directory in directory /usr/portage/distfiles/digikam-1.0.0-beta3/libs/dimg/filters
   used as include directory in directory /usr/portage/distfiles/digikam-1.0.0-beta3/libs/greycstoration
   used as include directory in directory /usr/portage/distfiles/digikam-1.0.0-beta3/libs/dialogs
   used as include directory in directory /usr/portage/distfiles/digikam-1.0.0-beta3/libs/widgets
   used as include directory in directory /usr/portage/distfiles/digikam-1.0.0-beta3/libs/widgets/common
   used as include directory in directory /usr/portage/distfiles/digikam-1.0.0-beta3/libs/widgets/iccprofiles
   used as include directory in directory /usr/portage/distfiles/digikam-1.0.0-beta3/libs/widgets/imageplugins
   used as include directory in directory /usr/portage/distfiles/digikam-1.0.0-beta3/libs/widgets/metadata
   used as include directory in directory /usr/portage/distfiles/digikam-1.0.0-beta3/libs/database
   used as include directory in directory /usr/portage/distfiles/digikam-1.0.0-beta3/libs/template
   used as include directory in directory /usr/portage/distfiles/digikam-1.0.0-beta3/utilities
   used as include directory in directory /usr/portage/distfiles/digikam-1.0.0-beta3/utilities/scripts
   used as include directory in directory /usr/portage/distfiles/digikam-1.0.0-beta3/utilities/setup
   used as include directory in directory /usr/portage/distfiles/digikam-1.0.0-beta3/utilities/imageeditor
   used as include directory in directory /usr/portage/distfiles/digikam-1.0.0-beta3/utilities/imageeditor/rawimport
   used as include directory in directory /usr/portage/distfiles/digikam-1.0.0-beta3/utilities/imageeditor/canvas
   used as include directory in directory /usr/portage/distfiles/digikam-1.0.0-beta3/utilities/imageeditor/editor
   used as include directory in directory /usr/portage/distfiles/digikam-1.0.0-beta3/utilities/imageeditor/printiface
   used as include directory in directory /usr/portage/distfiles/digikam-1.0.0-beta3/utilities/hotplug
   used as include directory in directory /usr/portage/distfiles/digikam-1.0.0-beta3/utilities/batch
   used as include directory in directory /usr/portage/distfiles/digikam-1.0.0-beta3/utilities/kipiiface
   used as include directory in directory /usr/portage/distfiles/digikam-1.0.0-beta3/utilities/lighttable
   used as include directory in directory /usr/portage/distfiles/digikam-1.0.0-beta3/utilities/cameragui
   used as include directory in directory /usr/portage/distfiles/digikam-1.0.0-beta3/utilities/fuzzysearch
   used as include directory in directory /usr/portage/distfiles/digikam-1.0.0-beta3/utilities/searchwindow
   used as include directory in directory /usr/portage/distfiles/digikam-1.0.0-beta3/utilities/gpssearch
   used as include directory in directory /usr/portage/distfiles/digikam-1.0.0-beta3/utilities/timeline
   used as include directory in directory /usr/portage/distfiles/digikam-1.0.0-beta3/utilities/queuemanager
   used as include directory in directory /usr/portage/distfiles/digikam-1.0.0-beta3/utilities/firstrun
   used as include directory in directory /usr/portage/distfiles/digikam-1.0.0-beta3/digikam
   used as include directory in directory /usr/portage/distfiles/digikam-1.0.0-beta3/kioslave
   used as include directory in directory /usr/portage/distfiles/digikam-1.0.0-beta3/showfoto
   used as include directory in directory /usr/portage/distfiles/digikam-1.0.0-beta3/showfoto/setup
   used as include directory in directory /usr/portage/distfiles/digikam-1.0.0-beta3/imageplugins
   used as include directory in directory /usr/portage/distfiles/digikam-1.0.0-beta3/imageplugins/adjustcurves
   used as include directory in directory /usr/portage/distfiles/digikam-1.0.0-beta3/imageplugins/adjustlevels
   used as include directory in directory /usr/portage/distfiles/digikam-1.0.0-beta3/imageplugins/blurfx
   used as include directory in directory /usr/portage/distfiles/digikam-1.0.0-beta3/imageplugins/border
   used as include directory in directory /usr/portage/distfiles/digikam-1.0.0-beta3/imageplugins/border/patterns
   used as include directory in directory /usr/portage/distfiles/digikam-1.0.0-beta3/imageplugins/channelmixer
   used as include directory in directory /usr/portage/distfiles/digikam-1.0.0-beta3/imageplugins/charcoal
   used as include directory in directory /usr/portage/distfiles/digikam-1.0.0-beta3/imageplugins/colorfx
   used as include directory in directory /usr/portage/distfiles/digikam-1.0.0-beta3/imageplugins/coreplugin
   used as include directory in directory /usr/portage/distfiles/digikam-1.0.0-beta3/imageplugins/distortionfx
   used as include directory in directory /usr/portage/distfiles/digikam-1.0.0-beta3/imageplugins/emboss
   used as include directory in directory /usr/portage/distfiles/digikam-1.0.0-beta3/imageplugins/filmgrain
   used as include directory in directory /usr/portage/distfiles/digikam-1.0.0-beta3/imageplugins/freerotation
   used as include directory in directory /usr/portage/distfiles/digikam-1.0.0-beta3/imageplugins/hotpixels
   used as include directory in directory /usr/portage/distfiles/digikam-1.0.0-beta3/imageplugins/infrared
   used as include directory in directory /usr/portage/distfiles/digikam-1.0.0-beta3/imageplugins/inpainting
   used as include directory in directory /usr/portage/distfiles/digikam-1.0.0-beta3/imageplugins/inserttext
   used as include directory in directory /usr/portage/distfiles/digikam-1.0.0-beta3/imageplugins/lenscorrection
   used as include directory in directory /usr/portage/distfiles/digikam-1.0.0-beta3/imageplugins/noisereduction
   used as include directory in directory /usr/portage/distfiles/digikam-1.0.0-beta3/imageplugins/oilpaint
   used as include directory in directory /usr/portage/distfiles/digikam-1.0.0-beta3/imageplugins/perspective
   used as include directory in directory /usr/portage/distfiles/digikam-1.0.0-beta3/imageplugins/raindrop
   used as include directory in directory /usr/portage/distfiles/digikam-1.0.0-beta3/imageplugins/restoration
   used as include directory in directory /usr/portage/distfiles/digikam-1.0.0-beta3/imageplugins/sheartool
   used as include directory in directory /usr/portage/distfiles/digikam-1.0.0-beta3/imageplugins/superimpose
   used as include directory in directory /usr/portage/distfiles/digikam-1.0.0-beta3/imageplugins/texture
   used as include directory in directory /usr/portage/distfiles/digikam-1.0.0-beta3/imageplugins/texture/patterns
   used as include directory in directory /usr/portage/distfiles/digikam-1.0.0-beta3/imageplugins/whitebalance
   used as include directory in directory /usr/portage/distfiles/digikam-1.0.0-beta3/imageplugins/contentawareresizing
   used as include directory in directory /usr/portage/distfiles/digikam-1.0.0-beta3/po
   used as include directory in directory /usr/portage/distfiles/digikam-1.0.0-beta3/po/be
   used as include directory in directory /usr/portage/distfiles/digikam-1.0.0-beta3/po/ar
   used as include directory in directory /usr/portage/distfiles/digikam-1.0.0-beta3/po/bg
   used as include directory in directory /usr/portage/distfiles/digikam-1.0.0-beta3/po/ca
   used as include directory in directory /usr/portage/distfiles/digikam-1.0.0-beta3/po/da
   used as include directory in directory /usr/portage/distfiles/digikam-1.0.0-beta3/po/de
   used as include directory in directory /usr/portage/distfiles/digikam-1.0.0-beta3/po/cs
   used as include directory in directory /usr/portage/distfiles/digikam-1.0.0-beta3/po/el
   used as include directory in directory /usr/portage/distfiles/digikam-1.0.0-beta3/po/fa
   used as include directory in directory /usr/portage/distfiles/digikam-1.0.0-beta3/po/es
   used as include directory in directory /usr/portage/distfiles/digikam-1.0.0-beta3/po/et
   used as include directory in directory /usr/portage/distfiles/digikam-1.0.0-beta3/po/fi
   used as include directory in directory /usr/portage/distfiles/digikam-1.0.0-beta3/po/eu
   used as include directory in directory /usr/portage/distfiles/digikam-1.0.0-beta3/po/ga
   used as include directory in directory /usr/portage/distfiles/digikam-1.0.0-beta3/po/fr
   used as include directory in directory /usr/portage/distfiles/digikam-1.0.0-beta3/po/gl
   used as include directory in directory /usr/portage/distfiles/digikam-1.0.0-beta3/po/he
   used as include directory in directory /usr/portage/distfiles/digikam-1.0.0-beta3/po/hi
   used as include directory in directory /usr/portage/distfiles/digikam-1.0.0-beta3/po/ja
   used as include directory in directory /usr/portage/distfiles/digikam-1.0.0-beta3/po/is
   used as include directory in directory /usr/portage/distfiles/digikam-1.0.0-beta3/po/it
   used as include directory in directory /usr/portage/distfiles/digikam-1.0.0-beta3/po/km
   used as include directory in directory /usr/portage/distfiles/digikam-1.0.0-beta3/po/ko
   used as include directory in directory /usr/portage/distfiles/digikam-1.0.0-beta3/po/lt
   used as include directory in directory /usr/portage/distfiles/digikam-1.0.0-beta3/po/lv
   used as include directory in directory /usr/portage/distfiles/digikam-1.0.0-beta3/po/nb
   used as include directory in directory /usr/portage/distfiles/digikam-1.0.0-beta3/po/ne
   used as include directory in directory /usr/portage/distfiles/digikam-1.0.0-beta3/po/nl
   used as include directory in directory /usr/portage/distfiles/digikam-1.0.0-beta3/po/nn
   used as include directory in directory /usr/portage/distfiles/digikam-1.0.0-beta3/po/pa
   used as include directory in directory /usr/portage/distfiles/digikam-1.0.0-beta3/po/pl
   used as include directory in directory /usr/portage/distfiles/digikam-1.0.0-beta3/po/pt
   used as include directory in directory /usr/portage/distfiles/digikam-1.0.0-beta3/po/ro
   used as include directory in directory /usr/portage/distfiles/digikam-1.0.0-beta3/po/se
   used as include directory in directory /usr/portage/distfiles/digikam-1.0.0-beta3/po/ru
   used as include directory in directory /usr/portage/distfiles/digikam-1.0.0-beta3/po/sk
   used as include directory in directory /usr/portage/distfiles/digikam-1.0.0-beta3/po/sl
   used as include directory in directory /usr/portage/distfiles/digikam-1.0.0-beta3/po/th
   used as include directory in directory /usr/portage/distfiles/digikam-1.0.0-beta3/po/sv
   used as include directory in directory /usr/portage/distfiles/digikam-1.0.0-beta3/po/tr
   used as include directory in directory /usr/portage/distfiles/digikam-1.0.0-beta3/po/uk
   used as include directory in directory /usr/portage/distfiles/digikam-1.0.0-beta3/po/vi
   used as include directory in directory /usr/portage/distfiles/digikam-1.0.0-beta3/po/hne
   used as include directory in directory /usr/portage/distfiles/digikam-1.0.0-beta3/po/nds
   used as include directory in directory /usr/portage/distfiles/digikam-1.0.0-beta3/po/en_GB
   used as include directory in directory /usr/portage/distfiles/digikam-1.0.0-beta3/po/pt_BR
   used as include directory in directory /usr/portage/distfiles/digikam-1.0.0-beta3/po/zh_CN
   used as include directory in directory /usr/portage/distfiles/digikam-1.0.0-beta3/po/zh_TW
NEPOMUK_LIBRARIES (ADVANCED)
    linked by target "digikamnepomukservice" in directory /usr/portage/distfiles/digikam-1.0.0-beta3/digikam

-- Configuring incomplete, errors occurred!

3. third try

digikam-1.0.0-beta3 # cmake -DWITH_Soprano=OFF -DNEPOMUK_LIBRARIES=NONE -DNEPOMUK_INCLUDE_DIR=NONE .
-- Found Qt-Version 4.5.2 (using /usr/bin/qmake)
-- Found X11: /usr/lib64/libX11.so
-- Phonon Version: 4.3.50
-- Found KDE 4.3 include dir: /usr/include
-- Found KDE 4.3 library dir: /usr/lib64
-- Found the KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler
-- Found automoc4: /usr/bin/automoc4
-- Found lcms version 1.18, /usr/lib64/liblcms.so
-- Found Kdcraw library in cache: /usr/lib64/libkdcraw.so
-- Found Kexiv2 library in cache: /usr/lib64/libkexiv2.so
-- Found Kipi library in cache: /usr/lib64/libkipi.so
-- Found gphoto2: -L/usr/lib64 -lgphoto2_port;-L/usr/lib64 -lgphoto2 -lgphoto2_port -lm
-- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig
-- PKGCONFIG() indicates that lensfun is not installed (install the package which contains lensfun.pc if you want to support this feature)
-- Could NOT find LensFun  (missing:  LENSFUN_INCLUDE_DIRS LENSFUN_LIBRARIES)
-- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig
-- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig
-- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig
-- 
-- ----------------------------------------------------------------------------------
--  digiKam 1.0.0-beta3 dependencies results   <http://www.digikam.org>
-- 
--  Qt4 SQL module found................ YES
--  libjpeg library found............... YES
--  libtiff library found............... YES
--  libpng library found................ YES
--  libjasper library found............. YES
--  liblcms library found............... YES
--  libkipi library found............... YES
--  libkexiv2 library found............. YES
--  libkdcraw library found............. YES
--  libgphoto2 library found............ YES
--  libkdepimlibs library found......... YES (optional)
--  libmarblewidget library found....... NO  (optional)
-- 
--  digiKam will be compiled without geolocation using Marble widget support.
-- 
--  liblensfun library found............ NO  (optional)
-- 
--  digiKam will be compiled without lens auto-correction image editor tool.
-- 
--  libglib2 library found.............. YES (optional)
--  liblqr-1 library found.............. YES (optional)
--  digiKam will be compiled............ YES
-- ----------------------------------------------------------------------------------
-- 
-- Adjusting compilation flags for GCC version ( 4.3.3 )
-- Configuring done
-- Generating done
-- Build files have been written to: /usr/portage/distfiles/digikam-1.0.0-beta3

4. Seems to be success, but after make...

digikam-1.0.0-beta3 # make
<here lot of logs and suddenly>
[  0%] Built target digikam-svnversion
[  0%] Built target digikam_automoc
[  0%] Built target digikamcore_automoc
[ 30%] Built target digikamcore
[ 30%] Built target digikamdatabase_automoc
[ 41%] Built target digikamdatabase
[ 71%] Built target digikam
[ 71%] Built target digikamnepomukservice_automoc
[ 71%] Building CXX object digikam/CMakeFiles/digikamnepomukservice.dir/__/utilities/nepomuk/digikamnepomukservice.o
In file included from /usr/portage/distfiles/digikam-1.0.0-beta3/utilities/nepomuk/digikamnepomukservice.h:33,
                 from /usr/portage/distfiles/digikam-1.0.0-beta3/utilities/nepomuk/digikamnepomukservice.cpp:24:
/usr/include/KDE/Nepomuk/Service:1:42: error: ../../nepomuk/nepomukservice.h: Nie ma takiego pliku ani katalogu
In file included from /usr/portage/distfiles/digikam-1.0.0-beta3/utilities/nepomuk/digikamnepomukservice.cpp:43:
/usr/include/KDE/Nepomuk/Resource:1:36: error: ../../nepomuk/resource.h: Nie ma takiego pliku ani katalogu
In file included from /usr/portage/distfiles/digikam-1.0.0-beta3/utilities/nepomuk/digikamnepomukservice.cpp:44:
/usr/include/KDE/Nepomuk/ResourceManager:1:43: error: ../../nepomuk/resourcemanager.h: Nie ma takiego pliku ani katalogu
In file included from /usr/portage/distfiles/digikam-1.0.0-beta3/utilities/nepomuk/digikamnepomukservice.cpp:46:
/usr/include/KDE/Nepomuk/Tag:1:31: error: ../../nepomuk/tag.h: Nie ma takiego pliku ani katalogu
In file included from /usr/portage/distfiles/digikam-1.0.0-beta3/utilities/nepomuk/digikamnepomukservice.cpp:47:
/usr/include/KDE/Nepomuk/Variant:1:35: error: ../../nepomuk/variant.h: Nie ma takiego pliku ani katalogu
In file included from /usr/portage/distfiles/digikam-1.0.0-beta3/utilities/nepomuk/digikamnepomukservice.cpp:24:
/usr/portage/distfiles/digikam-1.0.0-beta3/utilities/nepomuk/digikamnepomukservice.h:51: error: ‘Nepomuk’ has not been declared
/usr/portage/distfiles/digikam-1.0.0-beta3/utilities/nepomuk/digikamnepomukservice.h:51: error: expected `{' before ‘Service’
/usr/portage/distfiles/digikam-1.0.0-beta3/utilities/nepomuk/digikamnepomukservice.h:51: error: function definition does not declare parameters
In file included from /usr/portage/distfiles/digikam-1.0.0-beta3/utilities/nepomuk/digikamnepomukservice.cpp:25:
/usr/portage/distfiles/digikam-1.0.0-beta3/digikam/digikamnepomukservice.moc:69: error: invalid use of incomplete type ‘class Digikam::NepomukService’
/usr/portage/distfiles/digikam-1.0.0-beta3/utilities/nepomuk/digikamnepomukservice.h:51: error: forward declaration of ‘class Digikam::NepomukService’
/usr/portage/distfiles/digikam-1.0.0-beta3/digikam/digikamnepomukservice.moc:70: error: ‘Nepomuk’ has not been declared
/usr/portage/distfiles/digikam-1.0.0-beta3/digikam/digikamnepomukservice.moc:74: error: invalid use of incomplete type ‘class Digikam::NepomukService’
/usr/portage/distfiles/digikam-1.0.0-beta3/utilities/nepomuk/digikamnepomukservice.h:51: error: forward declaration of ‘class Digikam::NepomukService’
/usr/portage/distfiles/digikam-1.0.0-beta3/digikam/digikamnepomukservice.moc:79: error: invalid use of incomplete type ‘class Digikam::NepomukService’
/usr/portage/distfiles/digikam-1.0.0-beta3/utilities/nepomuk/digikamnepomukservice.h:51: error: forward declaration of ‘class Digikam::NepomukService’
/usr/portage/distfiles/digikam-1.0.0-beta3/digikam/digikamnepomukservice.moc:88: error: invalid use of incomplete type ‘class Digikam::NepomukService’
/usr/portage/distfiles/digikam-1.0.0-beta3/utilities/nepomuk/digikamnepomukservice.h:51: error: forward declaration of ‘class Digikam::NepomukService’
/usr/portage/distfiles/digikam-1.0.0-beta3/utilities/nepomuk/digikamnepomukservice.cpp:180: error: invalid use of incomplete type ‘class Digikam::NepomukService’
/usr/portage/distfiles/digikam-1.0.0-beta3/utilities/nepomuk/digikamnepomukservice.h:51: error: forward declaration of ‘class Digikam::NepomukService’
/usr/portage/distfiles/digikam-1.0.0-beta3/utilities/nepomuk/digikamnepomukservice.cpp:203: error: invalid use of incomplete type ‘class Digikam::NepomukService’
/usr/portage/distfiles/digikam-1.0.0-beta3/utilities/nepomuk/digikamnepomukservice.h:51: error: forward declaration of ‘class Digikam::NepomukService’
/usr/portage/distfiles/digikam-1.0.0-beta3/utilities/nepomuk/digikamnepomukservice.cpp:207: error: invalid use of incomplete type ‘class Digikam::NepomukService’
/usr/portage/distfiles/digikam-1.0.0-beta3/utilities/nepomuk/digikamnepomukservice.h:51: error: forward declaration of ‘class Digikam::NepomukService’
/usr/portage/distfiles/digikam-1.0.0-beta3/utilities/nepomuk/digikamnepomukservice.cpp:218: error: invalid use of incomplete type ‘class Digikam::NepomukService’
/usr/portage/distfiles/digikam-1.0.0-beta3/utilities/nepomuk/digikamnepomukservice.h:51: error: forward declaration of ‘class Digikam::NepomukService’
/usr/portage/distfiles/digikam-1.0.0-beta3/utilities/nepomuk/digikamnepomukservice.cpp:255: error: invalid use of incomplete type ‘class Digikam::NepomukService’
/usr/portage/distfiles/digikam-1.0.0-beta3/utilities/nepomuk/digikamnepomukservice.h:51: error: forward declaration of ‘class Digikam::NepomukService’
/usr/portage/distfiles/digikam-1.0.0-beta3/utilities/nepomuk/digikamnepomukservice.cpp:299: error: invalid use of incomplete type ‘class Digikam::NepomukService’
/usr/portage/distfiles/digikam-1.0.0-beta3/utilities/nepomuk/digikamnepomukservice.h:51: error: forward declaration of ‘class Digikam::NepomukService’
/usr/portage/distfiles/digikam-1.0.0-beta3/utilities/nepomuk/digikamnepomukservice.cpp:305: error: invalid use of incomplete type ‘class Digikam::NepomukService’
/usr/portage/distfiles/digikam-1.0.0-beta3/utilities/nepomuk/digikamnepomukservice.h:51: error: forward declaration of ‘class Digikam::NepomukService’
/usr/portage/distfiles/digikam-1.0.0-beta3/utilities/nepomuk/digikamnepomukservice.cpp:329: error: invalid use of incomplete type ‘class Digikam::NepomukService’
/usr/portage/distfiles/digikam-1.0.0-beta3/utilities/nepomuk/digikamnepomukservice.h:51: error: forward declaration of ‘class Digikam::NepomukService’
/usr/portage/distfiles/digikam-1.0.0-beta3/utilities/nepomuk/digikamnepomukservice.cpp:348: error: invalid use of incomplete type ‘class Digikam::NepomukService’
/usr/portage/distfiles/digikam-1.0.0-beta3/utilities/nepomuk/digikamnepomukservice.h:51: error: forward declaration of ‘class Digikam::NepomukService’
/usr/portage/distfiles/digikam-1.0.0-beta3/utilities/nepomuk/digikamnepomukservice.cpp:369: error: invalid use of incomplete type ‘class Digikam::NepomukService’
/usr/portage/distfiles/digikam-1.0.0-beta3/utilities/nepomuk/digikamnepomukservice.h:51: error: forward declaration of ‘class Digikam::NepomukService’
/usr/portage/distfiles/digikam-1.0.0-beta3/utilities/nepomuk/digikamnepomukservice.cpp:374: error: invalid use of incomplete type ‘class Digikam::NepomukService’
/usr/portage/distfiles/digikam-1.0.0-beta3/utilities/nepomuk/digikamnepomukservice.h:51: error: forward declaration of ‘class Digikam::NepomukService’
/usr/portage/distfiles/digikam-1.0.0-beta3/utilities/nepomuk/digikamnepomukservice.cpp:394: error: invalid use of incomplete type ‘class Digikam::NepomukService’
/usr/portage/distfiles/digikam-1.0.0-beta3/utilities/nepomuk/digikamnepomukservice.h:51: error: forward declaration of ‘class Digikam::NepomukService’
/usr/portage/distfiles/digikam-1.0.0-beta3/utilities/nepomuk/digikamnepomukservice.cpp:402: error: invalid use of incomplete type ‘class Digikam::NepomukService’
/usr/portage/distfiles/digikam-1.0.0-beta3/utilities/nepomuk/digikamnepomukservice.h:51: error: forward declaration of ‘class Digikam::NepomukService’
/usr/portage/distfiles/digikam-1.0.0-beta3/utilities/nepomuk/digikamnepomukservice.cpp:444: error: ‘SyncToNepomukSettings’ has not been declared
/usr/portage/distfiles/digikam-1.0.0-beta3/utilities/nepomuk/digikamnepomukservice.cpp:444: error: invalid use of incomplete type ‘class Digikam::NepomukService’
/usr/portage/distfiles/digikam-1.0.0-beta3/utilities/nepomuk/digikamnepomukservice.h:51: error: forward declaration of ‘class Digikam::NepomukService’
/usr/portage/distfiles/digikam-1.0.0-beta3/utilities/nepomuk/digikamnepomukservice.cpp:456: error: ‘SyncToNepomukSettings’ has not been declared
/usr/portage/distfiles/digikam-1.0.0-beta3/utilities/nepomuk/digikamnepomukservice.cpp:456: error: invalid use of incomplete type ‘class Digikam::NepomukService’
/usr/portage/distfiles/digikam-1.0.0-beta3/utilities/nepomuk/digikamnepomukservice.h:51: error: forward declaration of ‘class Digikam::NepomukService’
/usr/portage/distfiles/digikam-1.0.0-beta3/utilities/nepomuk/digikamnepomukservice.cpp:491: error: ‘Nepomuk’ has not been declared
/usr/portage/distfiles/digikam-1.0.0-beta3/utilities/nepomuk/digikamnepomukservice.cpp:491: error: expected initializer before ‘nepomukForDigikamTag’
/usr/portage/distfiles/digikam-1.0.0-beta3/utilities/nepomuk/digikamnepomukservice.cpp:891: error: expected `}' at end of input
make[2]: *** [digikam/CMakeFiles/digikamnepomukservice.dir/__/utilities/nepomuk/digikamnepomukservice.o] Błąd 1
make[1]: *** [digikam/CMakeFiles/digikamnepomukservice.dir/all] Błąd 2
make: *** [all] Błąd 2

The Phantom of Nepomuk comes again.

My wish is to compile completely without support for Nepomuk.

Regards,
Rafal
Comment 1 Marcel Wiesweg 2009-07-27 17:31:23 UTC
SVN commit 1003063 by mwiesweg:

Disable compilation of Nepomuk if libraries are not found

CCBUG: 201640

 M  +22 -2     CMakeLists.txt  
 M  +3 -0      config-digikam.h.cmake  
 M  +2 -2      digikam/CMakeLists.txt  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1003063
Comment 2 Marcel Wiesweg 2009-07-27 17:33:08 UTC
Rafal, I have tried to make nepomuk compilation optional. As I can't easily uninstall nepomuk I can't test without nepomuk. Please report if current trunk or beta4 compile for you.
Comment 3 Rafal Lalik 2009-07-27 18:29:38 UTC
Dear Marcel,

your patches works... but with special condition. When call cmake with -DWITH_Nepomuk=Off then still need to add -DNEPOMUK_LIBRARIES=NONE
-DNEPOMUK_INCLUDE_DIR=NONE otherwise cmake finish with return. I will glad if I don't have to add this variables - it is more logical, isn't it?

I did not compile it with support for Nepomuk - belive that you or somebody test it :-)

Hope you will fix this last issue soon.
Comment 4 Rafal Lalik 2009-07-27 20:12:26 UTC
My bad, I didn't clear cache before compiling. Everything works!
God job Marcel!

Rafal
Comment 5 caulier.gilles 2009-07-27 20:38:51 UTC
Thanks. I close this file now...

Gilles Caulier