Bug 225316 - ExpoBlend won't compile even with dependencies all right
Summary: ExpoBlend won't compile even with dependencies all right
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Portability-Compilation (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-02 22:07 UTC by Michal Thoma
Modified: 2017-08-19 20:59 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 1.2.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michal Thoma 2010-02-02 22:07:38 UTC
Version:           1.1.0 (using KDE 4.3.4)
OS:                Linux
Installed from:    Ubuntu Packages

While compiling kipi-plugins I could not get ExpoBlending to compile. I think I have needed dependecnies though cmake reports this:

michal@objevitel:~/Compile/kipi-plugins-1.1.0$ cmake .
-- Found Qt-Version 4.5.2 (using /usr/bin/qmake)
-- Found X11: /usr/lib/libX11.so
-- Phonon Version: 4.3.1
-- 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 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
-- 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
-- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig
-- 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 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.8.0
-- CMake version (cleaned): cmake version 2.8.0
-- 
-- ----------------------------------------------------------------------------------
--  kipi-plugins 1.1.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)
--  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)
-- ----------------------------------------------------------------------------------
-- 
-- Configuring done
-- Generating done
-- Build files have been written to: /home/michal/Compile/kipi-plugins-1.1.0
Comment 1 caulier.gilles 2010-02-02 23:32:03 UTC
Johannes,

Sound like OpenMP detect problem... right ?

Gilles Caulier
Comment 2 Johannes Wienke 2010-02-03 00:07:13 UTC
-- checking for module 'libkdcraw>=1.0.0'
--   package 'libkdcraw>=1.0.0' not found

This looks strange.

Can you remove CMakeCache.txt and start over again with cmake so that we get the whole output?
Comment 3 Michal Thoma 2010-02-03 00:28:05 UTC
(In reply to comment #2)
> -- checking for module 'libkdcraw>=1.0.0'
> --   package 'libkdcraw>=1.0.0' not found
> 
> This looks strange.
> 
> Can you remove CMakeCache.txt and start over again with cmake so that we get
> the whole output?

Here you are:

michal@objevitel:~/Compile/kipi-plugins-1.1.0$ cmake .                     
Re-run cmake no build system arguments                                     
-- 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/KDE;/usr/include                                                               
-- 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                                                                
-- 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                                                                                  
-- 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                                                                                    
-- 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                                            
-- Found GLIB2: /usr/lib/libglib-2.0.so                                                                               
-- 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 KdepimLibs: /usr/lib/cmake/KdepimLibs/KdepimLibsConfig.cmake                                                 
--   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>=0.4.0'                                                                             
--   found libkdcraw, version 0.5.0                                                                                   
-- checking for module 'libkdcraw>=1.0.0'                                                                             
--   package 'libkdcraw>=1.0.0' not found                                                                             
-- CMake version: cmake version 2.8.0                                                                                 
-- CMake version (cleaned): cmake version 2.8.0                                                                       
-- 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.1.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)                                                          
--  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                                                                                           
-- 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 unsigned short                                                                                       
-- Check size of unsigned short - done                                                                                
-- Using unsigned short
-- Check if the system is big endian - little endian
-- Looking for dgettext
-- Looking for dgettext - found
-- Found Gettext: built in libc
-- Configuring done
-- Generating done
-- Build files have been written to: /home/michal/Compile/kipi-plugins-1.1.0
Comment 4 Johannes Wienke 2010-02-03 00:46:49 UTC
Ok, your libkdcraw is too old. You need a version >= 1.0.0. Maybe we should add a message that states this...
Comment 5 caulier.gilles 2010-02-03 09:54:28 UTC
Johannes,

This is already in README file.

Gilles
Comment 6 Johannes Wienke 2010-02-03 10:35:55 UTC
But the CMake script could mention this more explicit.
Comment 7 Johannes Wienke 2010-02-03 17:36:18 UTC
SVN commit 1084736 by jwienke:

Warn about libkdcraw too old for expoblending

BUG: 225316

 M  +2 -1      CMakeLists.txt  
 M  +2 -1      NEWS  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1084736