Cannot compile TVHeadend - dependency errors

  • Hi



    I am "*.deb person" and try not to compile anything if possible because that is usually out of my league. However once in a while it is good to grow a little older and give it a try.


    So I tried to compile TVHeadend 4.1 from git. I did get the packages and did:


    Code
    ./configure --disable-libav
    ./Autobuild.sh -t precise-amd64


    and got the following message:


    Code
    dpkg-buildpackage: Quellpaket tvheadend
    dpkg-buildpackage: Quellversion 4.1-318~g36dd8b8~precise
    dpkg-buildpackage: Quellen geändert durch Andreas Öman <andreas@tvheadend.org>
    dpkg-buildpackage: Host-Architektur amd64
     dpkg-source --before-build tvheadend
    dpkg-checkbuilddeps: Nicht erfüllte Bauabhängigkeiten: libavahi-client-dev libcurl4-gnutls-dev liburiparser-dev
    dpkg-buildpackage: Warnung: Bauabhängigkeiten/-konflikte nicht erfüllt; Abbruch
    dpkg-buildpackage: Warnung: (Verwenden Sie -d, um sich darüber hinwegzusetzen.)


    So when I try to install one of the missing packages manually I do get another missing package, just a level "deeper into the jungle". And that goes on and on, I think I have tried 3-4 levels here :cursing:


    How can I resolve that?

  • This repository supports the following releases..


    Reported to workUbuntu 14.04 - 'Trusty'
    Ubuntu 14.10 - 'Utopic'
    Ubuntu 15.04 - 'Vivid'
    Mint Linux 17 - 'Qiuana' (not confirmed)
    Mint Linux 17.1 - 'Rebecca' or 'Cinnamon'
    Debian 8.0 - 'Jessie'



    Not supported Debian 7.0 - 'Wheezy' (oldstable) -> omv 1.x & omv 2.x :(
    i386 architecture

    Proxmox5: Kernel 4.13.4-1-pve LXC: omv 4.x arrakis | 64 bit | omvextrasorg 4.x |

  • Ok


    for anyone who is interested here is how it worked:


    1. Make yourself a working folder - I chose /home/build/



    2. Install needed packages:


    "building stuff":


    Code
    apt-get install build-essential pkg-config libssl-dev git


    codecs:

    Code
    apt-get install libavahi-client-dev libavcodec-dev libavfilter-dev
     libavformat-dev libavutil-dev libswscale-dev libavcodec-extra-53 
    liburiparser1 liburiparser-dev debhelper libcurl4-gnutls-dev a52dec


    3. Get TVH GIT:


    Code
    git clone https://github.com/tvheadend/tvheadend.git


    Will install it in your building directory in subfolder "tvheadend"
    [/CODE]


    4. Compile:


    Code
    cd tvheadend
    
    
    AUTOBUILD_CONFIGURE_EXTRA=--enable-libffmpeg_static ./Autobuild.sh -t debian


    wait....


    In the end when it completes you will have the *.deb files in your building directory to install/upgrade older TVH install via dpkg - very neat this autobuild feature ^^



    If you run into my above posted error you likely need this package:


    https://packages.debian.org/wheezy/libgpg-error-dev


    It might be better to turn of debian pre-release, unstable or backports stuff in apt config/OMV GUI (not the OMV backports kernel - that works with TVH).



    So far I have compiled twice 4.1 and once 4.0.5., so I would say it works



    I am certainly no Linux crack, I have very limited knowledge - therefore I think it should work easy for quite some people here and since it comes in deb-files it is easy to remove as well.




    Edit:


    For Versions other than GIT get the source from here: https://tvheadend.org/projects/tvheadend/wiki/Tvheadend-40 untar in working directory ans then just Autobuild.





    Credits go here:


    https://tvheadend.org/boards/4/topics/13635


    and to @firsttris - Tvheadend Setup

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!