Cannot build digiKam

Posted by Tichomir Mitkov on Super User See other posts from Super User or by Tichomir Mitkov
Published on 2012-08-28T15:25:30Z Indexed on 2012/08/28 15:41 UTC
Read the original article Hit count: 405

Filed under:
|
|

I'm trying to compile digiKam 2.8.0. I have installed the required libraries but cMake seems to stuck without any meaningful reason. Here is the output of cMake:

$ cmake -DCMAKE_BUILD_TYPE=relwithdebinfo -DCMAKE_INSTALL_PREFIX=/usr/local .
-- Found Qt-Version 4.7.1 (using /usr/bin/qmake)
-- Found X11: /usr/lib64/libX11.so
-- Found KDE 4.6 include dir: /usr/include
-- Found KDE 4.6 library dir: /usr/lib64
-- Found the KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler
-- Found automoc4: /usr/bin/automoc4
-- Local kdegraphics libraries will be compiled... YES
-- Handbooks will be compiled..................... YES
-- Extract translations files..................... NO
-- Translations will be compiled.................. YES
-- ----------------------------------------------------------------------------------
-- Starting CMake configuration for: libmediawiki

-----------------------------------------------------------------------------
-- The following external packages were located on your system.
-- This installation will have the extra features provided by these packages.
-----------------------------------------------------------------------------
  * QJSON - Qt library for handling JSON data

-----------------------------------------------------------------------------
-- Congratulations! All external packages have been found.
-----------------------------------------------------------------------------

-- ----------------------------------------------------------------------------------
-- Starting CMake configuration for: libkgeomap
-- Found Qt-Version 4.7.1 (using /usr/bin/qmake)
-- Found X11: /usr/lib64/libX11.so
-- Check Kexiv2 library in local sub-folder...
-- Found Kexiv2 library in local sub-folder: /home/tichomir/Downloads/digikam-2.8.0/extra/libkexiv2
-- kexiv2 found, the demo application will be compiled.
-- ----------------------------------------------------------------------------------
-- Starting CMake configuration for: libkface
-- Found Qt-Version 4.7.1 (using /usr/bin/qmake)
-- Found X11: /usr/lib64/libX11.so
-- First try at finding OpenCV...
-- Great, found OpenCV on the first try.
-- OpenCV Root directory is /usr/share/opencv
-- External libface was not found, use internal version instead...
-- ----------------------------------------------------------------------------------
-- Starting CMake configuration for: kipi-plugins
-- Check Kexiv2 library in local sub-folder...
-- Found Kexiv2 library in local sub-folder: /home/tichomir/Downloads/digikam-2.8.0/extra/libkexiv2
-- Check for Kdcraw library in local sub-folder...
-- Found Kdcraw library in local sub-folder: /home/tichomir/Downloads/digikam-2.8.0/extra/libkdcraw
CMake Error at extra/libkdcraw/cmake/modules/FindKdcraw.cmake:137 (file):
  file Internal CMake error when trying to open file:
  /home/tichomir/Downloads/digikam-2.8.0/extra/libkdcraw/libkdcraw/version.h
  for reading.
Call Stack (most recent call first):
  extra/kipi-plugins/CMakeLists.txt:123 (FIND_PACKAGE)


-- Check Kipi library in local sub-folder...
-- Found Kipi library in local sub-folder: /home/tichomir/Downloads/digikam-2.8.0/extra/libkipi
CMake Warning at extra/kipi-plugins/CMakeLists.txt:139 (MESSAGE):
  libkdcraw: Version information not found, your version is probably too old.


-- Found GObject libraries: /usr/lib64/libgobject-2.0.so;/usr/lib64/libgmodule-2.0.so;/usr/lib64/libgthread-2.0.so;/usr/lib64/libglib-2.0.so
-- Found GObject includes : /usr/include/glib-2.0/gobject
-- Check for Ksane library in local sub-folder...
-- Found Ksane library in local sub-folder: /home/tichomir/Downloads/digikam-2.8.0/extra/libksane
-- Check for KGeoMap library in local sub-folder...
-- Found KGeoMap library in local sub-folder: /home/tichomir/Downloads/digikam-2.8.0/extra/libkgeomap
-- Check Mediawiki library in local sub-folder...
-- Found Mediawiki library in local sub-folder: /home/tichomir/Downloads/digikam-2.8.0/extra/libmediawiki
-- Check Vkontakte library in local sub-folder...
-- Found Vkontakte library in local sub-folder: /home/tichomir/Downloads/digikam-2.8.0/extra/libkvkontakte
-- Boost version: 1.38.0
-- libkgeomap: Found version 2.0.0
-- Found X11: /usr/lib64/libX11.so
-- CMake version: cmake version 2.8.9

-- CMake version (cleaned): cmake version 2.8.9

