This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Trouble installing Kdenlive from build script

Tags: None
(comma "," separated)
Kevaaq
Registered Member
Posts
21
Karma
0
Hi,

I have been trying to use the build script described here to install Kdenlive for testing purposes:

https://community.kde.org/Kdenlive/Deve ... ild_script

I am using Kubuntu 15.10

I have followed the notes and Installed the missing dependancies listed in the script. The script runs for a while but ends with the errors listed below.

Are there extra packages to download? if so what are they? I am a bit stuck. Can anyone help?



Thanks.

The Error messages:

CMake Warning at /usr/share/ECM/find-modules/FindKF5.cmake:74 (find_package):
Could not find a package configuration file provided by "KF5Bookmarks" with
any of the following names:

KF5BookmarksConfig.cmake
kf5bookmarks-config.cmake

Add the installation prefix of "KF5Bookmarks" to CMAKE_PREFIX_PATH or set
"KF5Bookmarks_DIR" to a directory containing one of the above files. If
"KF5Bookmarks" provides a separate development package or SDK, be sure it
has been installed.
Call Stack (most recent call first):
CMakeLists.txt:76 (find_package)


-- Could NOT find KF5Bookmarks: found neither KF5BookmarksConfig.cmake nor kf5bookmarks-config.cmake
-- Found KF5CoreAddons: /usr/lib/x86_64-linux-gnu/cmake/KF5CoreAddons/KF5CoreAddonsConfig.cmake (found version "5.15.0")
CMake Warning at /usr/share/ECM/find-modules/FindKF5.cmake:74 (find_package):
Could not find a package configuration file provided by "KF5Config" with
any of the following names:

KF5ConfigConfig.cmake
kf5config-config.cmake

Add the installation prefix of "KF5Config" to CMAKE_PREFIX_PATH or set
"KF5Config_DIR" to a directory containing one of the above files. If
"KF5Config" provides a separate development package or SDK, be sure it has
been installed.
Call Stack (most recent call first):
CMakeLists.txt:76 (find_package)


-- Could NOT find KF5Config: found neither KF5ConfigConfig.cmake nor kf5config-config.cmake
CMake Warning at /usr/share/ECM/find-modules/FindKF5.cmake:74 (find_package):
Could not find a package configuration file provided by "KF5ConfigWidgets"
with any of the following names:

KF5ConfigWidgetsConfig.cmake
kf5configwidgets-config.cmake

Add the installation prefix of "KF5ConfigWidgets" to CMAKE_PREFIX_PATH or
set "KF5ConfigWidgets_DIR" to a directory containing one of the above
files. If "KF5ConfigWidgets" provides a separate development package or
SDK, be sure it has been installed.
Call Stack (most recent call first):
CMakeLists.txt:76 (find_package)


-- Could NOT find KF5ConfigWidgets: found neither KF5ConfigWidgetsConfig.cmake nor kf5configwidgets-config.cmake
CMake Warning at /usr/share/ECM/find-modules/FindKF5.cmake:74 (find_package):
Could not find a package configuration file provided by "KF5DBusAddons"
with any of the following names:

KF5DBusAddonsConfig.cmake
kf5dbusaddons-config.cmake

Add the installation prefix of "KF5DBusAddons" to CMAKE_PREFIX_PATH or set
"KF5DBusAddons_DIR" to a directory containing one of the above files. If
"KF5DBusAddons" provides a separate development package or SDK, be sure it
has been installed.
Call Stack (most recent call first):
CMakeLists.txt:76 (find_package)


-- Could NOT find KF5DBusAddons: found neither KF5DBusAddonsConfig.cmake nor kf5dbusaddons-config.cmake
CMake Warning at /usr/share/ECM/find-modules/FindKF5.cmake:74 (find_package):
Could not find a package configuration file provided by "KF5KIO" with any
of the following names:

KF5KIOConfig.cmake
kf5kio-config.cmake

Add the installation prefix of "KF5KIO" to CMAKE_PREFIX_PATH or set
"KF5KIO_DIR" to a directory containing one of the above files. If "KF5KIO"
provides a separate development package or SDK, be sure it has been
installed.
Call Stack (most recent call first):
CMakeLists.txt:76 (find_package)


-- Could NOT find KF5KIO: found neither KF5KIOConfig.cmake nor kf5kio-config.cmake
CMake Warning at /usr/share/ECM/find-modules/FindKF5.cmake:74 (find_package):
Could not find a package configuration file provided by "KF5WidgetsAddons"
with any of the following names:

KF5WidgetsAddonsConfig.cmake
kf5widgetsaddons-config.cmake

Add the installation prefix of "KF5WidgetsAddons" to CMAKE_PREFIX_PATH or
set "KF5WidgetsAddons_DIR" to a directory containing one of the above
files. If "KF5WidgetsAddons" provides a separate development package or
SDK, be sure it has been installed.
Call Stack (most recent call first):
CMakeLists.txt:76 (find_package)


-- Could NOT find KF5WidgetsAddons: found neither KF5WidgetsAddonsConfig.cmake nor kf5widgetsaddons-config.cmake
CMake Warning at /usr/share/ECM/find-modules/FindKF5.cmake:74 (find_package):
Could not find a package configuration file provided by "KF5Plotting" with
any of the following names:

KF5PlottingConfig.cmake
kf5plotting-config.cmake

Add the installation prefix of "KF5Plotting" to CMAKE_PREFIX_PATH or set
"KF5Plotting_DIR" to a directory containing one of the above files. If
"KF5Plotting" provides a separate development package or SDK, be sure it
has been installed.
Call Stack (most recent call first):
CMakeLists.txt:76 (find_package)


-- Could NOT find KF5Plotting: found neither KF5PlottingConfig.cmake nor kf5plotting-config.cmake
CMake Warning at /usr/share/ECM/find-modules/FindKF5.cmake:74 (find_package):
Could not find a package configuration file provided by "KF5NotifyConfig"
with any of the following names:

KF5NotifyConfigConfig.cmake
kf5notifyconfig-config.cmake

Add the installation prefix of "KF5NotifyConfig" to CMAKE_PREFIX_PATH or
set "KF5NotifyConfig_DIR" to a directory containing one of the above files.
If "KF5NotifyConfig" provides a separate development package or SDK, be
sure it has been installed.
Call Stack (most recent call first):
CMakeLists.txt:76 (find_package)


-- Could NOT find KF5NotifyConfig: found neither KF5NotifyConfigConfig.cmake nor kf5notifyconfig-config.cmake
CMake Warning at /usr/share/ECM/find-modules/FindKF5.cmake:74 (find_package):
Could not find a package configuration file provided by "KF5NewStuff" with
any of the following names:

KF5NewStuffConfig.cmake
kf5newstuff-config.cmake

Add the installation prefix of "KF5NewStuff" to CMAKE_PREFIX_PATH or set
"KF5NewStuff_DIR" to a directory containing one of the above files. If
"KF5NewStuff" provides a separate development package or SDK, be sure it
has been installed.
Call Stack (most recent call first):
CMakeLists.txt:76 (find_package)


-- Could NOT find KF5NewStuff: found neither KF5NewStuffConfig.cmake nor kf5newstuff-config.cmake
CMake Warning at /usr/share/ECM/find-modules/FindKF5.cmake:74 (find_package):
Could not find a package configuration file provided by "KF5XmlGui" with
any of the following names:

KF5XmlGuiConfig.cmake
kf5xmlgui-config.cmake

Add the installation prefix of "KF5XmlGui" to CMAKE_PREFIX_PATH or set
"KF5XmlGui_DIR" to a directory containing one of the above files. If
"KF5XmlGui" provides a separate development package or SDK, be sure it has
been installed.
Call Stack (most recent call first):
CMakeLists.txt:76 (find_package)


-- Could NOT find KF5XmlGui: found neither KF5XmlGuiConfig.cmake nor kf5xmlgui-config.cmake
CMake Warning at /usr/share/ECM/find-modules/FindKF5.cmake:74 (find_package):
Could not find a package configuration file provided by "KF5Notifications"
with any of the following names:

