Bug 182781

Summary: Cannot compile/update from svn: make: *** [cmake_check_build_system] Error 1
Product: [Applications] digikam Reporter: Alex Ruddick <alexrudd0>
Component: Portability-CmakeAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: normal CC: caulier.gilles
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:

Description Alex Ruddick 2009-02-01 20:49:08 UTC
Version:           r919872 (using KDE 4.2.0)
Compiler:          g++ (Ubuntu 4.3.2-1ubuntu12) 4.3.2 
OS:                Linux
Installed from:    Ubuntu Packages

I'm running KDE 4.2 from the Ubuntu PPA:
http://ppa.launchpad.net/kubuntu-experimental/ubuntu

I previously could compile digikam following the instructions here:
http://wiki.kde.org/tiki-index.php?page=Digikam+Compilation+on+Kubuntu+Intrepid

The libraries in /kdegraphics compile fine (make/make install).  However, trying to 'make' in /graphics/build gives an error ending with "make: *** [cmake_check_build_system] Error 1"
http://pastebin.com/fb35b3e

I used to be able to update from svn and haven't done anything in the meantime except update from the PPA / intrepid-backports.
Comment 1 Pino Toscano 2009-02-01 21:06:56 UTC
from your paste:
>   find_package cannot find package KdepimLibs because KdepimLibs_DIR is set

please install the development stuff of kdepimlibs.
And please do not use bugzilla for compiling errors.
Comment 2 Alex Ruddick 2009-02-01 21:25:26 UTC
* I have kdepimlibs5-dev installed

* KDEPimlibs claims to be optional.  Not being able to find the libraries should not cause compilation to fail.  (I reopened the bug for this reason.)

* Where else do I report regressions in compiling procedures?
Comment 3 Marcel Wiesweg 2009-02-01 22:40:03 UTC
This is not a compiling problem (if digikam SVN did not compile it is usually fixed within hours by someone, and it rarely does happen). It's a problem somewhere on your system where CMake gets seriously confused when it tries to locate kdepimlibs, I'm no CMake guru.
You can report this error to your distro, search the web, (re)install dev packages, make sure there are no leftover files, or get help from a user mailing list.