[Digikam-users] DK 4.2 compilation error

maderios maderios at gmail.com
Sun Aug 17 22:25:37 BST 2014


On 08/17/2014 07:45 PM, Gilles Caulier wrote:
> [ 46%] CMakeFiles/Makefile2:3418: recipe for target
> 'extra/libkvkontakte/libkvkontakte/CMakeFiles/kvkontakte.dir/all'
> failed
>
> sound like tarball with source code is uncomplete, or cmake
> configuration fail to test if libkvkontakte sub dir is present or not.
>

As a precaution, I uninstalled all digikam packages on my system
Same error. Compilation stops first here:

Generating setupiofiles.moc
Generating imagepropertiessidebarcamgui.moc
Generating setupdatabase.moc
Generating searchgroup.moc
Generating albummodel.moc
[ 39%] Built target digikam_automoc
Makefile:126: recipe for target 'all' failed
make: *** [all] Error 2


######################################################################################

cmake configuration

./bootstrap.linux

  ./bootstrap.linux
-- The C compiler identification is GNU 4.9.1
-- The CXX compiler identification is GNU 4.9.1
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found
-- Found Qt-Version 4.8.6 (using /usr/bin/qmake)
-- Looking for XOpenDisplay in 
/usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so;/usr/lib/x86_64-linux-gnu/libXft.so;/usr/lib/x86_64-linux-gnu/libXau.so;/usr/lib/x86_64-linux-gnu/libXdmcp.so;/usr/lib/x86_64-linux-gnu/libXpm.so
-- Looking for XOpenDisplay in 
/usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so;/usr/lib/x86_64-linux-gnu/libXft.so;/usr/lib/x86_64-linux-gnu/libXau.so;/usr/lib/x86_64-linux-gnu/libXdmcp.so;/usr/lib/x86_64-linux-gnu/libXpm.so 
- found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/lib/x86_64-linux-gnu/libX11.so
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Looking for _POSIX_TIMERS
-- Looking for _POSIX_TIMERS - found
-- Found Automoc4: /usr/bin/automoc4
-- Found Perl: /usr/bin/perl (found version "5.20.0")
-- Found Phonon: /usr/include (Required is at least version "4.3.80")
-- Performing Test _OFFT_IS_64BIT
-- Performing Test _OFFT_IS_64BIT - Success
-- Performing Test HAVE_FPIE_SUPPORT
-- Performing Test HAVE_FPIE_SUPPORT - Success
-- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL
-- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL - Success
-- Performing Test __KDE_HAVE_GCC_VISIBILITY
-- Performing Test __KDE_HAVE_GCC_VISIBILITY - Success
-- Found KDE 4.12 include dir: /usr/include
-- Found KDE 4.12 library dir: /usr/lib
-- 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: libksane
-- Found Sane: /usr/lib/x86_64-linux-gnu/libsane.so
-----------------------------------------------------------------------------
-- The following external packages were located on your system.
-- This installation will have the extra features provided by these 
packages.
-----------------------------------------------------------------------------
    * SANE development toolkit - Scanner Access Now Easy (SANE) 
development package
-----------------------------------------------------------------------------
-- Congratulations! All external packages have been found.
-----------------------------------------------------------------------------
-- 
----------------------------------------------------------------------------------
-- Starting CMake configuration for: libkipi
-- 
----------------------------------------------------------------------------------
-- Starting CMake configuration for: libkexiv2
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.28")
-- Found Exiv2: /usr/lib/libexiv2.so (found suitable version "0.23.0", 
minimum required is "0.21")
-----------------------------------------------------------------------------
-- The following external packages were located on your system.
-- This installation will have the extra features provided by these 
packages.
-----------------------------------------------------------------------------
    * Exiv2 - Required to build libkexiv2.
-----------------------------------------------------------------------------
-- Congratulations! All external packages have been found.
-----------------------------------------------------------------------------
-- 
----------------------------------------------------------------------------------
-- Starting CMake configuration for: libkdcraw
-- checking for module 'libraw'
--   found libraw, version 0.16.0
-- checking for module 'libraw_r'
--   found libraw_r, version 0.16.0
-- Found LibRaw: /usr/lib/x86_64-linux-gnu/libraw.so (found suitable 
version "0.16.0", minimum required is "0.15")
-- LibRaw version: 0.16.0
-- LibRaw config file exists: no
-- 
-- The following OPTIONAL packages have been found:
  * X11
  * Threads
  * Perl
  * Sane
  * Exiv2 , "Required to build libkexiv2." , <http://www.exiv2.org>
    ""
  * PkgConfig
-- The following REQUIRED packages have been found:
  * Qt4
  * Automoc4
  * Phonon (required version >= 4.3.80)
  * KDE4Internal
  * KDE4
  * LibRaw (required version >= 0.15) , library that provides image Raw 
