[Digikam-users] Problems building digikam

Jonathan Ryshpan jonrysh at pacbell.net
Fri Sep 18 00:32:16 BST 2009


On Thu, 2009-09-17 at 23:33 +0200, Patrick Spendrin wrote:
> Jonathan Ryshpan schrieb:
> > 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 .
> I can't say to much about this issue, it might be though I don't think so.
...
> > 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
> > 
> But what is definitely wrong is:
> CMake Error at CMakeLists.txt:176 (MESSAGE):
>    digiKam needs libjasper to support JPEG2000. You need to install the
> correct version (>= 1.7.0).
> You shouldn't forget this issue.

Jasper is now now installed, as reflected in the latest output from
cmake, which is appended.  However digikam still can't be built because
cmake doesn't recognize libgphoto2.  I double checked the version
numbers: the README says that libgphoto2 >= 2.4.0 is required; rpm
reports libgphoto2-2.4.5-1.fc11.x86_64 present, so this looks OK.

Help is still very welcome.

=========== cmake output follows ===========

-- 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
-- Found Jasper: /usr/lib64/libjasper.so
-- Found Kdcraw library in cache: /usr/lib64/libkdcraw.so
-- Found Kexiv2 library in cache: /usr/lib64/libkexiv2.so
-- Found Kipi library in cache: /usr/lib64/libkipi.so
-- 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............. YES
--  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)
ERROR digiKam will be compiled............ NO  (Look README file for more details about dependencies)
-- ----------------------------------------------------------------------------------
-- 
-- Looking for dgettext
-- Looking for dgettext - found
-- Found Gettext: built in libc
-- Configuring done
-- Generating done
-- Build files have been written to: /home/jonrysh/src/digikam/digikam-1.0.0-beta4/build





More information about the Digikam-users mailing list