cmake - I don't get it

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

cmake - I don't get it

Bugzilla from m.mickey@gmx.de
Hi,

I need again your help.... I wanted to install the latest svn 884828, so
I started my script... it didn't work, so I tried to find the error...
starting cmake by hand I got the attached... my problem is, why doesn't
he find libkexiv2 in the first place, but finds it in the second
place... the newest libkexiv2 version is installed and my running
digikam tells me it runs with libkexiv2 0.5... so can you please help
me? Thanks!

greets, mike

-- Found Qt-Version 4.4.3 (using
/usr/bin/qmake-qt4)                                              
-- Found X11:
/usr/lib/libX11.so                                                                  

-- Found Threads:
TRUE                                                                            

-- Found Automoc4:
/usr/bin/automoc4                                                              

-- Found Perl:
/usr/bin/perl                                                                      

-- Found KDE 4.1 include dir:
/usr/include                                                        
-- Found KDE 4.1 library dir:
/usr/lib                                                            
-- Found KDE4 kconfig_compiler preprocessor:
/usr/bin/kconfig_compiler                            
-- Found automoc4:
/usr/bin/automoc4                                                              

-- Found Freetype: -lfreetype
-lz                                                                
-- 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 JPEG:
/usr/lib/libjpeg.so                                                                

-- Found PNG:
/usr/lib/libpng.so                                                                  

-- Found lcms version 1.16,
/usr/lib/liblcms.so                                                  
-- Found JPEG:
/usr/lib/libjpeg.so                                                                

-- Found PNG:
/usr/lib/libpng.so                                                                  

-- Found JPEG:
/usr/lib/libjpeg.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                                              
-- Found gphoto2: -L/usr/lib -lgphoto2_port;-L/usr/lib -lgphoto2
-lgphoto2_port -lm              
-- Found KDE PIM
libraries                                                                        

-- Found LensFun:
/usr/local/include                                                              

--                                                                                                

--
----------------------------------------------------------------------------------              

--  digiKam 0.10.0-beta6 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.............
NO                                                      
--                                                                                                

CMake Error at digikam/CMakeLists.txt:181
(MESSAGE):                                              
   digiKam needs libkexiv2 library >= 0.5.0. You need to install
libkexiv2 first                  


--  libkexiv2 website is at http://www.kipi-plugins.org
--                                                    
--  libkdcraw library found............. YES          
--  libgphoto2 library found............ YES          
--  libkdepimlibs library found......... YES (optional)
--  libmarblewidget library found....... YES (optional)
--  liblensfun library found............ YES (optional)
--  digiKam will be compiled............ YES          
--
----------------------------------------------------------------------------------
--                                                                                  

-- Adjusting compilation flags for GCC version (
4.3.2)                            
-- 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 JPEG:
/usr/lib/libjpeg.so                                                  
-- Found PNG:
/usr/lib/libpng.so                                                    
-- Found EXPAT:
/usr/lib/libexpat.so                                                
-- Found Threads:
TRUE                                                              
-- 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                                                                                              

-- KDE CMake PKGCONFIG macro indicates that gpod-1.0 is not installed on
your computer.          
-- Install the package which contains gpod-1.0.pc if you want to support
this feature.            
-- Could not find OPTIONAL package
Gpod                                                          
-- Found GLIB2:
/usr/lib/libglib-2.0.so                                                            

-- 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
-- Could not find OPTIONAL package Sane
-- Found X11: /usr/lib/libX11.so
--
--
----------------------------------------------------------------------------------
--  kipi-plugins 0.2.0-beta4 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 found........ YES (optional)
--  libopengl library found............. YES (optional)
--  libopencv library found............. YES (optional)
--  libgpod library found......  ....... NO  (optional)
--  libX11 library found................ YES (optional)
--  libksane library found.............. NO  (optional)
--  kipi-plugins will be compiled....... YES
--  HtmlExport will be compiled......... YES (optional)
--  SlideShow will be compiled.......... YES (optional)
--  ImageViewer will be compiled........ YES (optional)
--  AcquireImages will be compiled...... NO  (optional - Look README
file for more details about dependencies)
--  DNGConverter will be compiled....... YES (optional)
--  RemoveRedEyes will be compiled...... YES (optional)
--  IpodExport will be compiled......... NO  (optional - Look README
file for more details about dependencies)
--
----------------------------------------------------------------------------------
--
--
-----------------------------------------------------------------------------
-- The following external packages were located on your system.
-- This installation will have the extra features provided by these
packages.
+ libopengl
+ libgphoto2
-----------------------------------------------------------------------------
-- The following OPTIONAL packages could NOT be located on your system.
-- Consider installing them to enable more features from this software.
+ imlib: imlib is needed to build kuickshow project
<http://freshmeat.net/projects/imlib/>
-----------------------------------------------------------------------------

-- Configuring incomplete, errors occurred!

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

Re: cmake - I don't get it

Patrick Spendrin
Mickey schrieb:
> Hi,
>
> I need again your help.... I wanted to install the latest svn 884828, so
> I started my script... it didn't work, so I tried to find the error...
> starting cmake by hand I got the attached... my problem is, why doesn't
> he find libkexiv2 in the first place, but finds it in the second
> place... the newest libkexiv2 version is installed and my running
> digikam tells me it runs with libkexiv2 0.5... so can you please help
> me? Thanks!
There has been some work going on inside the FindKExiv.cmake file so
basically this might depend how old your kdelibs build is (you should
update kdelibs/cmake/modules, install that and try again).