file demosaicing , <http://www.libraw.org>
    Required to build libkdcraw
-- 
----------------------------------------------------------------------------------
-- Starting CMake configuration for: libmediawiki
-- checking for module 'QJson>=0.7'
--   found QJson, version 0.8.1
-- Found QJSON: /usr/lib/x86_64-linux-gnu/libqjson.so (found suitable 
version "0.8.1", minimum required is "0.7")
-----------------------------------------------------------------------------
-- 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.8.6 (using /usr/bin/qmake)
-- Found X11: /usr/lib/x86_64-linux-gnu/libX11.so
-- Found marble: /usr/include
-- Check Kexiv2 library in local sub-folder...
-- Found Kexiv2 library in local sub-folder: 
/usr/local/src/digikam-4.2.0/digikam-4.2.0/extra/libkexiv2
-- Looking for valgrind/valgrind.h
-- Looking for valgrind/valgrind.h - not found
-- 
----------------------------------------------------------------------------------
-- Starting CMake configuration for: libkface
-- Found Qt-Version 4.8.6 (using /usr/bin/qmake)
-- Found X11: /usr/lib/x86_64-linux-gnu/libX11.so
-- First try at finding OpenCV...
-- Great, found OpenCV on the first try.
-- OpenCV Root directory is: /usr/share/OpenCV
-- OpenCV: Found version 2.4.9 (required: 2.4.9)
-- OpenCV headers: /usr/include/opencv;/usr/include
-- OpenCV libs   : 
opencv_core;opencv_highgui;opencv_objdetect;opencv_contrib
-- 
----------------------------------------------------------------------------------
-- Starting CMake configuration for: kipi-plugins
-- Kipi library version required : 2.0.0
-- Check Kipi library in local sub-folder...
-- Found Kipi library in local sub-folder: 
/usr/local/src/digikam-4.2.0/digikam-4.2.0/extra/libkipi
-- Kipi library version: 2.1.0
-- Kipi library SO binary version: 11
-- libkipi: Found version 2.1.0 (required: 2.0.0)
-- Check Kexiv2 library in local sub-folder...
-- Found Kexiv2 library in local sub-folder: 
/usr/local/src/digikam-4.2.0/digikam-4.2.0/extra/libkexiv2
-- Found JPEG: /usr/lib/x86_64-linux-gnu/libjpeg.so
-- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.8")
-- Found PNG: /usr/lib/x86_64-linux-gnu/libpng.so (found version "1.2.50")
-- Found TIFF: /usr/lib/x86_64-linux-gnu/libtiff.so (found version "4.0.3")
-- Check for Kdcraw library in local sub-folder...
-- Found Kdcraw library in local sub-folder: 
/usr/local/src/digikam-4.2.0/digikam-4.2.0/extra/libkdcraw
-- libkdcraw: Found version 2.4.2 (required: 2.2.0)
-- Found EXPAT: /usr/lib/x86_64-linux-gnu/libexpat.so (found version 
"2.1.0")
-- Found LibXml2: /usr/lib/x86_64-linux-gnu/libxml2.so (found version 
"2.9.1")
-- Found LibXslt: /usr/lib/x86_64-linux-gnu/libxslt.so
-- Found OpenGL: /usr/lib/x86_64-linux-gnu/libGL.so
-- checking for one of the modules 'libgpod-1.0'
-- libgpod dir:
-- libgpod lib:
-- libgpod def:
-- libgpod ver:
-- checking for module 'gdk-pixbuf-2.0'
--   found gdk-pixbuf-2.0, version 2.30.7
-- Found Gdk: /usr/include/gdk-pixbuf-2.0
-- Found GLIB2: /usr/lib/x86_64-linux-gnu/libglib-2.0.so
-- checking for module 'gobject-2.0'
--   found gobject-2.0, version 2.40.0
-- Found GOBJECT: 
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so;/usr/lib/x86_64-linux-gnu/libgmodule-2.0.so;/usr/lib/x86_64-linux-gnu/libgthread-2.0.so;/usr/lib/x86_64-linux-gnu/libglib-2.0.so 