KF5NotificationsConfig.cmake
kf5notifications-config.cmake

Add the installation prefix of "KF5Notifications" to CMAKE_PREFIX_PATH or
set "KF5Notifications_DIR" to a directory containing one of the above
files. If "KF5Notifications" provides a separate development package or
SDK, be sure it has been installed.
Call Stack (most recent call first):
CMakeLists.txt:76 (find_package)


-- Could NOT find KF5Notifications: found neither KF5NotificationsConfig.cmake nor kf5notifications-config.cmake
CMake Warning at /usr/share/ECM/find-modules/FindKF5.cmake:74 (find_package):
Could not find a package configuration file provided by "KF5GuiAddons" with
any of the following names:

KF5GuiAddonsConfig.cmake
kf5guiaddons-config.cmake

Add the installation prefix of "KF5GuiAddons" to CMAKE_PREFIX_PATH or set
"KF5GuiAddons_DIR" to a directory containing one of the above files. If
"KF5GuiAddons" provides a separate development package or SDK, be sure it
has been installed.
Call Stack (most recent call first):
CMakeLists.txt:76 (find_package)


-- Could NOT find KF5GuiAddons: found neither KF5GuiAddonsConfig.cmake nor kf5guiaddons-config.cmake
CMake Warning at /usr/share/ECM/find-modules/FindKF5.cmake:74 (find_package):
Could not find a package configuration file provided by "KF5TextWidgets"
with any of the following names:

KF5TextWidgetsConfig.cmake
kf5textwidgets-config.cmake

Add the installation prefix of "KF5TextWidgets" to CMAKE_PREFIX_PATH or set
"KF5TextWidgets_DIR" to a directory containing one of the above files. If
"KF5TextWidgets" provides a separate development package or SDK, be sure it
has been installed.
Call Stack (most recent call first):
CMakeLists.txt:76 (find_package)


-- Could NOT find KF5TextWidgets: found neither KF5TextWidgetsConfig.cmake nor kf5textwidgets-config.cmake
CMake Warning at /usr/share/ECM/find-modules/FindKF5.cmake:74 (find_package):
Could not find a package configuration file provided by "KF5IconThemes"
with any of the following names:

KF5IconThemesConfig.cmake
kf5iconthemes-config.cmake

Add the installation prefix of "KF5IconThemes" to CMAKE_PREFIX_PATH or set
"KF5IconThemes_DIR" to a directory containing one of the above files. If
"KF5IconThemes" provides a separate development package or SDK, be sure it
has been installed.
Call Stack (most recent call first):
CMakeLists.txt:76 (find_package)


-- Could NOT find KF5IconThemes: found neither KF5IconThemesConfig.cmake nor kf5iconthemes-config.cmake
-- Found KF5DocTools: /usr/lib/x86_64-linux-gnu/cmake/KF5DocTools/KF5DocToolsConfig.cmake (found version "5.15.0")
CMake Error at /usr/share/cmake-3.2/Modules/FindPackageHandleStandardArgs.cmake:138 (message):
Could NOT find KF5 (missing: Bookmarks Config ConfigWidgets DBusAddons KIO
WidgetsAddons Plotting NotifyConfig NewStuff XmlGui Notifications GuiAddons
TextWidgets IconThemes) (found version "5.15.0")
Call Stack (most recent call first):
/usr/share/cmake-3.2/Modules/FindPackageHandleStandardArgs.cmake:374 (_FPHSA_FAILURE_MESSAGE)
/usr/share/ECM/find-modules/FindKF5.cmake:110 (find_package_handle_standard_args)
CMakeLists.txt:76 (find_package)


-- Configuring incomplete, errors occurred!
See also "/home/kevin/development/kdenlive/src/kdenlive/CMakeFiles/CMakeOutput.log".
ERROR: Unable to configure kdenlive
LOG: Process has finished. Reason: FAILURE Some kind of error occured: Unable to configure kdenlive
TheDiveO
Registered Member
Posts
595
Karma
3
OS
I'm on Kubuntu 15.10, but I'm compiling from sources without script as described on https://community.kde.org/Kdenlive/Development/KF5. Please also check the associated discussion page: https://community.kde.org/Talk:Kdenlive/Development/KF5. Would this be an acceptable method for you?
Kevaaq
Registered Member
Posts
21
Karma
0
Thanks for that, I will try that method when I get time, it would be good practice for me. It looks a bit more involved than just using a script that works. Ideally fixing the errors that I am getting would be a better solution for me as I want to try out the latest builds of Kdenlive regularly so that I can test alongside the latest release version.
Kevaaq
Registered Member
Posts
21
Karma
0
I went through the instructions and compiled it all manually and got it working. By doing that I realised I had to install some missing packages. I then tried using the script again and it worked.
TheDiveO
Registered Member
Posts
595
Karma
3
OS
Good to hear! Do you remember which packages were missing? I would like to update the wiki page.
User avatar
ttguy
Moderator
Posts
1152
Karma
6
OS
I suspect one of the missing packages was libkf5bookmarks5. I have that and libkf5bookmarks-dev and libkf5bookmarks-data.

I don't think I explicitly installed these - might have come along with another package.
Kevaaq
Registered Member
Posts
21
Karma
0
After doing a manual build using the instructions it worked. I realised I hadn't installed the dependencies that were listed on the page. However if I run the build script and then chose the option of run with GDB output capture it crashes and doesn't start Kdenlive. If normal option is chosen it works Ok.
freemanfreeman
Registered Member
Posts
4
Karma
0
I am trying to do the same thing but I am stuck here:

"Configure the build

The script optionally uses a configuration file, which by default, is build-kdenlive.conf within the current directory. If the configuration file exists, it contains the same configuration variables that are at the top of the script but perhaps with different values that override the defaults in the script. Also, you can supply a configuration file name using the -c option when running the script. However, you can also simply edit the variables at the top of the script as needed. More information about specific options is pending. "

What am I supposed to do? Where is build-kdenlive.conf supposed to come from?? The directions say that "If the config file exists, it contains the same ....". What if it doesn't exist?? And how would it exist anyway? Following the directions here "http://www.mltframework.org/twiki/bin/view/MLT/BuildScripts" the only thing I've done is to install this bunch of packages. Where would the conf file come from?

Thank you for your time everyone
User avatar
ttguy
Moderator
Posts
1152
Karma
6
OS
freemanfreeman wrote:I am trying to do the same thing but I am stuck here:

What am I supposed to do? Where is build-kdenlive.conf supposed to come from?? The directions say that "If the config file exists, it contains the same ....". What if it doesn't exist?? And how would it exist anyway? Following the directions here "http://www.mltframework.org/twiki/bin/view/MLT/BuildScripts" the only thing I've done is to install this bunch of packages.

If you are using the build script that I put up here https://community.kde.org/Kdenlive/Deve ... ild_script then you do not need any configuration file. Those comments in the script are pretty much historical. And I am sorry if they are confusing.

The instructions on how to use that build script are here https://community.kde.org/Kdenlive/Deve ... ild_script

Important steps are install the pre-requisite packages that are mentioned in the comments in the script.
and edit the file to specifiy the INSTALL_DIR.
freemanfreeman
Registered Member
Posts
4
Karma
0
This is what I get :(

LOG: About to run command: kf5-config -v
./build-kdenlive.sh: line 297: kf5-config: command not found
ERROR: Unable to run kf5-config
LOG: Process has finished. Reason: FAILURE Some kind of error occured: Unable to run kf5-config

Am I supposed to have kf5-config from somewhere?

Thanks again
User avatar
ttguy
Moderator
Posts
1152
Karma
6
OS
What operating system and version are you running the build script on?
kf5-config should be part of the kf5 - kde-frameworks v 5 that is a perquisite for all this.

And to get that you need to pick a fairly recent distro that provides it.


Bookmarks



Who is online

Registered users: abc72656, Bing [Bot], daret, Google [Bot], Sogou [Bot], Yahoo [Bot]