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

kaffeine will not compile

Tags: kaffeine, cmake kaffeine, cmake kaffeine, cmake
(comma "," separated)
hadenough
Registered Member
Posts
4
Karma
0

kaffeine will not compile

Tue Jul 11, 2017 11:22 am
I am trying to compile kaffeine media player on centos 7 and keep getting errors with cmake. I cannot find the KF5CoreAddonsConfig package anywhere in the epel repo for centos 7, I have the other required kf5* packages installed (as far as I know, including the kf5coreaddons package) but the kf5coreaddonsconfig package is NOT there in the epel repo for centos 7. Below is my output for the yum repolist and the cmake /tmp/kaffeine-master/ commands respectfully;

[root@localhost temp]# yum repolist
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: centos.mirror.ausnetservers.net.au
* epel: mirror.nsw.coloau.com.au
* extras: mirror.colocity.com
* nux-dextop: li.nux.ro
* remi-safe: remi.conetix.com.au
* updates: centos.melbourneitmirror.net
repo id repo name status
base/7/x86_64 CentOS-7 - Base 9,363
epel/x86_64 Extra Packages for Enterprise Linux 7 - x86_64 11,872
extras/7/x86_64 CentOS-7 - Extras 446
nux-dextop/x86_64 Nux.Ro RPMs for general desktop use 2,502
remi-safe Safe Remi's RPM repository for Enterprise Linux 7 - x86_64 2,080
updates/7/x86_64 CentOS-7 - Updates 2,089
virtualbox/7/x86_64 Oracle Linux / RHEL / CentOS-7 / x86_64 - VirtualBox 39
repolist: 28,391

[root@localhost temp]# cmake /tmp/kaffeine-master/
-- The C compiler identification is GNU 4.8.5
-- The CXX compiler identification is GNU 4.8.5
-- Check for working C compiler: /bin/cc
-- Check for working C compiler: /bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /bin/c++
-- Check for working CXX compiler: /bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Could not set up the appstream test. appstreamcli is missing.
-- Looking for __GLIBC__
-- Looking for __GLIBC__ - found
-- Performing Test _OFFT_IS_64BIT
-- Performing Test _OFFT_IS_64BIT - Success
CMake Error at /lib64/cmake/KF5CoreAddons/KF5CoreAddonsConfig.cmake:37 (include):
include could not find load file:

CMakeFindDependencyMacro
Call Stack (most recent call first):
/usr/share/ECM/find-modules/FindKF5.cmake:74 (find_package)
CMakeLists.txt:58 (find_package)


CMake Error at /lib64/cmake/KF5CoreAddons/KF5CoreAddonsConfig.cmake:38 (find_dependency):
Unknown CMake command "find_dependency".
Call Stack (most recent call first):
/usr/share/ECM/find-modules/FindKF5.cmake:74 (find_package)
CMakeLists.txt:58 (find_package)


-- Configuring incomplete, errors occurred!
See also "/restorevol/temp/CMakeFiles/CMakeOutput.log".

Thanks for any help in advance, as I do not know what else to do at this point.
:'(
aus9
Karma
0

Re: kaffeine will not compile

Tue Jul 11, 2017 11:32 am
I don't run centos but a quick search found this link
https://pkgs.org/download/kf5-kcoreaddons-devel

optional centos and fedora and kinda related

you could just download fed packages for kaffeine
open a terminal and run kaffeine and see what missing so files you need

http://rpms.famillecollet.com/rpmphp/zo ... m=kaffeine
hadenough
Registered Member
Posts
4
Karma
0

Re: kaffeine will not compile

Tue Jul 11, 2017 2:32 pm
aus9 wrote:I don't run centos but a quick search found this link
https://pkgs.org/download/kf5-kcoreaddons-devel

optional centos and fedora and kinda related

you could just download fed packages for kaffeine
open a terminal and run kaffeine and see what missing so files you need

http://rpms.famillecollet.com/rpmphp/zo ... m=kaffeine


Yeah, I have that devel package already installed;

Installed Packages
Name : kf5-kcoreaddons-devel
Arch : x86_64
Version : 5.33.0
Release : 1.el7
Size : 269 k
Repo : installed
From repo : epel
Summary : Development files for kf5-kcoreaddons
URL : https://cgit.kde.org/kcoreaddons.git
License : GPLv2+ and GPLv2+
Description : The kf5-kcoreaddons-devel package contains libraries and header files for
: developing applications that use kf5-kcoreaddons.

But it still gives me the same error message as above and I've already tried the package from your link. The reason I'm trying to compile it is, for what ever reason I'm not getting any channels, when I try to scan for TV channels (even though in PCLinuxOS with kaffeine, it does find channels). So just want to see if compiling it makes any difference.
aus9
Karma
0

Re: kaffeine will not compile

Tue Jul 11, 2017 3:06 pm
Have you considered that the original purpose IMHO of centos was to be a RHEL clone which was mainly a business type desktop system and not a multimedia friendly environment.

Maybe check your logs to see does the centos kernel detect and enable your antenna device

then try a root powered channel check.

I don't use this myself but good luck
hadenough
Registered Member
Posts
4
Karma
0

Re: kaffeine will not compile  Topic is solved

Tue Jul 11, 2017 3:40 pm
aus9 wrote:Have you considered that the original purpose IMHO of centos was to be a RHEL clone which was mainly a business type desktop system and not a multimedia friendly environment.

Maybe check your logs to see does the centos kernel detect and enable your antenna device

then try a root powered channel check.

I don't use this myself but good luck


Yes, I have read the centos website.

My TV tuner (as stated before) finds channels in other distro's (with kaffeine), I have checked the kernel log and it is loading the driver for it, no probs.

Kaffeine does not like being run as root and channels found (if any) would not show up in my normal user account, so this is not an option.

And with all respect (and NOT trying to be rude) but, this does not help me compile kaffeine. As this was why I posted this question in the first place, but I guess I'm on my own! :(

UPDATE: I upgraded the kernel, which solved the problem and kaffeine now finds channels, yay!! :D
aus9
Karma
0

Re: kaffeine will not compile

Wed Jul 12, 2017 12:11 am
well not trying to be rude but the appropriate way to mark post as solved is to show "SOLVED" in the subject line please
hadenough
Registered Member
Posts
4
Karma
0

Re: kaffeine will not compile

Wed Jul 12, 2017 11:08 am
aus9 wrote:well not trying to be rude but the appropriate way to mark post as solved is to show "SOLVED" in the subject line please


Well, it's not actually been "SOLVED", now has it? As I still have NO useful reply to my question, which was "kaffeine will not compile". So thanks for all of the NON-help you where kind enough to give me! As I had already found out EVERYTHING you suggested, BEFORE you suggested it!

So this was a waste of my time and Internet connection, to even bother asking the question in the first place, hay! :z

But thank you know what for Google, hay mate!

Bye, Bye!
User avatar
Mamarok
Manager
Posts
6071
Karma
16
OS

Re: kaffeine will not compile

Wed Jul 12, 2017 6:25 pm
aus9 wrote:well not trying to be rude but the appropriate way to mark post as solved is to show "SOLVED" in the subject line please


Not in our forum, marking an answer as accepted is much easier than editing a subject line.


Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ...


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], lockheed