Project

General

Profile

Debian GNU/Linux 12 Bookworm and tvheadend

Added by joe blow about 1 year ago

cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm

I wanted to install tvh on this OS, following the forums/wiki to compile from src, that are somewhat dated, I thought I would post what I needed to install in order to get this to compile.

tvheadend build:
sudo apt install build-essential git pkg-config libssl-dev bzip2 wget libavahi-client-dev zlib1g-dev libavcodec-dev libavutil-dev libavformat-dev libswscale-dev python-is-python3 gettext cmake libdvbcsa1 libdvbcsa-dev liburiparser1 libva-dev libargtable2-0 debhelper liburiparser-dev libpcre2-dev libpcre3-dev

Been a day or so, but I think this package was requested but not availble:

libavresample-dev
E: Package 'libavresample-dev' has no installation candidate
root@nuc:~# apt policy libavresample-dev
libavresample-dev:
Installed: (none)
Candidate: (none)
Version table:

I proceeded to give it a go. I ended up using the Autobuild.sh, after trying the ./configure, make route.
Not knowing the ins and outs of the autobuild, I ended up with this for an installed version:
HTS Tvheadend 0.0.0-unknown
So, where can I read more about whats what.
Thanks


Replies (3)

RE: Debian GNU/Linux 12 Bookworm and tvheadend - Added by Jonas Lang about 1 year ago

This is something I did for Ubuntu a while back which still functions perfectly. Have a look at it and modify it for your own case scenario. https://tvheadend.org/boards/4/topics/47932

RE: Debian GNU/Linux 12 Bookworm and tvheadend - Added by Dave H about 1 year ago

It seems that libavresample may have been deprecated in 2017 and that

"Users of this library are asked to migrate to libswresample"

So there may be a more significant problem than following a set of instructions correctly.

RE: Debian GNU/Linux 12 Bookworm and tvheadend - Added by Jonas Lang about 1 year ago

It does prompt you to install libswresample-dev as an alternative when running the build process which work’s successfully. I must edit my original post to reflect that.

    (1-3/3)