Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
digikam-0.10.0_beta7 fails - can't find libraries [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
hunky
l33t
l33t


Joined: 19 Nov 2003
Posts: 826
Location: Alaska

PostPosted: Sun Jan 11, 2009 3:54 am    Post subject: digikam-0.10.0_beta7 fails - can't find libraries [SOLVED] Reply with quote

I'm using kde-3.5.10 and kde-4.1.87 from kde-testing overlay with kdeprefix in make.conf USE. Digikam-0.9.4 works ok.

Digikam-0.10.0_beta5 and beta7 fail by not finding libraries libkipi, libkexiv2, libkdcraw.
Code:
-- Found JPEG: /usr/lib/libjpeg.so                                             
-- Found ZLIB: /lib/libz.so                                                     
-- Found PNG: /usr/lib/libpng.so                                               
-- Found TIFF: /usr/include                                                     
-- 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     
-- PKGCONFIG() indicates that libkipi is not installed (install the package which contains libkipi.pc if you want to support this feature)                     
-- 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                                       
-- 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)   
--                                                                             
-- ----------------------------------------------------------------------------------                                                                           
--  digiKam 0.10.0-beta7 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:171 (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:181 (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:191 (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......... 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.
--                                                                           
--  liblensfun library found............ NO  (optional)                     
--                                                                           
--  digiKam will be compiled without lens auto-correction image editor plugin.
--                                                                           
CMake Error at CMakeLists.txt:264 (MESSAGE):                                 
   digiKam will be compiled............ NO  (Look README file for more details about dependencies)                                                             


-- Configuring incomplete, errors occurred!


I assume it wants the kde-base libraries rather than the media-libs:

Code:
jad ~ # emerge -pv kde-base/libkdcraw kde-base/libkexiv2 kde-base/libkipi

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] kde-base/libkdcraw-4.1.87  USE="kdeprefix" 0 kB [1]
[ebuild   R   ] kde-base/libkexiv2-4.1.87  USE="kdeprefix" 0 kB [1]
[ebuild   R   ] kde-base/libkipi-4.1.87  USE="kdeprefix" 0 kB [1]


Anyone know how to figure out what I've done wrong? /jd


Last edited by hunky on Mon Jan 12, 2009 5:29 am; edited 1 time in total
Back to top
View user's profile Send private message
tranquilcool
Veteran
Veteran


Joined: 25 Mar 2005
Posts: 1160

PostPosted: Sun Jan 11, 2009 10:03 am    Post subject: Reply with quote

install lensfun by yourself.
_________________
this is a strange strange world.
Back to top
View user's profile Send private message
agent_jdh
Veteran
Veteran


Joined: 08 Aug 2002
Posts: 1779
Location: Scotland

PostPosted: Sun Jan 11, 2009 11:21 am    Post subject: Reply with quote

Is Digikam 0.10 beta being installed form kde-testing overlay? It looks like the overlay does not contain the required versions of the 3 other packages digikam needs that you identified. So maybe the overlay needs updated?
_________________
Jingle Jangle Jewellery
Back to top
View user's profile Send private message
hunky
l33t
l33t


Joined: 19 Nov 2003
Posts: 826
Location: Alaska

PostPosted: Sun Jan 11, 2009 7:37 pm    Post subject: Reply with quote

agent_jdh wrote:
Is Digikam 0.10 beta being installed form kde-testing overlay? It looks like the overlay does not contain the required versions of the 3 other packages digikam needs that you identified. So maybe the overlay needs updated?


Thanks for replying!

Yes, it is trying to install from the kde-testing overlay, which is up to date. I have had this problem for a couple months now. I first started using kde4 by using the kde-crazy overlay, using the -live ebuilds (which I think are similar to svn but somehow different) and that didn't work out so I switched to the kde-4.1.72 (or so) snapshot ebuilds. It was sometime in this era that digikam-0.10.0_beta5 started trying to emerge but even then it failed with the same errors. The devs then took the snapshots out of -crazy and put them in -testing so I switched from crazy to testing. (I think soon the two overlays are about to be merged). But that shows a bit of the history. I've gone up through kde-4.1.85 and now am at 4.1.87 - each time I upgrade hoping it will magically fix the problem but no luck.

I have re-emerged those libraries a few times as well. Revdep-rebuild returns nothing. Also, gwenview shows no plugins - so I'm guessing it doesn't find the kipi-plugins either.

cheers, jd

oh, and thanks for the tip in lensfun. Here's a bit more info on that:
https://forums.gentoo.org/viewtopic-t-710342-highlight-lensfun.html
Back to top
View user's profile Send private message
hunky
l33t
l33t


Joined: 19 Nov 2003
Posts: 826
Location: Alaska

PostPosted: Mon Jan 12, 2009 12:50 am    Post subject: Reply with quote

I notice I get the same fail now with digikam-0.10.0_beta8 and kipi-plugins-0.2.0_beta6, which fails with:
Code:
-- 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)                                                     
CMake Error at /usr/kde/live/share/apps/cmake/modules/FindKexiv2.cmake:91 (message):             
  Could NOT find libkexiv2 header files                                                           
Call Stack (most recent call first):                                                             
  CMakeLists.txt:37 (FIND_PACKAGE)                                                               


-- Configuring incomplete, errors occurred!
 *                                         
 * ERROR: media-plugins/kipi-plugins-0.2.0_beta6 failed.


Code:
jad ~ # locate libkexiv2.pc
/usr/kde/3.5/lib/pkgconfig/libkexiv2.pc
/usr/kde/4.2/lib/pkgconfig/libkexiv2.pc
/usr/portage/distfiles/svn-src/KDE/kdegraphics/kdegraphics/libs/libkexiv2/.svn/text-base/libkexiv2.pc.cmake.svn-base
/usr/portage/distfiles/svn-src/KDE/kdegraphics/kdegraphics/libs/libkexiv2/libkexiv2.pc.cmake
Back to top
View user's profile Send private message
hunky
l33t
l33t


Joined: 19 Nov 2003
Posts: 826
Location: Alaska

PostPosted: Mon Jan 12, 2009 1:06 am    Post subject: Reply with quote

I took a look in /var/tmp/portage/media-gfx/digikam-0.10.0_beta8/temp/gentoo_common_config.cmake file and the last lines in that file say this:
Code:
SET(CMAKE_INSTALL_PREFIX /usr/kde/live CACHE FILEPATH "install path prefix")
SET(LIB_SUFFIX  CACHE FILEPATH "library path suffix")
SET(LIB_INSTALL_DIR /usr/kde/live/lib CACHE FILEPATH "library install directory")

SET(CMAKE_BUILD_TYPE Release CACHE STRING "determines build settings")


I do have a /usr/kde/live directory but I also have /usr/kde/4.2 and ../3.5 directories. Since I'm not using live ebuilds, could this be the problem? How could I fix it if so?

Here's what I got:
Code:
jad ~ # ls /usr/kde/
3.5/  4.1/  4.2/  live/
jad ~ # ls /usr/kde/live/
bin/     etc/     include/ lib/     share/
jad ~ # ls /usr/kde/4.2/
bin/      env/      etc/      include/  lib/      share/    shutdown/


cheers, JD

[edit] I also just installed amarok2.0.1 and it installed in /usr/kde/live/bin - result being that the amarok in my kde menu only sees amarok1.4. If I start amarok by typing /usr/kde/live/bin/amarok then it starts but has no sound. So it isn't just digikam that is getting screwed by something on my kde install.
Back to top
View user's profile Send private message
hunky
l33t
l33t


Joined: 19 Nov 2003
Posts: 826
Location: Alaska

PostPosted: Mon Jan 12, 2009 5:31 am    Post subject: Reply with quote

thanks all who've both read and those that responded and tried to help. It was indeed my error. I found out I had one too many kdelibs installed. I had tried to remove all of the live stuff but missed kdelibs-9999. I unmerged it and now I'm building digikam. I'll have to try out that lensfun and reinstall it, but whoo-hoo - on to other problems..

cheers, JD
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum