Re: Building KDE (phonon-vlc) fails
- Date: Mon, 10 Dec 2018 11:26:16 +0100
- From: Frederik Schwarzer <schwarzer@xxxxxxx>
- Subject: Re: Building KDE (phonon-vlc) fails
On Monday, December 10, 2018 12:29:54 AM CET Michael Pyne wrote:
> On Sun, Dec 09, 2018 at 10:18:42AM +0100, Frederik Schwarzer wrote:
> > Hi,
> > please forgive my ignorance. It has been ages since I last built KDE from
> > sources.
> > Using kdesrc-build, the phonon-vlc package fails on cmake with the
> > following>
> > error:
> > -- Checking for module 'libvlc'
> > -- Found libvlc, version 3.0.4
> > CMake Error at cmake/FindLIBVLC.cmake:106 (message):
> > Could not find LibVLC
> > Found, but not found? Maybe it is looking for a different version?
> > libvlc-dev is installed on Kubuntu 18.04.
> > Any idea on what I am missing here?
> Perhaps you need a package libvlccore-dev or similar? The FindLIBVLC in
> phonon-vlc checks for both libvlc and for libvlccore but only gives the
> one error message if either one is missing.
Thank you for your answer. I read the FindLIBVLC file and found three checks.
The one for the header file:
# find / -iname vlc.h
The one for libvlc:
# find / -iname libvlc.*
And the one for libvlccore:
# find / -iname libvlccore.*
These looked fine to my untrained eyes at first but the missing libvlccore.so
(without the version number) made me think so I looked it up and indeed, the
package libvlccore-dev was missing.
After installing it, phonon-vlc built fine.
Thanks for the pointer. :)