Patrick

>
> greets, mike
>
> -- Found Qt-Version 4.4.3 (using
> /usr/bin/qmake-qt4)                                              
> -- Found X11:
> /usr/lib/libX11.so                                                                  
>
> -- Found Threads:
> TRUE                                                                            
>
> -- Found Automoc4:
> /usr/bin/automoc4                                                              
>
> -- Found Perl:
> /usr/bin/perl                                                                      
>
> -- Found KDE 4.1 include dir:
> /usr/include                                                        
> -- Found KDE 4.1 library dir:
> /usr/lib                                                            
> -- Found KDE4 kconfig_compiler preprocessor:
> /usr/bin/kconfig_compiler                            
> -- Found automoc4:
> /usr/bin/automoc4                                                              
>
> -- Found Freetype: -lfreetype
> -lz                                                                
> -- 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 JPEG:
> /usr/lib/libjpeg.so                                                                
>
> -- Found PNG:
> /usr/lib/libpng.so                                                                  
>
> -- Found lcms version 1.16,
> /usr/lib/liblcms.so                                                  
> -- Found JPEG:
> /usr/lib/libjpeg.so                                                                
>
> -- Found PNG:
> /usr/lib/libpng.so                                                                  
>
> -- Found JPEG:
> /usr/lib/libjpeg.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                                              
> -- Found gphoto2: -L/usr/lib -lgphoto2_port;-L/usr/lib -lgphoto2
> -lgphoto2_port -lm              
> -- Found KDE PIM
> libraries                                                                        
>
> -- Found LensFun:
> /usr/local/include                                                              
>
> --                                                                                                
>


--
web:                 http://windows.kde.org
mailing list:        [hidden email]
irc:                 #kde-windows (irc.freenode.net)
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

Re: cmake - I don't get it

Gilles Caulier-4
This is relevant of my last changes in libkexiv2 : i have added a new method to set on/off Raw metadata writing operations.

RAW metadata writing still experimental in Exi2 library and this operations are now disable by default in digiKam. why? to prevent data lost in your computer of course.

In digiKam setup panel, there is a new option to turn on Raw metadata writing mode.

So, you need to use last libkexiv2 from svn trunk to compile digiKam.

Best

Gilles Caulier

2008/11/16 Patrick Spendrin <[hidden email]>
Mickey schrieb:
> Hi,
>
> I need again your help.... I wanted to install the latest svn 884828, so
> I started my script... it didn't work, so I tried to find the error...
> starting cmake by hand I got the attached... my problem is, why doesn't
> he find libkexiv2 in the first place, but finds it in the second
> place... the newest libkexiv2 version is installed and my running
> digikam tells me it runs with libkexiv2 0.5... so can you please help
> me? Thanks!
There has been some work going on inside the FindKExiv.cmake file so
basically this might depend how old your kdelibs build is (you should
update kdelibs/cmake/modules, install that and try again).

Patrick
>
> greets, mike
>
> -- Found Qt-Version 4.4.3 (using
> /usr/bin/qmake-qt4)
> -- Found X11:
> /usr/lib/libX11.so
>
> -- Found Threads:
> TRUE
>
> -- Found Automoc4:
> /usr/bin/automoc4
>
> -- Found Perl:
> /usr/bin/perl
>
> -- Found KDE 4.1 include dir:
> /usr/include
> -- Found KDE 4.1 library dir:
> /usr/lib
> -- Found KDE4 kconfig_compiler preprocessor:
> /usr/bin/kconfig_compiler
> -- Found automoc4:
> /usr/bin/automoc4
>
> -- Found Freetype: -lfreetype
> -lz
> -- 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 JPEG:
> /usr/lib/libjpeg.so
>
> -- Found PNG:
> /usr/lib/libpng.so
>
> -- Found lcms version 1.16,
> /usr/lib/liblcms.so
> -- Found JPEG:
> /usr/lib/libjpeg.so
>
> -- Found PNG:
> /usr/lib/libpng.so
>
> -- Found JPEG:
> /usr/lib/libjpeg.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
> -- Found gphoto2: -L/usr/lib -lgphoto2_port;-L/usr/lib -lgphoto2
> -lgphoto2_port -lm
> -- Found KDE PIM
> libraries
>
> -- Found LensFun:
> /usr/local/include
>
> --
>


--
web:                 http://windows.kde.org
mailing list:        [hidden email]
irc:                 #kde-windows (irc.freenode.net)
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel


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

Re: cmake - I don't get it

Bugzilla from m.mickey@gmx.de
In reply to this post by Bugzilla from m.mickey@gmx.de
Gilles: I have the latest libkexiv2 from svn installed

I install both kipi-plugins and digikam with:

export QTDIR=/usr/lib/qt4/
export PATH=$QTDIR/bin:$PATH
export LD_LIBRARY_PATH=/usr/lib/kde4/lib/
export PKG_CONFIG_PATH=/usr/lib/kde4/lib/pkgconfig
cmake -DCMAKE_BUILD_TYPE=debugfull -DCMAKE_INSTALL_PREFIX=`kde4-config
--prefix` .

Patrick: I have the kdelibs from ubuntu 8.10 which is 4.1.3

greets, mike
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel