[Digikam-users] Compile issues.

Tom Cada thomas.cada at gmail.com
Sun Feb 7 02:50:26 GMT 2010


I have successfully compiled digikam version 1.2.0 (rev.: 1085366)
except for a few issues.

-  From what I can see, I have all of the necessary dependencies (as
defined in the kipi-plugin README) to compile ExposureBlending but in
the log created by cmake, it says that it will not be compiled.

-  In the digikam dependencies section cmake finds the libkdcraw
library but in the kipi-plugins section, it is not found.

-  The imlib cmake package is not found. I found on Google that the
cmake imlib package had been moved within the KDE libraries. I am
running Ubuntu 9.10 and have installed KDE packages as required. Where
is it found so I can load the required package?

I have included the log of the cmake session.

Any assistance is most welcome... Tom

-- 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.2 (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
-- Looking for XOpenDisplay in
/usr/lib/libX11.so;/usr/lib/libXext.so;/usr/lib/libXft.so;/usr/lib/libXau.so;/usr/lib/libXdmcp.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
-- Phonon Version: 4.3.1
-- Found Phonon: /usr/lib/libphonon.so
-- Found Phonon Includes: /usr/include/qt4/KDE;/usr/include/qt4
-- Performing Test _OFFT_IS_64BIT
-- Performing Test _OFFT_IS_64BIT - Success
-- 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
-- Found KDE 4.3 include dir: /usr/include
-- Found KDE 4.3 library dir: /usr/lib
-- Found the KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler
-- Found automoc4: /usr/bin/automoc4
-- Found Freetype: -lfreetype -lz
-- Boost version: 1.38.0
-- Found the following Boost libraries:
-- optional cmake package FindIMLIB.cmake (for Imlib) was not found.
-- Found libksane: /usr/lib/libksane.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/lib/libkexiv2.so
-- 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/lib/libkdcraw.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/lib/libkipi.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
-- checking for modules 'libgvc;libcdt;libgraph;libpathplan'
--   found libgvc, version 2.20.2
--   found libcdt, version 2.20.2
--   found libgraph, version 2.20.2
--   found libpathplan, version 2.20.2
-- Looking for include files HAVE_CRT_EXTERNS_H
-- Looking for include files HAVE_CRT_EXTERNS_H - not found.
-- Looking for include files HAVE_DIRENT_H
-- Looking for include files HAVE_DIRENT_H - found
-- Looking for include files HAVE_STDLIB_H
-- Looking for include files HAVE_STDLIB_H - found
-- Looking for include files HAVE_UNISTD_H
-- Looking for include files HAVE_UNISTD_H - found
-- Looking for include files HAVE_FCNTL_H
-- Looking for include files HAVE_FCNTL_H - found
-- Looking for include files HAVE_ICONV_H
-- Looking for include files HAVE_ICONV_H - found
-- Looking for include files HAVE_NDIR_H
-- Looking for include files HAVE_NDIR_H - not found.
-- Looking for C++ include sstream
-- Looking for C++ include sstream - found
-- Looking for include files HAVE_SYS_DIR_H
-- Looking for include files HAVE_SYS_DIR_H - found
-- Looking for include files HAVE_SYS_MMAN_H
-- Looking for include files HAVE_SYS_MMAN_H - found
-- Looking for include files HAVE_SYS_NDIR_H
-- Looking for include files HAVE_SYS_NDIR_H - not found.
-- Looking for include files HAVE_SYS_TIME_H
-- Looking for include files HAVE_SYS_TIME_H - found
-- Looking for include files HAVE_WCHAR_H
-- Looking for include files HAVE_WCHAR_H - found
-- Looking for include files HAVE_WCTYPE_H
-- Looking for include files HAVE_WCTYPE_H - found
-- Looking for mkstemp
-- Looking for mkstemp - found
-- Looking for mkstemps
-- Looking for mkstemps - not found
-- Looking for _NSGetEnviron
-- Looking for _NSGetEnviron - not found
-- Looking for initgroups
-- Looking for initgroups - found
-- Looking for getpagesize
-- Looking for getpagesize - found
-- Looking for mmap
-- Looking for mmap - found
-- Looking for setenv
-- Looking for setenv - found
-- Looking for unsetenv
-- Looking for unsetenv - found
-- Looking for usleep
-- Looking for usleep - found
-- Looking for gethostname
-- Looking for gethostname - found
-- Looking for getpwuid
-- Looking for getpwuid - found
-- Looking for iswspace
-- Looking for iswspace - found
-- Looking for res_init
-- Looking for res_init - found
-- Looking for vsnprintf
-- Looking for vsnprintf - found
-- Performing Test HAVE_RES_INIT_PROTO
-- Performing Test HAVE_RES_INIT_PROTO - Success
-- Performing Test HAVE_INITGROUPS_PROTO
-- Performing Test HAVE_INITGROUPS_PROTO - Success
-- Performing Test HAVE_SETENV_PROTO
-- Performing Test HAVE_SETENV_PROTO - Success
-- Performing Test HAVE_MKSTEMPS_PROTO
-- Performing Test HAVE_MKSTEMPS_PROTO - Failed
-- Performing Test HAVE_UNSETENV_PROTO
-- Performing Test HAVE_UNSETENV_PROTO - Success
-- Performing Test HAVE_USLEEP_PROTO
-- Performing Test HAVE_USLEEP_PROTO - Success
-- 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 int
-- Check size of int - done
-- Check size of char *
-- Check size of char * - done
-- Check size of long
-- Check size of long - done
-- Check size of short
-- Check size of short - done
-- Check size of size_t
-- Check size of size_t - done
-- Check size of unsigned long
-- Check size of unsigned long - done
--   found lcms, version 1.18
-- Found lcms version 1.18, /usr/lib/liblcms.so
-- Found Jasper: /usr/lib/libjasper.so
-- Found Kdcraw library in cache: /usr/lib/libkdcraw.so
-- Found Kexiv2 library in cache: /usr/lib/libkexiv2.so
-- Found Kipi library in cache: /usr/lib/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
-- Found gphoto2: -L/usr/lib -lgphoto2_port;-L/usr/lib -lgphoto2
-lgphoto2_port -lm
-- Found KdepimLibs: /usr/lib/cmake/KdepimLibs/KdepimLibsConfig.cmake
-- Found MarbleWidget: /usr/lib/libmarblewidget.so
-- Can build Marble plugin: yes
-- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig
-- Found LensFun: /usr/include
-- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig
-- Found GLIB2: /usr/lib/libglib-2.0.so
-- 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 Soprano version 2.3.1: /usr/lib/libsoprano.so
-- Found Soprano includes: /usr/include
-- Found Soprano Index: /usr/lib/libsopranoindex.so
-- Found Soprano Client: /usr/lib/libsopranoclient.so
-- Found Soprano Plugin Dir: /usr/share/soprano/plugins
-- Found Soprano Plugins: nquadparser nquadserializer raptorparser
raptorserializer redlandbackend
-- Found NEPOMUK: /usr/lib/libnepomuk.so
-- Found Doxygen: /usr/bin/doxygen
-- 
-- ----------------------------------------------------------------------------------
--  digiKam 1.2.0 dependencies results   <http://www.digikam.org>
-- 
--  Qt4 SQL module 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................. YES (optional)
--  libkdepimlibs library found.............. YES (optional)
--  libmarblewidget library found............ YES (optional)
--  Can build Marble plugin.................. YES (optional)
--  Nepomuk libraries found.................. YES (optional)
--  liblensfun library found................. YES (optional)
--  libglib2 library found................... YES (optional)
--  liblqr-1 library found................... YES (optional)
--  Doxygen found............................ YES (optional)
--  digiKam will be compiled................. YES
-- ----------------------------------------------------------------------------------
-- 
-- Adjusting compilation flags for GCC version ( 4.4.1 )
-- Found Kexiv2 library in cache: /usr/lib/libkexiv2.so
-- Found Kdcraw library in cache: /usr/lib/libkdcraw.so
-- Found Kipi library in cache: /usr/lib/libkipi.so
-- Found EXPAT: /usr/lib/libexpat.so
--   found libxml-2.0, version 2.7.5
-- Found LibXml2: /usr/lib/libxml2.so
--   found libxslt, version 1.1.24
-- Found LibXslt: /usr/lib/libxslt.so
-- OpenCV root directory: /usr
-- OpenCV Include Directory:
/usr/include/opencv;/usr/include/opencv;/usr/include/opencv;/usr/include/opencv
-- OpenCV Libraries:
/usr/lib/libcv.so;/usr/lib/libcxcore.so;/usr/lib/libcvaux.so;/usr/lib/libhighgui.so
-- checking for module 'libgpod-1.0'
--   found libgpod-1.0, version 0.7.2
-- Found Gpod: /usr/include/gpod-1.0
-- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig
-- Found Gdk: /usr/include/gtk-2.0
-- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig
-- checking for module 'gobject-2.0'
--   found gobject-2.0, version 2.22.3
-- Found GObject libraries:
/usr/lib/libgobject-2.0.so;/usr/lib/libgmodule-2.0.so;/usr/lib/libgthread-2.0.so;/usr/lib/libglib-2.0.so
-- Found GObject includes : /usr/include/glib-2.0/gobject
--   found qca2, version 2.0.2
-- Found QCA2: /usr/lib/libqca.so
-- Found libksane: /usr/lib/libksane.so
-- Found X11: /usr/lib/libX11.so
-- checking for module 'libkdcraw>=1.0.0'
--   package 'libkdcraw>=1.0.0' not found
-- CMake version: cmake version 2.6-patch 4

-- CMake version (cleaned): cmake version 2.6.4

-- Try OpenMP C flag = [-fopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Success
-- Try OpenMP CXX flag = [-fopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Success
-- Found OpenMP: -fopenmp
-- 
-- ----------------------------------------------------------------------------------
--  kipi-plugins 1.2.0 dependencies results   <http://www.kipi-plugins.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)
--  libopencv library found.................. YES (optional)
--  libgpod library found.................... YES (optional)
--  Gdk library found........................ YES (optional)
--  libkdepim library found.................. YES (optional)
--  qca2 library found....................... YES (optional)
--  libkdcraw >= 1.0.0 library found......... NO  (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)
--  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)
--  IpodExport will be compiled.............. YES (optional)
--  Calendar will be compiled................ YES (optional)
--  ExposureBlending will be compiled........ NO  (optional - Look
README file for more details about dependencies)
-- ----------------------------------------------------------------------------------
-- 
-- Check if the system is big endian
-- Searching 16 bit integer
-- Check size of unsigned short
-- Check size of unsigned short - done
-- Using unsigned short
-- Check if the system is big endian - little endian
-- GraphViz was not found, cannot build kgraphviewer
-- Configuring done
-- Generating done
-- Build files have been written to: /home/tom/graphics/build



More information about the Digikam-users mailing list