-- Found FLEX: /usr/bin/flex (found version "2.5.39")
-- Found BISON: /usr/bin/bison (found version "3.0.2")
-- Found KdepimLibs: /usr/lib/cmake/KdepimLibs/KdepimLibsConfig.cmake
-- Found QCA2: /usr/lib/x86_64-linux-gnu/libqca.so
-- Check for Ksane library in local sub-folder...
-- Found Ksane library in local sub-folder: 
/usr/local/src/digikam-4.2.0/digikam-4.2.0/extra/libksane
-- Check for KGeoMap library in local sub-folder...
-- Found KGeoMap library in local sub-folder: 
/usr/local/src/digikam-4.2.0/digikam-4.2.0/extra/libkgeomap
-- Check Mediawiki library in local sub-folder...
-- Found Mediawiki library in local sub-folder: 
/usr/local/src/digikam-4.2.0/digikam-4.2.0/extra/libmediawiki
-- Check Vkontakte library in local sub-folder...
-- Found Vkontakte library in local sub-folder: 
/usr/local/src/digikam-4.2.0/digikam-4.2.0/extra/libkvkontakte
-- Found HUpnpCore : /usr/include/HUpnpCore /usr/lib/libHUpnp.so
-- Could NOT find required package HUpnpAv: <http://herqq.org>
-- Found ImageMagick: /usr/lib/libMagick.so (found version "6.7.7-10")
-- Found QtGStreamer: /usr/include/QtGStreamer
-- Boost hasn't been found yet. Looking...
-- Boost version: 1.55.0
-- GCC 4.5 or later detected. Enabling C++0x support in QTGSTREAMER_FLAGS.
-- Could NOT find QtKOAuth (missing:  QTKOAUTH_LIBRARIES 
QTKOAUTH_INCLUDE_DIR)
-- libkgeomap: Found version 2.0.0
-- Found X11: /usr/lib/x86_64-linux-gnu/libX11.so
-- First try at finding OpenCV...
-- Great, found OpenCV on the first try.
-- OpenCV Root directory is: /usr/share/OpenCV
-- OpenCV: Found version 2.4.9 (required: 2.4.6)
-- OpenCV headers: /usr/include/opencv;/usr/include
-- OpenCV libs   : 
opencv_core;opencv_highgui;opencv_objdetect;opencv_contrib
-- CMake version: cmake version 2.8.12.2
-- CMake version (cleaned): cmake version 2.8.12.2
-- Try OpenMP C flag = [-fopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Success
-- Try OpenMP CXX flag = [-fopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Success
-- Found OpenMP: -fopenmp
-- 
-- 
----------------------------------------------------------------------------------
--  kipi-plugins 4.2.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 (optional)
--  libopencv library found.................. YES (optional)
--  QJson library found...................... YES (optional)
--  libgpod library found.................... NO  (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)
--  libimagemagick library found............. YES (optional)
--  libqtgstreamer library found............. YES (optional)
--  QtKOAuth library found................... NO  (optional)
--  OpenMP library found..................... YES (optional)
--  libX11 library found..................... YES (optional)
--  libksane library found................... YES (optional)
--  Hupnp 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)
--  GoogleDrive will be compiled............. YES (optional)
--  Dropbox will be compiled................. YES (optional)
--  VKontakte 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)
--  GPSSync will be compiled................. YES (optional)
--  Mediawiki will be compiled............... YES (optional)
--  Panorama will be compiled................ YES (optional)
--  VideoSlideshow will be compiled.......... YES (optional)
--  Wallpaper will be compiled............... NO  (optional - Look 
README file for more details about dependencies)
-- 
----------------------------------------------------------------------------------
-- 
-- Found QtGstreamer version :
-- Using GStreamer API 1: FALSE
-- 
----------------------------------------------------------------------------------
-- 
-- Check if the system is big endian
-- Searching 16 bit integer
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of unsigned short
-- Check size of unsigned short - done
-- Using unsigned short
-- Check if the system is big endian - little endian
-- 
----------------------------------------------------------------------------------
-- Starting CMake configuration for: digiKam
-- Kipi library version required : 2.0.0
-- Check Kipi library in local sub-folder...
-- Found Kipi library in local sub-folder: 
/usr/local/src/digikam-4.2.0/digikam-4.2.0/extra/libkipi
-- Kipi library version: 2.1.0
-- libkipi: Found version 2.1.0 (required: 2.0.0)
-- Check Kexiv2 library in local sub-folder...
-- Found Kexiv2 library in local sub-folder: 
/usr/local/src/digikam-4.2.0/digikam-4.2.0/extra/libkexiv2
-- Check for Kdcraw library in local sub-folder...
-- Found Kdcraw library in local sub-folder: 
/usr/local/src/digikam-4.2.0/digikam-4.2.0/extra/libkdcraw
-- Found Jasper: /usr/lib/x86_64-linux-gnu/libjasper.so (found version 
"1.900.1")
-- Check Kface library in local sub-folder...
-- Found Kface library in local sub-folder: 
/usr/local/src/digikam-4.2.0/digikam-4.2.0/extra/libkface
-- Check for KGeoMap library in local sub-folder...
-- Found KGeoMap library in local sub-folder: 
/usr/local/src/digikam-4.2.0/digikam-4.2.0/extra/libkgeomap
-- checking for module 'libpgf'
--   found libpgf, version 6.12.24
-- PGF_INCLUDE_DIRS     = /usr/include/libpgf
-- PGF_INCLUDEDIR       = /usr/include/libpgf
-- PGF_LIBRARIES        = pgf
-- PGF_LDFLAGS          = -lpgf
-- PGF_CFLAGS           = -I/usr/include/libpgf
-- PGF_VERSION          = 6.12.24
-- PGF_CODEC_VERSION_ID = 61224
-- Found Eigen3: /usr/include/eigen3 (Required is at least version 
"2.91.0")
-- Boost version: 1.55.0
-- First try at finding OpenCV...
-- Great, found OpenCV on the first try.
-- OpenCV Root directory is: /usr/share/OpenCV
-- OpenCV: Found version 2.4.9 (required: 2.4.6)
-- OpenCV headers: /usr/include/opencv;/usr/include
-- OpenCV libs   : opencv_core;opencv_highgui;opencv_imgproc
-- libkdcraw: Found version 2.4.2 (required: 2.2.0)
-- Check for LCMS2 availability...
-- checking for module 'lcms2'
--   found lcms2, version 2.6
-- Found lcms version 2.06, /usr/lib/x86_64-linux-gnu/liblcms2.so
-- Found LCMS2: /usr/lib/x86_64-linux-gnu/liblcms2.so /usr/include
-- Paralelized PGF codec disabled...
-- Identified libjpeg version: 80+
-- libkgeomap: Found version 2.0.0
-- Found gphoto2: -L/usr/lib/x86_64-linux-gnu 
-lgphoto2_port;-L/usr/lib/x86_64-linux-gnu -lgphoto2 -lgphoto2_port -lm
-- Found LIBUSB: /usr/lib/x86_64-linux-gnu/libusb.so
-- checking for module 'lensfun'
--   found lensfun, version 0.2.8.0
-- Found LensFun: /usr/include/lensfun (found version "0.2.8.0")
-- liblensfun: Found version 0.2.8.0 (required: 0.2.6.0)
-- WARNING: you are using the obsolete 'PKGCONFIG' macro, use FindPkgConfig
-- Performing Test HAVE_LQR_0_4
-- Performing Test HAVE_LQR_0_4 - Success
-- Found Lqr-1: /usr/include/lqr-1
-- Found Soprano: /usr/include (found suitable version "2.9.4", minimum 
required is "1.99")
CMake Warning at 
/usr/share/kde4/apps/cmake/modules/MacroOptionalFindPackage.cmake:32 
(find_package):
   By not providing "FindNepomukCore.cmake" in CMAKE_MODULE_PATH this 
project
   has asked CMake to find a package configuration file provided by
   "NepomukCore", but CMake did not find one.
   Could not find a package configuration file provided by "NepomukCore" 
with
   any of the following names:
     NepomukCoreConfig.cmake
     nepomukcore-config.cmake

   Add the installation prefix of "NepomukCore" to CMAKE_PREFIX_PATH or set
   "NepomukCore_DIR" to a directory containing one of the above files.  If
   "NepomukCore" provides a separate development package or SDK, be sure it
   has been installed.
Call Stack (most recent call first):
   core/CMakeLists.txt:348 (MACRO_OPTIONAL_FIND_PACKAGE)


-- Found SharedDesktopOntologies: /usr/share/ontology (found suitable 
version "0.11.0", minimum required is "0.2")
-- Could NOT find Doxygen (missing:  DOXYGEN_EXECUTABLE)
-- Found Sqlite2: /usr/lib/libsqlite.so (found version "2.8.17")
-- 
-- 
----------------------------------------------------------------------------------
--  digiKam 4.2.0 dependencies results   <http://www.digikam.org>
-- 
--  Qt4 SQL module found..................... YES
--  mysql server found....................... NO  (optional - disabled 
by user)
--  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)
--  Eigen3 library found..................... YES (optional)
--  libgphoto2 and libusb libraries found.... YES (optional)
--  libgphoto2 2.5 library found............. YES (optional)
--  libkdepimlibs library found.............. YES (optional)
--  Nepomuk libraries found.................. NO  (optional)
-- 
--  digiKam will be compiled without support for the Nepomuk semantic 
desktop services.
-- 
--  Liblqr-1 found........................... YES (optional)
--  Liblensfun found......................... YES (optional)
--  Libsqlite v2 found....................... YES (optional)
--  Doxygen found............................ NO  (optional)
-- 
--  You will not be able to to generate the API documentation.
--  This does not affect building digiKam in any way.
-- 
--  digiKam can be compiled.................. YES
-- 
----------------------------------------------------------------------------------
-- 
-- Adjusting compilation flags for GCC version ( 4.9.1 )
-- Looking for dgettext
-- Looking for dgettext - found
-- Found Gettext: built in libc
-- Configuring done
-- Generating done
-- Build files have been written to: 
/usr/local/src/digikam-4.2.0/digikam-4.2.0/build



More information about the Digikam-users mailing list