Project

General

Profile

Installation of TvHeadend under Windows' Linux Subsystem

Added by Di One almost 5 years ago

Hello,

for long time a successfully ran Kodi with TvHeadend under an LibreElec installation, but was now "foreced" to switch to Windows 10. Kodi is running quite fine and now I wanted to get TvHeadend working again. I installed Debian subsystem under Windows 10 - which is an "app" for Windows 10.

I followed an instruction on kodinerds.net which seems to be outdated (https://www.kodinerds.net/index.php/Thread/64852-TVheadend-unter-Windows-10-Howto/), because I was not able to get the tvheadend package with ap-get install ... and also found several reasons for that (which I did not all understand, but it seems to be a problem of the package hosting).

Ok, I then switched to the official description and followed the steps until "make". The make install step I didn't do, because I want to run TvHeadend permanently and therefore switched to the package page (https://tvheadend.org/projects/tvheadend/wiki/Packaging) and ran the command sudo ./Autobuild.sh -t xenial-amd64

The build seems to ran through, I didn't see any errors and the following are the last lines of the build:

 dpkg-genbuildinfo --build=binary
 dpkg-genchanges --build=binary >../tvheadend_4.3-1857~g221c29b40~xenial_amd64.changes
dpkg-genchanges: info: binary-only upload (no source code included)
 dpkg-source --after-build .
dpkg-buildpackage: info: binary-only upload (no source included)
doozer-versioned-artifact:/tvheadend/../tvheadend_4.3-1857~g221c29b40~xenial_amd64.deb:deb:application/x-deb:tvheadend_4.3-1857~g221c29b40~xenial_amd64.deb
doozer-versioned-artifact:/tvheadend/../tvheadend-dbg_4.3-1857~g221c29b40~xenial_amd64.deb:deb:application/x-deb:tvheadend-dbg_4.3-1857~g221c29b40~xenial_amd64.deb
doozer-versioned-artifact:/tvheadend/../tvheadend_4.3-1857~g221c29b40~xenial_amd64.changes:changes:text/plain:tvheadend_4.3-1857~g221c29b40~xenial_amd64.changes

When I now try to start the service tvheadend and got the following message:

sudo service tvheadend start
tvheadend: unrecognized service

Can you help me, how I have to continue? My linux skills are not the best...

Here are the fulfilled dependencies and paths. Some are not fulfilled. Is this a problem:

Checking support/features
  checking for cc execinfo.h ...                    ok
  checking for cc -mmmx ...                         ok
  checking for cc -msse2 ...                        ok
  checking for cc -Wunused-result ...               ok
  checking for cc -fstack-protector ...             ok
  checking for cc -fstack-protector-strong ...      ok
  checking for cc -fstack-check ...                 ok
  checking for cc -fPIE ...                         ok
  checking for cc strlcat ...                       fail
  checking for cc strlcpy ...                       fail
  checking for cc fdatasync ...                     ok
  checking for cc getloadavg ...                    ok
  checking for cc atomic32 ...                      ok
  checking for cc atomic64 ...                      ok
  checking for cc atomic_time_t ...                 ok
  checking for cc atomic_ptr ...                    ok
  checking for cc bitops64 ...                      ok
  checking for cc lockowner ...                     ok
  checking for cc qsort_r ...                       ok
  checking for cc stime ...                         ok
  checking for cc gmtoff ...                        ok
  checking for cc recvmmsg ...                      ok
  checking for cc sendmmsg ...                      ok
  checking for cc libiconv ...                      fail
    ^ using build-in glibc iconv routines
  checking for cc ifnames ...                       ok
  checking for cc cclang_threadsan ...              fail
  checking for py module gzip ...                   ok
  checking for pkg-config ...                       ok
  checking for xgettext ...                         ok
  checking for msgmerge ...                         ok
  checking for gzip ...                             ok
  checking for bzip2 ...                            ok
  checking for pkg openssl  ...                     ok (detected 1.1.1d)
  checking for cc linux/dvb/version.h ...           ok
  checking for pkg zlib  ...                        ok (detected 1.2.11)
  checking for pkg libpcre2-8  ...                  fail (detected <none>)
  checking for pkg libpcre  ...                     ok (detected 8.39)
  checking for pkg liburiparser  ...                ok (detected 0.9.1)
  checking for pkg avahi-client  ...                ok (detected 0.7)
  checking for cmake ...                            ok
  checking for cc -lstdc++ ...                      ok
  checking for pkg libva >=0.38.0 ...               fail (detected <none>)
  checking for cc sys/inotify.h ...                 ok
  checking for cc inotify_init1 ...                 ok
  checking for cc dvbcsa/dvbcsa.h ...               ok
  checking for cc -ldvbcsa ...                      ok
  fetching dvb-scan files ...                       ok
  checking for cc epoll_create1 ...                 ok
  checking for pkg dbus-1  ...                      ok (detected 1.12.16)

Compiler:
  Using C compiler:                        cc
  Using LD flags:                           -ldvbcsa
  Build for arch:                          x86_64

Binaries:
  Using PYTHON:                            python
  Using GZIP:                              gzip
  Using BZIP2:                             bzip2

Options:
  pie                                      yes
  ccdebug                                  no
  cardclient                               yes
  cwc                                      yes
  cccam                                    yes
  capmt                                    yes
  constcw                                  yes
  linuxdvb                                 yes
  satip_server                             yes
  satip_client                             yes
  hdhomerun_client                         yes
  hdhomerun_static                         yes
  iptv                                     yes
  tsfile                                   yes
  dvbscan                                  yes
  timeshift                                yes
  trace                                    yes
  avahi                                    yes
  zlib                                     yes
  libav                                    yes
  ffmpeg_static                            yes
  libx264                                  yes
  libx264_static                           yes
  libx265                                  yes
  libx265_static                           yes
  libvpx                                   yes
  libvpx_static                            yes
  libtheora                                yes
  libtheora_static                         yes
  libvorbis                                yes
  libvorbis_static                         yes
  libfdkaac                                no
  libfdkaac_static                         no
  libopus                                  yes
  libopus_static                           yes
  nvenc                                    no
  vaapi                                    no
  mmal                                     no
  omx                                      no
  inotify                                  yes
  epoll                                    yes
  pcre                                     yes
  pcre2                                    no
  uriparser                                yes
  ccache                                   no
  tvhcsa                                   yes
  bundle                                   no
  pngquant                                 no
  kqueue                                   no
  dbus_1                                   yes
  android                                  no
  gtimer_check                             no
  slow_memoryinfo                          no
  libsystemd_daemon                        no
  pcloud_cache                             yes
  ddci                                     yes
  cclang_threadsan                         no
  gperftools                               no
  execinfo                                 yes
  mmx                                      yes
  sse2                                     yes
  W_unused_result                          yes
  f_stack_protector                        yes
  f_stack_protector_strong                 yes
  f_stack_check                            yes
  f_PIE                                    yes
  fdatasync                                yes
  getloadavg                               yes
  atomic32                                 yes
  atomic64                                 yes
  atomic_time_t                            yes
  atomic_ptr                               yes
  bitops64                                 yes
  lockowner                                yes
  qsort_r                                  yes
  stime                                    yes
  gmtoff                                   yes
  recvmmsg                                 yes
  sendmmsg                                 yes
  ifnames                                  yes
  py_gzip                                  yes
  bin_pkg_config                           yes
  bin_xgettext                             yes
  bin_msgmerge                             yes
  bin_gzip                                 yes
  bin_bzip2                                yes
  ssl                                      yes
  linuxdvbapi                              yes
  linuxdvb_ca                              yes
  upnp                                     yes
  bin_cmake                                yes
  stdcpp                                   yes
  libogg_static                            yes
  inotify_h                                yes
  inotify_init1                            yes
  dvbcsa                                   yes
  epoll_create1                            yes
  mpegts                                   yes
  mpegts_dvb                               yes

Packages:
  openssl                                  1.1.1d
  zlib                                     1.2.11
  libpcre                                  8.39
  liburiparser                             0.9.1
  avahi-client                             0.7
  dbus-1                                   1.12.16

Installation paths:
  Prefix:                                  /usr
  Binaries:                                ${prefix}/bin
  Libraries:                               ${prefix}/lib
  Data files:                              ${prefix}/share
  Man pages:                               /usr/share/man

Final Binary:
  /tvheadend/build.linux/tvheadend

Tvheadend Data Directory:
  /usr/share/tvheadend

Thanks and kind regards,

Dieter