[Digikam-users] compiling digikam svn

jdd jdd at dodin.org
Wed May 30 18:31:03 BST 2012


Le 30/05/2012 17:23, Gilles Caulier a écrit :
> 1/ It's git repository, not svn...

yes, my error (I also compile an other app from svn)

> 2/ to use libkdcraw from git, use right cmake option. Look in
> digikam/README file for details.

I don't see any relevant option

-DDIGIKAMSC_USE_PRIVATE_KDEGRAPHICS=on

or no gives the same error

> 3/ from git kipi-plugins is always compiled with digiKam.

good. so I'm stuck

below the logs:
linux-zz28:/home/jdd/git/digikam-sc/build # cmake 
-DCMAKE_BUILD_TYPE=debugfull -DCMAKE_INSTALL_PREFIX=`kde4-config 
--prefix` ..
-- Found Qt-Version 4.7.4 (using /usr/bin/qmake)
-- Found X11: /usr/lib/libX11.so
-- Found KDE 4.7 include dir: /usr/include
-- Found KDE 4.7 library dir: /usr/lib
-- Found the KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler
-- Found automoc4: /usr/bin/automoc4
-- /home/jdd/git/digikam-sc/po/ dir do not exists. Translations 
compilation disabled...
-- You can use DIGIKAMSC_CHECKOUT_PO option to extract po files from 
KDE repositories.
-- Local kdegraphics libraries will be compiled... NO
-- Handbooks will be compiled..................... YES
-- Extract translations files..................... NO
-- Translations will be compiled.................. NO
-- 
----------------------------------------------------------------------------------
-- 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.4 (using /usr/bin/qmake)
-- Found X11: /usr/lib/libX11.so
-- Check Kexiv2 library in local sub-folder...
-- Check Kexiv2 library using pkg-config...
-- WARNING: you are using the obsolete 'PKGCONFIG' macro, use 
FindPkgConfig
-- Found libkexiv2 release >= 1.0.0
-- Found libkexiv2: /usr/lib/libkexiv2.so
-- kexiv2 found, the demo application will be compiled.
-- 
----------------------------------------------------------------------------------
-- Starting CMake configuration for: libkface
-- Found Qt-Version 4.7.4 (using /usr/bin/qmake)
-- Found X11: /usr/lib/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...
-- Check Kexiv2 library using pkg-config...
-- WARNING: you are using the obsolete 'PKGCONFIG' macro, use 
FindPkgConfig
-- Found libkexiv2 release >= 1.0.0
-- Found libkexiv2: /usr/lib/libkexiv2.so
-- Check Kdcraw library in local sub-folder...
-- Found Kdcraw library in local sub-folder: 
/home/jdd/git/digikam-sc/libkdcraw
-- Check Kipi library in local sub-folder...
-- Check Kipi library using pkg-config...
-- WARNING: you are using the obsolete 'PKGCONFIG' macro, use 
FindPkgConfig
-- Found libkipi release >= 1.0.0
-- Found libkipi: /usr/lib/libkipi.so
CMake Warning at extra/kipi-plugins/CMakeLists.txt:139 (MESSAGE):
   libkdcraw: Version information not found, your version is probably 
too old.


-- Found EXPAT: /usr/lib/libexpat.so
-- Check for Ksane library in local sub-folder...
-- Found Ksane library in local sub-folder: 
/home/jdd/git/digikam-sc/libs/libksane
CMake Error at cmake/modules/FindKSane.cmake:137 (file):
   file Internal CMake error when trying to open file:
   /home/jdd/git/digikam-sc/build/libs/libksane/libksane/version.h for
   reading.
Call Stack (most recent call first):
 
/usr/share/kde4/apps/cmake/modules/MacroOptionalFindPackage.cmake:32 
(find_package)
   extra/kipi-plugins/CMakeLists.txt:157 (MACRO_OPTIONAL_FIND_PACKAGE)


-- Check for KGeoMap library in local sub-folder...
-- Found KGeoMap library in local sub-folder: 
/home/jdd/git/digikam-sc/extra/libkgeomap
-- Check Mediawiki library in local sub-folder...
-- Found Mediawiki library in local sub-folder: 
/home/jdd/git/digikam-sc/extra/libmediawiki
-- Check Vkontakte library in local sub-folder...
-- Found Vkontakte library in local sub-folder: 
/home/jdd/git/digikam-sc/extra/libkvkontakte
-- libkgeomap: Found version 2.0.0
-- Found X11: /usr/lib/libX11.so
-- CMake version: cmake version 2.8.6

-- CMake version (cleaned): cmake version 2.8.6

-- 
-- 
----------------------------------------------------------------------------------
--  kipi-plugins 2.6.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)
-- 
----------------------------------------------------------------------------------
-- 
-- 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
-- Check Kdcraw library in local sub-folder...
-- Found Kdcraw library in local sub-folder: 
/home/jdd/git/digikam-sc/libkdcraw
-- Check Kexiv2 library in local sub-folder...
-- Check Kexiv2 library using pkg-config...
-- WARNING: you are using the obsolete 'PKGCONFIG' macro, use 
FindPkgConfig
-- Found libkexiv2 release >= 1.0.0
-- Found libkexiv2: /usr/lib/libkexiv2.so
-- Check Kipi library in local sub-folder...
-- Check Kipi library using pkg-config...
-- WARNING: you are using the obsolete 'PKGCONFIG' macro, use 
FindPkgConfig
-- Found libkipi release >= 1.0.0
-- Found libkipi: /usr/lib/libkipi.so
-- Check Kface library in local sub-folder...
-- Found Kface library in local sub-folder: 
/home/jdd/git/digikam-sc/extra/libkface
-- Check for KGeoMap library in local sub-folder...
-- Found KGeoMap library in local sub-folder: 
/home/jdd/git/digikam-sc/extra/libkgeomap
-- checking for module 'libpgf'
--   package 'libpgf' not found
-- Could NOT find any working clapack installation
-- Check for LCMS1 availability...
-- Found LCMS1: /usr/lib/liblcms.so /usr/include
-- 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:299 (MESSAGE):
   libkdcraw: Version information not found, your version is probably 
too old.


-- libkgeomap: Found version 2.0.0
-- Found gphoto2: -L/usr/lib -lgphoto2_port;-L/usr/lib -lgphoto2 
-lgphoto2_port -lm
-- WARNING: you are using the obsolete 'PKGCONFIG' macro, use 
FindPkgConfig
-- 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 SharedDesktopOntologies: /usr/share/ontology
-- Found SharedDesktopOntologies: /usr/share/ontology  (found version 
"0.8.0", required is "0.2")
-- 
-- 
----------------------------------------------------------------------------------
--  digiKam 2.6.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..................... NO  (optional - internal 
version used instead)
--  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................... YES (optional)
--  liblensfun library found................. YES (optional)
--  Doxygen found............................ YES (optional)
--  digiKam can be compiled.................. YES
-- 
----------------------------------------------------------------------------------
-- 
-- Adjusting compilation flags for GCC version ( 4.6.2 )
-- Configuring incomplete, errors occurred!
linux-zz28:/home/jdd/git/digikam-sc/build # make
make: *** Pas de cible spécifiée et aucun makefile n'a été trouvé. Arrêt.



More information about the Digikam-users mailing list