Я нахожусь на новой установке Gentoo, и при попытке установить наложение kde4.9.3 через kde4 layman я получаю следующую ошибку для kdepimlibs-4.9.3

-- Found Sasl2: /usr/lib64/libsasl2.so
-- Looking for include file sys/select.h -- Looking for include file sys/select.h - found -- Looking for include file sys/socket.h -- Looking for include file sys/socket.h - found -- Looking for include file sys/types.h -- Looking for include file sys/types.h - found -- Found SharedMimeInfo: /usr/bin/update-mime-database (found suitable version "1.0", required is "0.30") -- Found Libical version 0.48 -- Found LIBICAL: /usr/lib64/libical.so;/usr/lib64/libicalss.so
CMake Error at /usr/share/cmake/Modules/CMakeExportBuildSettings.cmake:17 (MESSAGE): The functionality of this module has been dropped as of CMake 2.8. It was deemed harmful (confusing users by changing their compiler). Please remove calls to the CMAKE_EXPORT_BUILD_SETTINGS macro and stop including this module. If this project generates any files for use by external projects, remove any use of the CMakeImportBuildSettings module from them. Call Stack (most recent call first): gpgme++/CMakeLists.txt:121 (include)

-- Configuring incomplete, errors occurred! * ERROR: kde-base/kdepimlibs-4.9.3 failed (configure phase): * cmake failed * * Call stack: * ebuild.sh, line 85: Called src_configure * environment, line 3899: Called kde4-base_src_configure * environment, line 2941: Called cmake-utils_src_configure * environment, line 1064: Called _execute_optionaly 'src_configure' * environment, line 486: Called enable_cmake-utils_src_configure * environment, line 1384: Called die * The specific snippet of code: * "${CMAKE_BINARY}" "${cmakeargs[@]}" "${CMAKE_USE_DIR}" || die "cmake failed"; * * If you need support, post the output of emerge --info '=kde-base/kdepimlibs-4.9.3', * the complete build log and the output of emerge -pqv '=kde-base/kdepimlibs-4.9.3'. * This ebuild used the following eclasses from overlays: * /var/lib/layman/kde/eclass/kde4-base.eclass * /var/lib/layman/kde/eclass/kde4-functions.eclass * /var/lib/layman/kde/eclass/cmake-utils.eclass * This ebuild is from an overlay named 'kde': '/var/lib/layman/kde/' * The complete build log is located at '/var/tmp/portage/kde-base/kdepimlibs-4.9.3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/kde-base/kdepimlibs-4.9.3/temp/environment'. * Working directory: '/var/tmp/portage/kde-base/kdepimlibs-4.9.3/work/kdepimlibs-4.9.3_build' * S: '/var/tmp/portage/kde-base/kdepimlibs-4.9.3/work/kdepimlibs-4.9.3

Кто-нибудь знает, как это решить? Thx в продвинутом

1 ответ1

1

Проблема существует с новыми версиями cmake, так как функции запросов cmake-file удалены в более новых версиях. Таким образом, вам нужно использовать более старую версию, чем 2.8 (как запрашивает сообщение об ошибке)

т.е. добавить

>dev-util/cmake-2.8

на ваш /etc/portage/package.mask для этого и повторите попытку.

Всё ещё ищете ответ? Посмотрите другие вопросы с метками .