Can't compile digikam 0.10 on archlinux.

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

Can't compile digikam 0.10 on archlinux.

Bugzilla from elmargol@googlemail.com
Hi I try to build digikam 0.10 on archlinux.

I have kdegraphics 4.2.3-1 installed and still can't compile digikam

sudo abs
cp -r /var/abs/extra/digikam/ /tmp
cd /tmp/digikam/
makepkg PKGBUILD

-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- 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.5.1 (using /usr/bin/qmake)
-- Looking for XOpenDisplay in
/usr/lib/libX11.so;/usr/lib/libXext.so;/usr/lib/libXft.so;/usr/lib/libXau.so;/usr/lib/libXdmcp.so;/usr/lib/libXpm.so
-- Looking for XOpenDisplay in
/usr/lib/libX11.so;/usr/lib/libXext.so;/usr/lib/libXft.so;/usr/lib/libXau.so;/usr/lib/libXdmcp.so;/usr/lib/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/libX11.so
-- Looking for include files CMAKE_HAVE_PTHREAD_H
-- Looking for include files CMAKE_HAVE_PTHREAD_H - 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
-- Found Automoc4: /usr/bin/automoc4
-- Found Perl: /usr/bin/perl
-- Performing Test _OFFT_IS_64BIT
-- Performing Test _OFFT_IS_64BIT - Failed
-- 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
-- Phonon Version: 4.3.0
-- Found Phonon: /usr/lib/libphonon.so
-- Found Phonon Includes: /usr/include/KDE;/usr/include
-- Found KDE 4.2 include dir: /usr/include
-- Found KDE 4.2 library dir: /usr/lib
-- Found the KDE4 kconfig_compiler preprocessor:
/usr/bin/kconfig_compiler
-- Found automoc4: /usr/bin/automoc4
-- checking for module 'lcms'
--   found lcms, version 1.18
-- Found lcms version 1.18, /usr/lib/liblcms.so
-- Found JPEG: /usr/lib/libjpeg.so
-- Found ZLIB: /usr/lib/libz.so
-- Found PNG: /usr/lib/libpng.so
-- Found TIFF: /usr/lib/libtiff.so
-- Found Jasper: /usr/lib/libjasper.so
-- Check Kdcraw library in local sub-folder...
-- Check Kdcraw library using pkg-config...
-- WARNING: you are using the obsolete 'PKGCONFIG' macro use
FindPkgConfig
-- PKGCONFIG() indicates that libkdcraw is not installed (install the
package which contains libkdcraw.pc if you want to support this
feature)
-- Check Kexiv2 library in local sub-folder...
-- Check Kexiv2 library using pkg-config...
-- WARNING: you are using the obsolete 'PKGCONFIG' macro use
FindPkgConfig
-- PKGCONFIG() indicates that libkexiv2 is not installed (install the
package which contains libkexiv2.pc if you want to support this
feature)
-- 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, too old
-- Found gphoto2: -L/usr/lib -lgphoto2_port;-L/usr/lib -lgphoto2
-lgphoto2_port -lm
-- checking for module 'libkdcraw>=0.4.0'
--   package 'libkdcraw>=0.4.0' not found
-- checking for module 'libkexiv2>=0.5.0'
--   package 'libkexiv2>=0.5.0' not found
-- Found KdepimLibs: /usr/lib/cmake/KdepimLibs-4.2.3/KdepimLibsConfig.cmake
-- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig
-- Found LensFun: /usr/include
--
-- ----------------------------------------------------------------------------------
--  digiKam 0.10.0 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............... NO
--
CMake Error at CMakeLists.txt:175 (MESSAGE):
   digiKam needs libkipi library >= 0.2.0. You need to install libkipi first


--  libkipi website is at http://www.digikam.org/sharedlibs
--
--  libkexiv2 library found............. NO
--
CMake Error at CMakeLists.txt:185 (MESSAGE):
   digiKam needs libkexiv2 library >= 0.5.0. You need to install libkexiv2 first


--  libkexiv2 website is at http://www.digikam.org/sharedlibs
--
--  libkdcraw library found............. NO
--
CMake Error at CMakeLists.txt:195 (MESSAGE):
   digiKam needs libkdcraw library >= 0.4.0. You need to install libkdcraw first


--  libkdcraw website is at http://www.digikam.org/sharedlibs
--
--  libgphoto2 library found............ YES
--  libkdepimlibs library found......... YES (optional)
--  libmarblewidget library found....... NO  (optional)
--
--  digiKam will be compiled without geolocation using Marble widget support.
--
--  liblensfun library found............ YES (optional)
CMake Error at CMakeLists.txt:269 (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: Can't compile digikam 0.10 on archlinux.

Bugzilla from tobias@schula.org
Am Mittwoch, 20. Mai 2009 12:57:14 schrieb Markus Golser:
> Hi I try to build digikam 0.10 on archlinux.
>
> I have kdegraphics 4.2.3-1 installed and still can't compile digikam
>

> ---------------------------------------------------------------------------
>------- --  digiKam 0.10.0 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............... NO
> --
> CMake Error at CMakeLists.txt:175 (MESSAGE):
>    digiKam needs libkipi library >= 0.2.0. You need to install libkipi
> first
>
>
> --  libkipi website is at http://www.digikam.org/sharedlibs
> --
> --  libkexiv2 library found............. NO
> --
> CMake Error at CMakeLists.txt:185 (MESSAGE):
>    digiKam needs libkexiv2 library >= 0.5.0. You need to install libkexiv2
> first
>
>
> --  libkexiv2 website is at http://www.digikam.org/sharedlibs
> --
> --  libkdcraw library found............. NO
> --
> CMake Error at CMakeLists.txt:195 (MESSAGE):
>    digiKam needs libkdcraw library >= 0.4.0. You need to install libkdcraw
> first
>
>
> --  libkdcraw website is at http://www.digikam.org/sharedlibs
> --
> --  libgphoto2 library found............ YES
> --  libkdepimlibs library found......... YES (optional)
> --  libmarblewidget library found....... NO  (optional)
> --
> --  digiKam will be compiled without geolocation using Marble widget
> support. --
> --  liblensfun library found............ YES (optional)
> CMake Error at CMakeLists.txt:269 (MESSAGE):
>    digiKam will be compiled............ NO  (Look README file for more
> details about dependencies)

Are you shure you want to compile digikam 0.10.0? AFAIK it is already in the
repos of arch.

However, to solve your problem you must take a look at the output cmake gives
you. So you obviously don't have kipi-plugins installed, nor you have
libkdcraw and libkexiv2. But they are all essential to build digikam. I don't
know if arch offers them in some packages (I'm a debian user) so if it doesn't
you must compile them yourself.

There is a step by step tutorial on the digikam homepage [1]. There you should
get all information you need. But if you want to build the stable digikam
instead of the svn one I suggest you to checkout the stable branch [2] or to
download the tarball [3] and then build it without the debug instructions.


Tobias

Links:
[1] http://www.digikam.org/drupal/download?q=download/KDE4
[2] svn://anonsvn.kde.org/home/kde/branches/extragear/graphics/digikam/
[3] http://www.digikam.org/drupal/download?q=download/tarball
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users