Мар 04
Решил обновить кеды с 4.1 до 4.2 на своей FreeBSD. Так как повыскакивало несколько ошибок, решил немного написать о том, как их лечить.
При попытке сборки получил ошибку:
%make -C /usr/ports/x11/kde4/ install
===> kde4-4.2.0 depends on file: /usr/local/kde4/bin/kdebugdialog - not found
===> Verifying install for /usr/local/kde4/bin/kdebugdialog in /usr/ports/x11/kdebase4-runtime
===> Building for kdebase-runtime-4.2.0_1
CMake Error at /usr/local/share/cmake/Modules/FindKDE4.cmake:81 (FIND_PACKAGE):
Could not find module FindKDE4Internal.cmake or a configuration file for
package KDE4Internal.
Adjust CMAKE_MODULE_PATH to find FindKDE4Internal.cmake or set
KDE4Internal_DIR to the directory containing a CMake configuration file for
KDE4Internal. The file will have one of the following names:
KDE4InternalConfig.cmake
kde4internal-config.cmake
Call Stack (most recent call first):
CMakeLists.txt:7 (find_package)
CMake Error at CMakeLists.txt:13 (include):
include could not find load file:
KDE4Defaults
CMake Error at CMakeLists.txt:14 (include):
include could not find load file:
MacroLibrary
CMake Error at CMakeLists.txt:19 (macro_optional_find_package):
Unknown CMake command "macro_optional_find_package".
CMake Warning (dev) in CMakeLists.txt:
No cmake_minimum_required command is present. A line of code such as
cmake_minimum_required(VERSION 2.6)
should be added at the top of the file. The version specified may be lower
if you wish to support older CMake versions for this project. For more
information run "cmake --help-policy CMP0000".
This warning is for project developers. Use -Wno-dev to suppress it.
-- Configuring incomplete, errors occurred!
*** Error code 1
Stop in /usr/ports/x11/kdebase4-runtime/work/kdebase-runtime-4.2.0/build.
*** Error code 1
Stop in /usr/ports/x11/kdebase4-runtime.
*** Error code 1
Stop in /usr/ports/x11/kdebase4-runtime.
*** Error code 1
Stop in /usr/ports/x11/kde4.
*** Error code 1
Stop in /usr/ports/x11/kde4.
Замечу, что перед этим все порты предыдущей версии были удалены из системы полностью.
После выполнения следующей последовательности действий сборка запустилась успешно:
%rm /usr/ports/x11/kdelibs4/files/patch-cmake_modules_FindKDE4Internal.cmake %make -C /usr/ports/x11/kde4 clean %make -C /usr/ports/x11/kde4 install clean
Запустилась, но через некоторое время встала:
/usr/ports/x11/kdebase4-runtime/work/kdebase-runtime-4.2.0/nepomuk/strigibackend/sopranoindexreader.cpp:398: error: 'class Soprano::Node' has no member named 'toN3' *** Error code 1
Лечится установкой или обновлением следующих портов:
textproc/soprano
deskutils/strigi
Также может всплыть еще проблема, когда дело дойдет до компиляции libglut:
configure: error: Package requirements (x11 xext xxf86vm xdamage xfixes x11-xcb xcb-glx) were not met: No package 'x11-xcb' found No package 'xcb-glx' found
Рылся, ковырялся в поисках, что же ей надо, и выяснил, что решается сия неприятность обновлением libX11.


Свежие комментарии