[Digikam-users] Building kipi-plugins from SVN trunk fails now

Joe Wrigley joe at wrigley.me.uk
Mon Sep 6 16:26:37 BST 2010


Hi,

I have been merrily building digikam et al from trunk as detailed at
http://www.digikam.org/drupal/download/SvnAlongStable

Today, I followed the process to update and build each step, but it
fails on kipi-plugins:

$ cmake -DCMAKE_BUILD_TYPE=debugfull -DCMAKE_INSTALL_PREFIX=/usr/local ..
-- Found Qt-Version 4.7.0 (using /usr/bin/qmake)
-- Found X11: /usr/lib/libX11.so
-- Found KDE 4.5 include dir: /usr/include
-- Found KDE 4.5 library dir: /usr/lib
-- Found the KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler
-- Found automoc4: /usr/bin/automoc4
-- Found Kexiv2 library in cache: /usr/local/lib/libkexiv2.so
-- Found Kdcraw library in cache: /usr/local/lib/libkdcraw.so
-- Found Kipi library in cache: /usr/lib/libkipi.so
-- checking for module 'libgpod-1.0'
--   package 'libgpod-1.0' not found
-- Found GObject libraries:
/usr/lib/libgobject-2.0.so;/usr/lib/libgmodule-2.0.so;/usr/lib/libgthread-2.0.so;/usr/lib/libglib-2.0.so
-- Found GObject includes : /usr/include/glib-2.0/gobject
CMake Warning at
/usr/share/kde4/apps/cmake/modules/MacroOptionalFindPackage.cmake:32
(find_package):
  Could not find module FindKSane.cmake or a configuration file for package
  KSane.

  Adjust CMAKE_MODULE_PATH to find FindKSane.cmake or set KSane_DIR to the
  directory containing a CMake configuration file for KSane.  The file will
  have one of the following names:

    KSaneConfig.cmake
    ksane-config.cmake

Call Stack (most recent call first):
  CMakeLists.txt:137 (MACRO_OPTIONAL_FIND_PACKAGE)


-- Found X11: /usr/lib/libX11.so
-- CMake version: cmake version 2.8.2

-- CMake version (cleaned): cmake version 2.8.2

-- 
-- ----------------------------------------------------------------------------------
--  kipi-plugins 1.5.0 dependencies results   <http://www.kipi-plugins.org>
-- 
--  libjpeg library found.................... YES
--  libtiff library found.................... YES
--  libpng library found..................... YES
--  libkipi library found.................... YES
--  libkexiv2 library found.................. YES
--  libkdcraw library found.................. YES
--  libxml2 library found.................... YES (optional)
--  libxslt library found.................... YES (optional)
--  libexpat library found................... YES (optional)
--  native threads support library found..... YES (optional)
--  libopengl library found.................. YES (optional)
--  Qt4 OpenGL module found.................. YES
--  libopencv library found.................. YES (optional)
--  libgpod library found.................... NO  (optional)
--  Gdk library found........................ YES (optional)
--  libkdepim library found.................. YES (optional)
--  qca2 library found....................... YES (optional)
--  libkdcraw >= 1.1.0 library found......... YES (optional)
--  libkexiv2 >= 1.1.0 library found......... YES (optional)
--  OpenMP library found..................... YES (optional)
--  libX11 library found..................... YES (optional)
--  libksane library found................... NO  (optional)
-- 
--  kipi-plugins will be compiled............ YES
--  Shwup will be compiled................... YES (optional)
--  HtmlExport will be compiled.............. YES (optional)
--  AdvancedSlideshow will be compiled....... YES (optional)
--  ImageViewer will be compiled............. YES (optional)
--  AcquireImages will be compiled........... NO  (optional - Look
README file for more details about dependencies)
--  DNGConverter will be compiled............ YES (optional)
--  RemoveRedEyes will be compiled........... YES (optional)
--  IpodExport will be compiled.............. NO  (optional - Look
README file for more details about dependencies)
--  Calendar will be compiled................ YES (optional)
-- ----------------------------------------------------------------------------------
-- 
-- Configuring done
-- Generating done
-- Build files have been written to:
/home/jwrigley/src/digikam/trunk/kipi-plugins/build
jwrigley at zoltan:~/src/digikam/trunk/kipi-plugins/build$ make
[  0%] Built target kipiplugins-svnversion
[  0%] Built target kipiplugins_automoc
[  0%] Building CXX object
common/libkipiplugins/CMakeFiles/kipiplugins.dir/dialogs/imagedialog.o
In file included from
/home/jwrigley/src/digikam/trunk/kipi-plugins/build/common/libkipiplugins/imagedialog.moc:10,
                 from
/home/jwrigley/src/digikam/trunk/kipi-plugins/common/libkipiplugins/dialogs/imagedialog.cpp:23:
/home/jwrigley/src/digikam/trunk/kipi-plugins/build/common/libkipiplugins/../../../common/libkipiplugins/dialogs/imagedialog.h:38:
fatal error: libkipi/interface.h: No such file or directory
compilation terminated.
make[2]: *** [common/libkipiplugins/CMakeFiles/kipiplugins.dir/dialogs/imagedialog.o]
Error 1
make[1]: *** [common/libkipiplugins/CMakeFiles/kipiplugins.dir/all] Error 2
make: *** [all] Error 2

It looks like an include path has been changed, but I haven't been
able to figure out what, or where, or how to fix it.

Any ideas?



More information about the Digikam-users mailing list