[Digikam-devel] [Bug 304550] New: Unknown CMake command "PKG_FIND_MODULE".
Kristian Karl
kristian.hermann.karl at gmail.com
Sat Aug 4 14:09:43 BST 2012
https://bugs.kde.org/show_bug.cgi?id=304550
Bug ID: 304550
Severity: normal
Version: 2.9.0
Priority: NOR
Assignee: digikam-devel at kde.org
Summary: Unknown CMake command "PKG_FIND_MODULE".
Classification: Unclassified
OS: Linux
Reporter: kristian.hermann.karl at gmail.com
Hardware: Other
Status: UNCONFIRMED
Component: libkipi
Product: digikam
When building latest from master, following error occurs when running cmake:
=== partial printout ===
-- Check Kipi library using pkg-config...
CMake Error at cmake/modules/FindKipi.cmake:70 (PKG_FIND_MODULE):
Unknown CMake command "PKG_FIND_MODULE".
Call Stack (most recent call first):
extra/kipi-plugins/CMakeLists.txt:124 (FIND_PACKAGE)
=== end of partial printout ===
=== Complete printout ===
[krikar at krikar-thinkpad build]$ rm -rf * && cmake
-DCMAKE_BUILD_TYPE=relwithdebinfo -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix`
..
-- The C compiler identification is GNU 4.6.3
-- The CXX compiler identification is GNU 4.6.3
-- Check for working C compiler: /usr/lib64/ccache/gcc
-- Check for working C compiler: /usr/lib64/ccache/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/lib64/ccache/c++
-- Check for working CXX compiler: /usr/lib64/ccache/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.8.2 (using /usr/bin/qmake-qt4)
-- Looking for XOpenDisplay in
/usr/lib64/libX11.so;/usr/lib64/libXext.so;/usr/lib64/libXft.so;/usr/lib64/libXau.so;/usr/lib64/libXpm.so
-- Looking for XOpenDisplay in
/usr/lib64/libX11.so;/usr/lib64/libXext.so;/usr/lib64/libXft.so;/usr/lib64/libXau.so;/usr/lib64/libXpm.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/lib64/libX11.so
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not 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 OpenSSL: /usr/lib64/libssl.so
-- Looking for _POSIX_TIMERS
-- Looking for _POSIX_TIMERS - found
-- Found Automoc4: /usr/bin/automoc4
-- Found Perl: /usr/bin/perl (found version "5.14.2")
-- Found Phonon: /usr/include
-- Performing Test _OFFT_IS_64BIT
-- Performing Test _OFFT_IS_64BIT - Success
-- 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.8 include dir: /usr/include/kde4
-- Found KDE 4.8 library dir: /usr/lib64/kde4/devel
-- Found the KDE4 kconfig_compiler4 preprocessor: /usr/bin/kconfig_compiler4
-- Found automoc4: /usr/bin/automoc4
-- /home/krikar/dev/digikam/po/ dir do not exists. Translations compilation
disabled...
-- You can use DIGIKAMSC_CHECKOUT_PO option to extract po files from KDE
repositories.
-- Local kdegraphics libraries will be compiled... NO
-- Handbooks will be compiled..................... YES
-- Extract translations files..................... NO
-- Translations will be compiled.................. NO
--
----------------------------------------------------------------------------------
-- Starting CMake configuration for: libmediawiki
-- checking for module 'QJson>=0.7'
-- found QJson, version 0.7.1
-- Found QJSON: /usr/lib64/libqjson.so (found version "0.7.1", required is
"0.7")
-----------------------------------------------------------------------------
-- The following external packages were located on your system.
-- This installation will have the extra features provided by these packages.
-----------------------------------------------------------------------------
* QJSON - Qt library for handling JSON data
-----------------------------------------------------------------------------
-- Congratulations! All external packages have been found.
-----------------------------------------------------------------------------
--
----------------------------------------------------------------------------------
-- Starting CMake configuration for: libkgeomap
-- Found Qt-Version 4.8.2 (using /usr/bin/qmake-qt4)
-- Found X11: /usr/lib64/libX11.so
-- Found marble: /usr/include
-- 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 >= 1.0.0
-- Found libkexiv2: /usr/lib64/libkexiv2.so
-- kexiv2 found, the demo application will be compiled.
-- Looking for valgrind/valgrind.h
-- Looking for valgrind/valgrind.h - not found
--
----------------------------------------------------------------------------------
-- Starting CMake configuration for: libkface
-- Found Qt-Version 4.8.2 (using /usr/bin/qmake-qt4)
-- Found X11: /usr/lib64/libX11.so
-- First try at finding OpenCV...
-- Great, found OpenCV on the first try.
-- OpenCV Root directory is /usr/lib64/cmake/opencv
-- External libface was not found, use internal version instead...
--
----------------------------------------------------------------------------------
-- Starting CMake configuration for: kipi-plugins
-- 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 >= 1.0.0
-- Found libkexiv2: /usr/lib64/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/lib64/libkdcraw.so
-- Check Kipi library in local sub-folder...
CMake Warning (dev) at extra/kipi-plugins/CMakeLists.txt:124 (FIND_PACKAGE):
A logical block opening on the line
/home/krikar/dev/digikam/cmake/modules/FindKipi.cmake:41 (IF)
closes on the line
/home/krikar/dev/digikam/cmake/modules/FindKipi.cmake:43 (ENDIF)
with mis-matching arguments.
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at extra/kipi-plugins/CMakeLists.txt:124 (FIND_PACKAGE):
A logical block opening on the line
/home/krikar/dev/digikam/cmake/modules/FindKipi.cmake:46 (IF)
closes on the line
/home/krikar/dev/digikam/cmake/modules/FindKipi.cmake:48 (ENDIF)
with mis-matching arguments.
This warning is for project developers. Use -Wno-dev to suppress it.
-- Check Kipi library using pkg-config...
CMake Error at cmake/modules/FindKipi.cmake:70 (PKG_FIND_MODULE):
Unknown CMake command "PKG_FIND_MODULE".
Call Stack (most recent call first):
extra/kipi-plugins/CMakeLists.txt:124 (FIND_PACKAGE)
-- Configuring incomplete, errors occurred!
[krikar at krikar-thinkpad build]$
=== End of complete printout ===
Reproducible: Always
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Digikam-devel
mailing list