Kodi Community Forum

Full Version: Compile Kodi /w libcec 4 on updated Ubuntu 16.04
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Just tried to update my htpc to latest commit available. Wanted to do this because it includes the libcec 4.
However after the update it does not find the correct package...

When I look in my config.log:
Code:
configure:28227: checking for CEC
configure:28234: $PKG_CONFIG --exists --print-errors "libcec >= 4.0.0"
Package libcec was not found in the pkg-config search path.
Perhaps you should add the directory containing `libcec.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libcec' found
configure:28237: $? = 1
configure:28251: $PKG_CONFIG --exists --print-errors "libcec >= 4.0.0"
Package libcec was not found in the pkg-config search path.
Perhaps you should add the directory containing `libcec.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libcec' found
configure:28254: $? = 1
configure:28268: result: no
No package 'libcec' found
configure:28284: result: == libcec disabled. CEC adapter support will not be available. ==
configure:28365: == libcec disabled. CEC adapter support will not be available. ==

I am 100% sure this package is installed, as well as libcec4, libcec4-dev and libcec-dev

Is there an additional package needed not mentioned in the logs like in it was the case with libcec 3 (where it at that time was mentioned):
Code:
sudo apt-get install libp8-platform-dev

Using Ubuntu 16.04
Fixed by purging all libcec of my system and compiled it from source. Now Kodi detected it during configure.
At the moment building a new release. Kinda curious if it fixed a couple of my problems....
right, the libcec4-dev package is broken.