[Digikam-users] Problems building digikam

Jonathan Ryshpan jonrysh at pacbell.net
Thu Sep 17 22:19:35 BST 2009


I am trying to build digikam-1.0.0-beta4 for Fedora-11 Linux running on
an x86_64 system with a gnome desktop.  I have downloaded
	digikam-1.0.0-beta4.tar.bz2
unpacked it, created a build directory, and have executed
	cmake ..
in build.

Cmake reports errors.  The most perplexing one is that cmake reports::
        ...
        --  libgphoto2 library found............ NO
        ...
whereas libgphoto appears to be installed:
        $ rpm -q libgphoto2
        libgphoto2-2.4.5-1.fc11.x86_64
Does digikam require a more recent version of libgphoto2 ?  Or maybe
cmake is confused because libgphoto is in /usr/lib64 and not
in /usr/lib .

Cmake reports other failings of which the most annoying is the repeated
message:
        -- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig
though this doesn't look harmful.

These problems are particularly perplexing, since I don't remember any
problems building digikam-1.0.0-beta2, which I did around last July
13th.

Any help would be much appreciated - jon

=============== Complete Output of cmake is appended ===============

-- Found Qt-Version 4.5.2 (using /usr/bin/qmake-qt4)
-- Found X11: /usr/lib64/libX11.so
-- Phonon Version: 4.3.0
-- Found KDE 4.3 include dir: /usr/include/kde4
-- Found KDE 4.3 library dir: /usr/lib64/kde4/devel
-- Found the KDE4 kconfig_compiler4 preprocessor: /usr/bin/kconfig_compiler4
-- Found automoc4: /usr/bin/automoc4
-- Found lcms version 1.18, /usr/lib64/liblcms.so
-- Could NOT find Jasper  (missing:  JASPER_LIBRARY JASPER_INCLUDE_DIR)
-- Check Kdcraw library in local sub-folder...
-- Check Kdcraw library using pkg-config...
-- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig
-- Found libkdcraw release >= 0.2.0
-- Found libkdcraw: /usr/lib64/libkdcraw.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 >= 0.2.0
-- Found libkexiv2: /usr/lib64/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 >= 0.2.0
-- Found libkipi: /usr/lib64/libkipi.so
-- checking for module 'libkdcraw>=0.4.0'
--   found libkdcraw, version 0.5.0
-- checking for module 'libkexiv2>=0.5.0'
--   found libkexiv2, version 0.6.0
-- Could NOT find KdepimLibs  (missing:  KdepimLibs_CONFIG)
-- 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
-- Could not find Soprano includes.
-- Could not find Soprano library.
-- 
-- ----------------------------------------------------------------------------------
--  digiKam 1.0.0-beta4 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............. NO
-- 
CMake Error at CMakeLists.txt:176 (MESSAGE):
   digiKam needs libjasper to support JPEG2000. You need to install the correct version (>= 1.7.0).


--  Libjasper website is at http://www.ece.uvic.ca/~mdadams/jasper
-- 
--  liblcms library found............... YES
--  libkipi library found............... YES
--  libkexiv2 library found............. YES
--  libkdcraw library found............. YES
--  libgphoto2 library found............ NO
-- 
WARNING digiKam needs libgphoto2. You need to install libgphoto2 first
--  libgphoto2 website is at http://www.gphoto.org
-- 
--  libkdepimlibs library found......... NO  (optional)
-- 
--  digiKam will be compiled without address book support.
-- 
--  libmarblewidget library found....... NO  (optional)
-- 
--  digiKam will be compiled without geolocation using Marble widget support.
-- 
--  Nepomuk libraries found............. NO  (optional)
-- 
--  digiKam will be compiled without support for the Nepomuk semantic desktop services.
-- 
--  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)
CMake Error at CMakeLists.txt:318 (MESSAGE):
   digiKam will be compiled............ NO  (Look README file for more details about dependencies)


-- Configuring incomplete, errors occurred!







More information about the Digikam-users mailing list