-- 
-- ----------------------------------------------------------------------------------
--  kipi-plugins 2.8.0 dependencies results   <http://www.digikam.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)
--  QJson library found...................... YES (optional)
--  libgpod library found.................... YES (optional)
--  Gdk library found........................ YES (optional)
--  libkdepim library found.................. YES (optional)
--  qca2 library found....................... YES (optional)
--  libkgeomap library found................. YES (optional)
--  libmediawiki library found............... YES (optional)
--  libkvkontakte library found.............. YES (optional)
--  boost library found...................... YES (optional)
--  OpenMP library found..................... YES (optional)
--  libX11 library found..................... YES (optional)
--  libksane library found................... YES (optional)
-- 
--  kipi-plugins will be compiled............ YES
--  Shwup will be compiled................... YES (optional)
--  YandexFotki 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........... YES (optional)
--  DNGConverter will be compiled............ YES (optional)
--  RemoveRedEyes will be compiled........... YES (optional)
--  Debian Screenshots will be compiled...... YES (optional)
--  Facebook will be compiled................ YES (optional)
--  Imgur will be compiled................... YES (optional)
--  VKontakte will be compiled............... YES (optional)
--  IpodExport will be compiled.............. YES (optional)
--  Calendar will be compiled................ YES (optional)
--  GPSSync will be compiled................. YES (optional)
--  Mediawiki will be compiled............... YES (optional)
--  Panorama will be compiled................ YES (optional)
-- ----------------------------------------------------------------------------------
-- 
-- ----------------------------------------------------------------------------------
-- Starting CMake configuration for: digiKam
-- Check for Kdcraw library in local sub-folder...
-- Found Kdcraw library in local sub-folder: /home/tichomir/Downloads/digikam-2.8.0/extra/libkdcraw
CMake Error at extra/libkdcraw/cmake/modules/FindKdcraw.cmake:137 (file):
  file Internal CMake error when trying to open file:
  /home/tichomir/Downloads/digikam-2.8.0/extra/libkdcraw/libkdcraw/version.h
  for reading.
Call Stack (most recent call first):
  core/CMakeLists.txt:156 (FIND_PACKAGE)


-- Check Kexiv2 library in local sub-folder...
-- Found Kexiv2 library in local sub-folder: /home/tichomir/Downloads/digikam-2.8.0/extra/libkexiv2
-- Check Kipi library in local sub-folder...
-- Found Kipi library in local sub-folder: /home/tichomir/Downloads/digikam-2.8.0/extra/libkipi
-- Check Kface library in local sub-folder...
-- Found Kface library in local sub-folder: /home/tichomir/Downloads/digikam-2.8.0/extra/libkface
-- Check for KGeoMap library in local sub-folder...
-- Found KGeoMap library in local sub-folder: /home/tichomir/Downloads/digikam-2.8.0/extra/libkgeomap
-- PGF_INCLUDE_DIRS     = /usr/local/include/libpgf
-- PGF_INCLUDEDIR       = /usr/local/include/libpgf
-- PGF_LIBRARIES        = pgf
-- PGF_LDFLAGS          = -L/usr/local/lib;-lpgf
-- PGF_CFLAGS           = -I/usr/local/include/libpgf
-- PGF_VERSION          = 6.12.24
-- PGF_CODEC_VERSION_ID = 61224
-- Could NOT find any working clapack installation
-- Boost version: 1.38.0
-- Check for LCMS1 availability...
-- Found LCMS1: /usr/lib64/liblcms.so /usr/include
-- Paralelized PGF codec disabled...
-- Identified libjpeg version: 62
-- Found MySQL server executable at: /usr/sbin/mysqld
-- Found MySQL install_db executable at: /usr/bin/mysql_install_db
CMake Warning at core/CMakeLists.txt:310 (MESSAGE):
  libkdcraw: Version information not found, your version is probably too old.


-- libkgeomap: Found version 2.0.0
-- Found gphoto2: -L/usr/lib64 -lgphoto2_port;-L/usr/lib64 -lgphoto2 -lgphoto2_port -lm
-- WARNING: you are using the obsolete 'PKGCONFIG' macro, use FindPkgConfig
-- WARNING: you are using the obsolete 'PKGCONFIG' macro, use FindPkgConfig
-- PKGCONFIG() indicates that lqr-1 is not installed (install the package which contains lqr-1.pc if you want to support this feature)
-- Could NOT find Lqr-1  (missing:  LQR-1_INCLUDE_DIRS LQR-1_LIBRARIES) 
-- Found SharedDesktopOntologies: /usr/share/ontology 
-- Found SharedDesktopOntologies: /usr/share/ontology  (found version "0.5.0", required is "0.2")
-- 
-- ----------------------------------------------------------------------------------
--  digiKam 2.8.0 dependencies results   <http://www.digikam.org>
-- 
--  Qt4 SQL module found..................... YES
--  MySQL Server found....................... YES
--  MySQL install_db tool found.............. YES
--  libtiff library found.................... YES
--  libpng library found..................... YES
--  libjasper library found.................. YES
--  liblcms library found.................... YES
--  Boost Graph library found................ YES
--  libkipi library found.................... YES
--  libkexiv2 library found.................. YES
--  libkdcraw library found.................. YES
--  libkface library found................... YES
--  libkgeomap library found................. YES
--  libpgf library found..................... YES (optional)
--  libclapack library found................. NO  (optional - internal version used instead)
--  libgphoto2 and libusb libraries found.... YES (optional)
--  libkdepimlibs library found.............. YES (optional)
--  Nepomuk libraries found.................. YES (optional)
--  libglib2 library found................... YES (optional)
--  liblqr-1 library found................... NO  (optional - internal version used instead)
--  liblensfun library found................. YES (optional)
--  Doxygen found............................ YES (optional)
--  digiKam can be compiled.................. YES
-- ----------------------------------------------------------------------------------
-- 
-- Adjusting compilation flags for GCC version ( 4.5.1 )
-- Configuring incomplete, errors occurred!

Actually this line shows a sign of error CMake Error at extra/libkdcraw/cmake/modules/FindKdcraw.cmake:137 (file): file Internal CMake error when trying to open file: /home/tichomir/Downloads/digikam-2.8.0/extra/libkdcraw/libkdcraw/version.h for reading. 'version.h' doesn't exists instead there is a file 'version.h.cmake' I have installed libkdcraw (64-bit) from sources. I'm using OpenSuse

© Super User or respective owner

Related posts about linux

Related posts about compile