General build question
Added by Anders Gustafsson about 9 years ago
Hi! (v4.1-749)
I have a few questions relating to needed modules for a build, ie the following messages from configure:
checking for cc libiconv ... fail
This is a module used for i8n, right? Is it vital?
checking for cc libdvben50221 ... fail
This is from dvb-devel 1.1.1? OK
checking for cc libhdhomerun/hdhomerun.h ... fail
Guess I only need this if I have a homerun-tuner?
checking for ffmpeg libraries ... fail
I looked for this one and found a mention of it on chromium, but even if I installed it, I still see this message?
checking for pkg libavcodec >=55.34.1 ... fail (detected <none>)
I did install http://software.opensuse.org/package/libavcodec55, but still see this message?
Replies (5)
RE: General build question - Added by Dreamcat 4 about 9 years ago
Don't know about SUSE, but here's all the ubuntu build deps we use:
https://github.com/tvheadend/tvheadend-build/blob/master/ubuntu/deps/Dockerfile
RE: General build question - Added by Dreamcat 4 about 9 years ago
Anders Gustafsson wrote:
Hi! (v4.1-749)
I have a few questions relating to needed modules for a build, ie the following messages from configure:
checking for cc libiconv ... fail
This is a module used for i8n, right? Is it vital?
Correct. It's just old configure check. The lib is not there (moved now).
checking for cc libdvben50221 ... fail
This is from dvb-devel 1.1.1? OK
Yes, correct. In other pkg name, sorry I forget which one now.
checking for cc libhdhomerun/hdhomerun.h ... fail
Guess I only need this if I have a homerun-tuner?
Correct. On ubuntu we seem to have the pkg named 'libhdhomerun-dev'. So we just include that anyways (as it's not going to add anything much to the output file size).
checking for ffmpeg libraries ... fail
I looked for this one and found a mention of it on chromium, but even if I installed it, I still see this message?
checking for pkg libavcodec >=55.34.1 ... fail (detected <none>
I did install http://software.opensuse.org/package/libavcodec55, but still see this message?
There's multiple libav* pkgs, and under different names. You might be missing some OR your distro's libav55 is older than .34.1, eg revision 33 or somthing earlier before that.
RE: General build question - Added by Dreamcat 4 about 9 years ago
Actually... come to think of it. OpenSUSE has massive issues in regards to the licensing of codecs stuff. Maybe to get the 'proper' ffmpeg (with codecs included) you need some 3rd party OpenSUSE repository or something? I think so. In fact that's why I gave up trying to build anything on OpenSUSE's build farm. They are too open. Wheras Canonical has paid for the necessary codec licenses for it's user base. MP£, MP£G, [hx]264 and so on.
RE: General build question - Added by Anders Gustafsson about 9 years ago
Thanks. You are correct that these issues were caused by me not having all the correct repos. There are also ready-made builds available for OpenSuSE. For me, using OpenSuSE makes sense as part of my day job involves systems running on the commercial version of SuSE. I will write up a complete howto when I am done and post here, hoping that I can perhaps help someone.
The required libffmpeg-devel-2.8.1-1.1.x86_64.rpm is available in the packman repo, so you just need to add that:
zypper ar -f -n packman-essentials http://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_13.2/Essentials/ packman-essentials
zypper ar -f -n packman-multimedia http://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_13.2/Multimedia/ packman-multimedia
Same repo also holds xmltv and friends.
But, just to satisfy my own curiosity: The various codecs are only needed if watching stuff or transcoding, right? If I just run tvh as a PVR and watch from KODI on the Raspberry, then all decoding happens on the raspberry, right?
RE: General build question - Added by Dreamcat 4 about 9 years ago
Anders Gustafsson wrote:
I will write up a complete howto when I am done and post here,
Yes it seems there are some others on OpenSUSE. They may appreciate that.
But, just to satisfy my own curiosity: The various codecs are only needed if watching stuff or transcoding, right? If I just run tvh as a PVR and watch from KODI on the Raspberry, then all decoding happens on the raspberry, right?
Yes that sounds about right. Although I'm not too familiar with those bits myself. For a better clarification there is plenty of expertise on hand @ freenode #tvh IRC channel.