Summary: | Unknown CMake command "PKG_FIND_MODULE". | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | Kristian Karl <kristian.hermann.karl> |
Component: | Portability-Cmake | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | CLOSED FIXED | ||
Severity: | normal | CC: | caulier.gilles, dodonvictor |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 2.9.0 | |
Sentry Crash Report: | |||
Attachments: |
cmake output
Output from: "rm -rf * && cmake --trace -DCMAKE_BUILD_TYPE=relwithdebinfo -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` .. > cmake_trace.output 2>&1" |
Description
Kristian Karl
2012-08-04 13:09:43 UTC
Which cmake version you use ? Gilles caulier (In reply to comment #1) > Which cmake version you use ? > > Gilles caulier cmake version 2.8.8 Can you try now? Thank you. Created attachment 72967 [details]
cmake output
I get a different error now:
CMake Error at extra/kipi-plugins/CMakeLists.txt:88 (MESSAGE):
kipi-plugins needs libkipi. You need to install the libkipi (version >= 1.2.0) library development package.
Call Stack (most recent call first):
extra/kipi-plugins/CMakeLists.txt:225 (PRINT_LIBRARY_STATUS)
Complete output in attachment. The error states I need correct version of libkipi installed, but I do have dev package version 4.8.4 installed. (I'm using Fedora 16)
[root@krikar-thinkpad ~]# rpm -qa|grep kipi
kipi-plugins-libs-2.5.0-3.fc16.x86_64
kipi-plugins-2.5.0-3.fc16.x86_64
libkipi-4.8.4-1.fc16.x86_64
libkipi-devel-4.8.4-1.fc16.x86_64
[root@krikar-thinkpad ~]#
can you try now. btw, you don't need kipi-plugins installed from the repo, as they will be compiled with digikam-sc Hi, still get the same problem... CMake Error at extra/kipi-plugins/CMakeLists.txt:88 (MESSAGE): kipi-plugins needs libkipi. You need to install the libkipi (version >= 1.2.0) library development package. Call Stack (most recent call first): extra/kipi-plugins/CMakeLists.txt:225 (PRINT_LIBRARY_STATUS) I verified that I got the latest changes: [krikar@krikar-thinkpad digikam]$ git log --summary|head -12 commit 8ad5cff9ca8aaa1ca5c4ea6ba7fd7835a1a61361 Author: Dodon Victor <dodonvictor@gmail.com> Date: Sun Aug 5 03:05:25 2012 +0300 Fix wrong closing block conditions commit 0419ba33f9d6aeabdc3810de0d979b6458369006 Author: Dodon Victor <dodonvictor@gmail.com> Date: Sun Aug 5 02:59:14 2012 +0300 Changed FindKipi module [krikar@krikar-thinkpad digikam]$ I can't reproduce it after a fresh kubuntu 12.04 install using system libkipi (1.3.0) Can you put the output of the /usr/include/libkipi/version.h ? I definitely recomend you to use -DDIGIKAMSC_USE_PRIVATE_KDEGRAPHICS=on cmake flag when runnig cmake. Also try to get the latest changes. The file libkipi/version.h does not exist in /usr/include. On Fedora16 it ends up in "/usr/include/kde4/libkipi/version.h" The version is: static const char kipi_version[] = "1.3.0"; static const int kipi_binary_version = 8; But, using "-DDIGIKAMSC_USE_PRIVATE_KDEGRAPHICS=on" solves the problem. I'll start using that from now on! Thanx for your help. :-) Kristian, Clean cmake cache file in your build dir and restart configuration with last changes from Victor... Gilles Caulier Created attachment 72973 [details] Output from: "rm -rf * && cmake --trace -DCMAKE_BUILD_TYPE=relwithdebinfo -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` .. > cmake_trace.output 2>&1" I got the latest from Victor, and cleaned the cache, but it does not help I'm afraid. I run cmake with --trace and attached the output. It seams that the version.h file for libkipi can't be properly located. See Comment 9. But as I said in comment 9, I'll be using "-DDIGIKAMSC_USE_PRIVATE_KDEGRAPHICS=on" from now on, which solves my problem. For me, this is no issue or problem anymore. |