[РЕШЕНО] Зависимости kdeplasma-addons, Linux |
Здравствуйте, гость ( Вход | Регистрация )
[РЕШЕНО] Зависимости kdeplasma-addons, Linux |
grio |
15.7.2011, 4:54
Сообщение
#1
|
Студент Группа: Участник Сообщений: 87 Регистрация: 11.11.2009 Пользователь №: 1221 Спасибо сказали: 6 раз(а) Репутация: 0 |
Приветствую!
Пытаюсь ковырять код некоторых плазма-виджетов и сразу столкнулся с проблемой. При создании cbp файла симэйком вылезла зависимость, которую я не понимаю как устранить. Вот лог: Раскрывающийся текст -- Found Qt-Version 4.7.0 (using /usr/bin/qmake) -- Found X11: /usr/lib/libX11.so -- Found KDE 4.5 include dir: /usr/include -- Found KDE 4.5 library dir: /usr/lib -- Found the KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler -- Found automoc4: /usr/bin/automoc4 -- optional cmake package FindMarble.cmake (for Marble) was not found. Lancelot variables already set -- Found Lancelot include dir: /home/grio/Qtp/Plasma/kdeplasma-addons/libs/lancelot/..;/home/grio/Qtp/Plasma/kdeplasma-addons/libs/lancelot/ -- Found Lancelot lib: lancelot -- libplasma supports OpenGL applets -- Check Kexiv2 library in local sub-folder... -- Check Kexiv2 library using pkg-config... -- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig -- PKGCONFIG() indicates that libkexiv2 is not installed (install the package which contains libkexiv2.pc if you want to support this feature) -- Could NOT find Qalculate (missing: QALCULATE_LIBRARIES) -- Found X11: /usr/lib/libX11.so Flags for CodeCheck are -Wnon-virtual-dtor -Wno-long-long -ansi -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-exceptions -DQT_NO_EXCEPTIONS -fno-check-new -fno-common -Woverloaded-virtual -fno-threadsafe-statics -fvisibility=hidden -fvisibility-inlines-hidden -save-temps Lancelot variables already set -- Found Lancelot include dir: /home/grio/Qtp/Plasma/kdeplasma-addons/libs/lancelot/..;/home/grio/Qtp/Plasma/kdeplasma-addons/libs/lancelot/ -- Found Lancelot lib: lancelot Lancelot Datamodels variables already set -- Found Lancelot Datamodels include dir: /home/grio/Qtp/Plasma/kdeplasma-addons/libs/lancelot-datamodels/..;/home/grio/Qtp/Plasma/kdeplasma-addons/libs/lancelot-datamodels/ -- Found Lancelot Datamodels lib: lancelot-datamodels ----------------------------------------------------------------------------- -- The following external packages were located on your system. -- This installation will have the extra features provided by these packages. ----------------------------------------------------------------------------- * kdebase workspace - KDE base workspace libraries * QCA2 - Qt Cryptographic Architecture * kdepimlibs - KDE PIM libraries * libattica - Attica Library * OpenGL - API for developing portable, interactive 2D and 3D graphics applications * Soprano - Semantic Desktop Storing * Shared desktop ontologies - Desktop ontologies * Nepomuk - Handles all kinds of metadata on the KDE desktop to provide a semantic desktop * Akonadi and KDE PIM Libs - Support for unread messages model * Eigen2 - Eigen2 enables the Mandelbrot wallpaper plugin. ----------------------------------------------------------------------------- -- The following OPTIONAL packages could NOT be located on your system. -- Consider installing them to enable more features from this software. ----------------------------------------------------------------------------- * Marble <http://marble.kde.org> Desktop Globe RECOMMENDED: Marble is used to provide a desktop globe wallpaper for Plasma. * libkexiv2 (0.2.0 or higher) <http://www.kde.org> Library to access EXIF information RECOMMENDED: Enables automatic rotation for frame applet * XRender <http://www.x.org/> Lancelot compositing support STRONGLY_RECOMMENDED: XRender extension is required for Lancelot compositing support ----------------------------------------------------------------------------- CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: X11_XTest_LIB (ADVANCED) linked by target "plasma_applet_plasmaboard" in directory /home/grio/Qtp/Plasma/kdeplasma-addons/applets/plasmaboard -- Configuring incomplete, errors occurred! Похоже на то, что симейку не хватает одного их пакетов с Qalculate. Я уже поставил всё, но зависимость не исчезла. В чем еще может быть дело? Сообщение отредактировал grio - 18.7.2011, 10:24 |
|
|
RazrFalcon |
15.7.2011, 9:15
Сообщение
#2
|
Zombie Mod Группа: Участник Сообщений: 1654 Регистрация: 24.5.2010 Из: Харьков Пользователь №: 1752 Спасибо сказали: 64 раз(а) Репутация: 212 |
Покажите пожалуйста сам CMakeLists.txt.
|
|
|
grio |
15.7.2011, 9:32
Сообщение
#3
|
Студент Группа: Участник Сообщений: 87 Регистрация: 11.11.2009 Пользователь №: 1221 Спасибо сказали: 6 раз(а) Репутация: 0 |
Покажите пожалуйста сам CMakeLists.txt. Прикрепил.
Прикрепленные файлы
|
|
|
RazrFalcon |
15.7.2011, 9:40
Сообщение
#4
|
Zombie Mod Группа: Участник Сообщений: 1654 Регистрация: 24.5.2010 Из: Харьков Пользователь №: 1752 Спасибо сказали: 64 раз(а) Репутация: 212 |
Он вроде для всех апплетов, то есть в каждой папке апплета есть еще и свой CMakeLists.txt. Если я правильно понял то что вы делаете.
Не знаю на счет сборки всех сразу, но для сборки своих апплетов по отдельности, я ипользую что то в духе: Раскрывающийся текст
PS: вы свой собственный пишете или готовый переписываете? Сообщение отредактировал RazrFalcon - 15.7.2011, 9:41 |
|
|
grio |
15.7.2011, 14:19
Сообщение
#5
|
Студент Группа: Участник Сообщений: 87 Регистрация: 11.11.2009 Пользователь №: 1221 Спасибо сказали: 6 раз(а) Репутация: 0 |
Он вроде для всех апплетов, то есть в каждой папке апплета есть еще и свой CMakeLists.txt. Если я правильно понял то что вы делаете. Да, всё верно. К примеру беру апплет microblog: При открытии CMakeLists.txt QtCreator'ом CMake ругаетчся на тот же самый Qalculate: Раскрывающийся текст -- Found Qt-Version 4.7.0 (using /usr/bin/qmake) -- Found X11: /usr/lib/libX11.so -- Found KDE 4.5 include dir: /usr/include -- Found KDE 4.5 library dir: /usr/lib -- Found the KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler -- Found automoc4: /usr/bin/automoc4 -- optional cmake package FindMarble.cmake (for Marble) was not found. Lancelot variables already set -- Found Lancelot include dir: /home/grio/Qtp/Plasma/kdeplasma-addons/libs/lancelot/..;/home/grio/Qtp/Plasma/kdeplasma-addons/libs/lancelot/ -- Found Lancelot lib: lancelot -- libplasma supports OpenGL applets -- Check Kexiv2 library in local sub-folder... -- Check Kexiv2 library using pkg-config... -- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig -- PKGCONFIG() indicates that libkexiv2 is not installed (install the package which contains libkexiv2.pc if you want to support this feature) -- Could NOT find Qalculate (missing: QALCULATE_LIBRARIES) -- Found X11: /usr/lib/libX11.so Flags for CodeCheck are -Wnon-virtual-dtor -Wno-long-long -ansi -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-exceptions -DQT_NO_EXCEPTIONS -fno-check-new -fno-common -Woverloaded-virtual -fno-threadsafe-statics -fvisibility=hidden -fvisibility-inlines-hidden -save-temps Lancelot variables already set -- Found Lancelot include dir: /home/grio/Qtp/Plasma/kdeplasma-addons/libs/lancelot/..;/home/grio/Qtp/Plasma/kdeplasma-addons/libs/lancelot/ -- Found Lancelot lib: lancelot Lancelot Datamodels variables already set -- Found Lancelot Datamodels include dir: /home/grio/Qtp/Plasma/kdeplasma-addons/libs/lancelot-datamodels/..;/home/grio/Qtp/Plasma/kdeplasma-addons/libs/lancelot-datamodels/ -- Found Lancelot Datamodels lib: lancelot-datamodels ----------------------------------------------------------------------------- -- The following external packages were located on your system. -- This installation will have the extra features provided by these packages. ----------------------------------------------------------------------------- * kdebase workspace - KDE base workspace libraries * QCA2 - Qt Cryptographic Architecture * kdepimlibs - KDE PIM libraries * libattica - Attica Library * OpenGL - API for developing portable, interactive 2D and 3D graphics applications * Soprano - Semantic Desktop Storing * Shared desktop ontologies - Desktop ontologies * Nepomuk - Handles all kinds of metadata on the KDE desktop to provide a semantic desktop * Akonadi and KDE PIM Libs - Support for unread messages model * Eigen2 - Eigen2 enables the Mandelbrot wallpaper plugin. ----------------------------------------------------------------------------- -- The following OPTIONAL packages could NOT be located on your system. -- Consider installing them to enable more features from this software. ----------------------------------------------------------------------------- * Marble <http://marble.kde.org> Desktop Globe RECOMMENDED: Marble is used to provide a desktop globe wallpaper for Plasma. * libkexiv2 (0.2.0 or higher) <http://www.kde.org> Library to access EXIF information RECOMMENDED: Enables automatic rotation for frame applet * XRender <http://www.x.org/> Lancelot compositing support STRONGLY_RECOMMENDED: XRender extension is required for Lancelot compositing support ----------------------------------------------------------------------------- CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: X11_XTest_LIB (ADVANCED) linked by target "plasma_applet_plasmaboard" in directory /home/grio/Qtp/Plasma/kdeplasma-addons/applets/plasmaboard -- Configuring incomplete, errors occurred! Мне не понятно что не так. RazrFalcon, если не сложно покажите ваш $ aptitude search qalculate |
|
|
RazrFalcon |
15.7.2011, 16:31
Сообщение
#6
|
Zombie Mod Группа: Участник Сообщений: 1654 Регистрация: 24.5.2010 Из: Харьков Пользователь №: 1752 Спасибо сказали: 64 раз(а) Репутация: 212 |
1) Qt Creator не пашет с cmake+kde+plasma-applet
пруф Нужно свои build steps писать. 2) У меня Arch Раскрывающийся текст $ yaourt -Qi libqalculate Name : libqalculate Version : 0.9.7-2 URL : http://qalculate.sourceforge.net/ Licenses : GPL Groups : None Provides : None Depends On : libxml2 cln glib2 ncurses readline Optional Deps : gnuplot: for plotting support wget: for retrieval of exchange rates (not needed if you use one of the GUI) gnome-vfs: for retrieval of exchange rates (not needed if you use one of the GUI) Required By : kdebase-workspace Conflicts With : None Replaces : None Installed Size : 10720.00 K Packager : Eric Belanger <eric@archlinux.org> Architecture : i686 Build Date : Tue 01 Feb 2011 04:58:49 PM EET Install Date : Wed 11 May 2011 04:56:27 PM EEST Install Reason : Installed as a dependency for another package Install Script : No Description : Multi-purpose desktop calculator В dolphin F4, работает?
|
|
|
Litkevich Yuriy |
15.7.2011, 19:01
Сообщение
#7
|
разработчик РЭА Группа: Сомодератор Сообщений: 9669 Регистрация: 9.1.2008 Из: Тюмень Пользователь №: 64 Спасибо сказали: 807 раз(а) Репутация: 94 |
Я вижу только одну строчку ругани:
CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: X11_XTest_LIB (ADVANCED) Цитата CMake Error: Следующие переменные используются в этом проекте, но их значение установлено в NOTFOUND. Пожалуйста установите их или убедитесь, что они установлены корректно в CMake-файле: X11_XTest_LIB (ADVANCED) Т.е. не хватает пути или указания имени некой библиотеки XTest |
|
|
grio |
18.7.2011, 10:23
Сообщение
#8
|
Студент Группа: Участник Сообщений: 87 Регистрация: 11.11.2009 Пользователь №: 1221 Спасибо сказали: 6 раз(а) Репутация: 0 |
|
|
|
Текстовая версия | Сейчас: 25.4.2024, 20:56 |