Compiling KF5 from source
Brendan Coupe
brendan at coupeware.com
Sat Jul 2 17:38:17 UTC 2016
I have been compiling from source for many years. After the recent change
to KF5 it no longer compiles. This was a problem on Fedora 23 and is still
a problem on Fedora 24. Am I missing some dependencies? The output is shown
below.
I've installed all FK5 development packages (dnf install kf5-*devel) and
libalkimia-devel. I've checked most of the packages mentioned in the errors
and they all seem to be installed. Some verions numbers seem odd. For
example I have kf5-gpgmepp-devel-15.12.3-1.fc24.x86_64 installed but the
error mentions 4.80.0.
I have tried compiling the source both with and without kmm installed from
the repos.
Any idea what's wrong?
*----Brendan*
-- The C compiler identification is GNU 6.1.1
-- The CXX compiler identification is GNU 6.1.1
-- Check for working C compiler: /usr/lib64/ccache/cc
-- Check for working C compiler: /usr/lib64/ccache/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - 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
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found KF5Archive: /usr/lib64/cmake/KF5Archive/KF5ArchiveConfig.cmake
(found version "5.23.0")
-- Found KF5CoreAddons:
/usr/lib64/cmake/KF5CoreAddons/KF5CoreAddonsConfig.cmake (found version
"5.23.0")
-- Found KF5Config: /usr/lib64/cmake/KF5Config/KF5ConfigConfig.cmake (found
version "5.23.0")
-- Found KF5ConfigWidgets:
/usr/lib64/cmake/KF5ConfigWidgets/KF5ConfigWidgetsConfig.cmake (found
version "5.23.0")
-- Found Gettext: /usr/bin/msgmerge (found version "0.19.8.1")
-- Found PythonInterp: /usr/bin/python (found version "2.7.11")
-- Found KF5I18n: /usr/lib64/cmake/KF5I18n/KF5I18nConfig.cmake (found
version "5.23.0")
-- Found KF5KHtml: /usr/lib64/cmake/KF5KHtml/KF5KHtmlConfig.cmake (found
version "5.23.0")
-- Found KF5Completion:
/usr/lib64/cmake/KF5Completion/KF5CompletionConfig.cmake (found version
"5.23.0")
-- Found KF5KCMUtils: /usr/lib64/cmake/KF5KCMUtils/KF5KCMUtilsConfig.cmake
(found version "5.23.0")
-- Found KF5ItemModels:
/usr/lib64/cmake/KF5ItemModels/KF5ItemModelsConfig.cmake (found version
"5.23.0")
-- Found KF5ItemViews:
/usr/lib64/cmake/KF5ItemViews/KF5ItemViewsConfig.cmake (found version
"5.23.0")
-- Found KF5Service: /usr/lib64/cmake/KF5Service/KF5ServiceConfig.cmake
(found version "5.23.0")
-- Found KF5Wallet: /usr/lib64/cmake/KF5Wallet/KF5WalletConfig.cmake (found
version "5.23.0")
-- Found KF5IconThemes:
/usr/lib64/cmake/KF5IconThemes/KF5IconThemesConfig.cmake (found version
"5.23.0")
-- Found KF5XmlGui: /usr/lib64/cmake/KF5XmlGui/KF5XmlGuiConfig.cmake (found
version "5.23.0")
-- Found KF5TextWidgets:
/usr/lib64/cmake/KF5TextWidgets/KF5TextWidgetsConfig.cmake (found version
"5.23.0")
-- Found KF5Notifications:
/usr/lib64/cmake/KF5Notifications/KF5NotificationsConfig.cmake (found
version "5.23.0")
-- Found KF5KIO: /usr/lib64/cmake/KF5KIO/KF5KIOConfig.cmake (found version
"5.23.0")
CMake Warning at /usr/share/ECM/find-modules/FindKF5.cmake:74
(find_package):
Could not find a configuration file for package "KF5Gpgmepp" that is
compatible with requested version "5.2".
The following configuration files were considered but not accepted:
/usr/lib64/cmake/KF5Gpgmepp/KF5GpgmeppConfig.cmake, version: 4.80.0
/lib64/cmake/KF5Gpgmepp/KF5GpgmeppConfig.cmake, version: 4.80.0
Call Stack (most recent call first):
CMakeLists.txt:46 (find_package)
-- Could NOT find KF5Gpgmepp , checked the following files:
/usr/lib64/cmake/KF5Gpgmepp/KF5GpgmeppConfig.cmake (version 4.80.0)
/lib64/cmake/KF5Gpgmepp/KF5GpgmeppConfig.cmake (version 4.80.0)
-- Found KF5DocTools: /usr/lib64/cmake/KF5DocTools/KF5DocToolsConfig.cmake
(found version "5.23.0")
CMake Warning at /usr/share/ECM/find-modules/FindKF5.cmake:74
(find_package):
Could not find a configuration file for package "KF5Holidays" that is
compatible with requested version "5.2".
The following configuration files were considered but not accepted:
/usr/lib64/cmake/KF5Holidays/KF5HolidaysConfig.cmake, version: 4.80.0
/lib64/cmake/KF5Holidays/KF5HolidaysConfig.cmake, version: 4.80.0
Call Stack (most recent call first):
CMakeLists.txt:46 (find_package)
-- Could NOT find KF5Holidays , checked the following files:
/usr/lib64/cmake/KF5Holidays/KF5HolidaysConfig.cmake (version 4.80.0)
/lib64/cmake/KF5Holidays/KF5HolidaysConfig.cmake (version 4.80.0)
CMake Warning at /usr/share/ECM/find-modules/FindKF5.cmake:74
(find_package):
Could not find a configuration file for package "KF5Contacts" that is
compatible with requested version "5.2".
The following configuration files were considered but not accepted:
/usr/lib64/cmake/KF5Contacts/KF5ContactsConfig.cmake, version: 4.92.0
/lib64/cmake/KF5Contacts/KF5ContactsConfig.cmake, version: 4.92.0
Call Stack (most recent call first):
CMakeLists.txt:46 (find_package)
-- Could NOT find KF5Contacts , checked the following files:
/usr/lib64/cmake/KF5Contacts/KF5ContactsConfig.cmake (version 4.92.0)
/lib64/cmake/KF5Contacts/KF5ContactsConfig.cmake (version 4.92.0)
CMake Warning at /usr/share/ECM/find-modules/FindKF5.cmake:74
(find_package):
Could not find a configuration file for package "KF5Akonadi" that is
compatible with requested version "5.2".
The following configuration files were considered but not accepted:
/usr/lib64/cmake/KF5Akonadi/KF5AkonadiConfig.cmake, version: 5.1.3
/lib64/cmake/KF5Akonadi/KF5AkonadiConfig.cmake, version: 5.1.3
Call Stack (most recent call first):
CMakeLists.txt:46 (find_package)
-- Could NOT find KF5Akonadi , checked the following files:
/usr/lib64/cmake/KF5Akonadi/KF5AkonadiConfig.cmake (version 5.1.3)
/lib64/cmake/KF5Akonadi/KF5AkonadiConfig.cmake (version 5.1.3)
CMake Warning at /usr/share/ECM/find-modules/FindKF5.cmake:74
(find_package):
Could not find a configuration file for package "KF5IdentityManagement"
that is compatible with requested version "5.2".
The following configuration files were considered but not accepted:
/usr/lib64/cmake/KF5IdentityManagement/KF5IdentityManagementConfig.cmake,
version: 4.82.0
/lib64/cmake/KF5IdentityManagement/KF5IdentityManagementConfig.cmake,
version: 4.82.0
Call Stack (most recent call first):
CMakeLists.txt:46 (find_package)
-- Could NOT find KF5IdentityManagement , checked the following files:
/usr/lib64/cmake/KF5IdentityManagement/KF5IdentityManagementConfig.cmake
(version 4.82.0)
/lib64/cmake/KF5IdentityManagement/KF5IdentityManagementConfig.cmake
(version 4.82.0)
-- Found KF5Activities:
/usr/lib64/cmake/KF5Activities/KF5ActivitiesConfig.cmake (found version
"5.23.0")
-- Found KF5Kross: /usr/lib64/cmake/KF5Kross/KF5KrossConfig.cmake (found
version "5.23.0")
-- Found KF5: success (found suitable version "5.23.0", minimum required is
"5.2") found components: Archive CoreAddons Config ConfigWidgets I18n
KHtml Completion KCMUtils ItemModels ItemViews Service Wallet IconThemes
XmlGui TextWidgets Notifications KIO DocTools Activities Kross missing
components: Gpgmepp Holidays Contacts Akonadi IdentityManagement
CMake Error at CMakeLists.txt:48 (find_package):
Could not find a configuration file for package "LibAlkimia" that is
compatible with requested version "6.0.0".
The following configuration files were considered but not accepted:
/usr/lib64/cmake/LibAlkimia/LibAlkimiaConfig.cmake, version: 5.0.0
/lib64/cmake/LibAlkimia/LibAlkimiaConfig.cmake, version: 5.0.0
-- Configuring incomplete, errors occurred!
See also
"/usr/local/src/kmm/kmymoney-2016.07.02-10.36.15/build/CMakeFiles/CMakeOutput.log".
make: *** No targets specified and no makefile found. Stop.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kmymoney-devel/attachments/20160702/775726ac/attachment-0001.html>
More information about the KMyMoney-devel
mailing list