Problems building digikam

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Problems building digikam

Jonathan Ryshpan
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!




_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Problems building digikam

Patrick Spendrin
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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.
>
> Cmake reports other failings of which the most annoying is the repeated
> message:
this is not problematic...
>         -- 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
>
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.

regards,
Patrick
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)

iEYEARECAAYFAkqyqzoACgkQi49rfdk/G3Yt0ACbB64wZmU4C14BR+WyjTFv8aMB
bzIAnRS4xzzHUMO+MjL7GLUj5NHTfvRo
=RFQN
-----END PGP SIGNATURE-----
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Problems building digikam

Jonathan Ryshpan
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


_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Problems building digikam

Jonathan Ryshpan
On Thu, 2009-09-17 at 16:32 -0700, Jonathan Ryshpan wrote:
> 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.

The problem is that libgphoto2 was installed but libgphoto2-devel was
not.  Duuuhhh...

Now on to Soprano issues.

jon


_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users