[Kodi 17 Krypton] configure error libdrm
#1
I am running Ubuntu 16.04 and am unable to build Kodi 17.0 (any of the alphas or master).

My ./configure ends at:

Code:
checking for EGL... no
configure: error: Could not find a required library. Please see the README for your platform.

I have installed all the dependencies based on the README and have also added the unstable kodi repo and done an apt build-deps kodi

Looking at the config.log file it looks like this is the error that is sinking me:

Code:
Package 'egl' requires 'libdrm >= 2.4.60' but version of libdrm is 2.4.58

Which makes me think that my libdrm is too old but when I do a "apt search libdrm" I get these:

Code:
libdrm2/xenial-updates,xenial-updates,now 2.4.67-1ubuntu0.16.04.1 amd64 [installed]
libdrm-dev/xenial-updates,xenial-updates,now 2.4.67-1ubuntu0.16.04.1 amd64 [installed,automatic]

So it looks like I am on 2.4.67 which is >= 2.4.60.

If I edit configure to skip the EGL check then my compile bombs so I don't think that is the answer. Also seems to bomb if I --disable-x11.

Any ideas how to troubleshoot this one? Is my libdrm too new?
Reply
#2
pastebin your config.log
You probably have an older version floating around somewhere.

check with pkg-config --debug drm (or libdrm)
Reply
#3
(2016-08-07, 22:30)wsnipex Wrote: pastebin your config.log
You probably have an older version floating around somewhere.

check with pkg-config --debug drm (or libdrm)

Thanks....

Had an old copy of libdrm in my /usr/local/.

Nuked that and I have no issues now!
Reply

Logout Mark Read Team Forum Stats Members Help
[Kodi 17 Krypton] configure error libdrm0