Install from repo or compile?
Added by Brent Bolin over 6 years ago
Description: Debian GNU/Linux 9.5 (stretch)
Release: 9.5
Linux oc2 4.17.3-odroidc2 #6 SMP PREEMPT Thu Jun 28 17:33:25 UTC 2018 aarch64 GNU/Linux
What are my options?
Replies (9)
RE: Install from repo or compile? - Added by Brent Bolin over 6 years ago
I was able to accomplish this by looking at a stock install done in a VM using Ubuntu 16.04
git clone -b release/4.2 https://github.com/tvheadend/tvheadend.git
cd tvheadend
./configure --disable-ffmpeg_static
make
make install
Other dependencies found from stock install
apt install tvheadend
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
dtv-scan-tables dvb-apps libcgi-fast-perl libcgi-pm-perl libclass-methodmaker-perl libdata-dump-perl libdigest-hmac-perl libemail-address-perl libemail-find-perl
libemail-valid-perl libexporter-lite-perl libfile-chdir-perl libfile-slurp-perl libhtml-fromtext-perl libhtml-tableextract-perl libhttp-cache-transparent-perl
libhttp-server-simple-perl liblingua-preferred-perl liblog-tracemessages-perl libnet-dns-perl libnet-domain-tld-perl libnet-ip-perl libparse-recdescent-perl
libregexp-common-perl libterm-progressbar-perl libterm-readkey-perl libtext-bidi-perl libtie-ixhash-perl libunicode-string-perl liburiparser1
libwww-mechanize-perl libxml-dom-perl libxml-libxslt-perl libxml-perl libxml-regexp-perl libxml-treepp-perl libxml-twig-perl libxml-writer-perl libxmltv-perl
xmltv-util
Suggested packages:
libhtml-element-extended-perl libunicode-map8-perl xml-twig-tools xmltv-gui libtext-kakasi-perl liblinux-dvb-perl
The following NEW packages will be installed:
dtv-scan-tables dvb-apps libcgi-fast-perl libcgi-pm-perl libclass-methodmaker-perl libdata-dump-perl libdigest-hmac-perl libemail-address-perl libemail-find-perl
libemail-valid-perl libexporter-lite-perl libfile-chdir-perl libfile-slurp-perl libhtml-fromtext-perl libhtml-tableextract-perl libhttp-cache-transparent-perl
libhttp-server-simple-perl liblingua-preferred-perl liblog-tracemessages-perl libnet-dns-perl libnet-domain-tld-perl libnet-ip-perl libparse-recdescent-perl
libregexp-common-perl libterm-progressbar-perl libterm-readkey-perl libtext-bidi-perl libtie-ixhash-perl libunicode-string-perl liburiparser1
libwww-mechanize-perl libxml-dom-perl libxml-libxslt-perl libxml-perl libxml-regexp-perl libxml-treepp-perl libxml-twig-perl libxml-writer-perl libxmltv-perl
tvheadend xmltv-util
0 upgraded, 41 newly installed, 0 to remove and 0 not upgraded.
Need to get 4,506 kB of archives.
After this operation, 81.0 MB of additional disk space will be used.
Do you want to continue? [Y/n]
create
/etc/init.d/tvheadend
/etc/default/tvheadend
/etc/init/tvheadend.conf
Isn't there a way to get all these dependencies when using git?
How or where can you get these other 3 configuration files?
RE: Install from repo or compile? - Added by Mark Clarkstone over 6 years ago
Just use the Autobuild.sh script
./Autobuild.sh -o deps -t stretch-amd64 ./Autobuild.sh -t stretch-amd64
RE: Install from repo or compile? - Added by Mark Clarkstone over 6 years ago
Brent Bolin wrote:
Will it work for ARM
Yes, instead of stretch-amd64 just use "debian".
Speed up compile by disabling ffmpeg etc, see ./configure --help for options then pass them like this..
AUTOBUILD_CONFIGURE_EXTRA="--option_name1 --option_name2" ./Autobuild.sh -t debian
RE: Install from repo or compile? - Added by Brent Bolin over 6 years ago
So something like this:
git clone -b release/4.2 https://github.com/tvheadend/tvheadend.git
cd tvheadend
AUTOBUILD_CONFIGURE_EXTRA="--disable-ffmpeg_static" ./Autobuild.sh -t debian
Any other suggestions for building on ARM other then --disable-ffmpeg_static
Does this just create *.deb files or does it install
RE: Install from repo or compile? - Added by Mark Clarkstone over 6 years ago
It creates debs, use dpkg -i <name>.deb to install. the debs are up one dir, so once it's complete cd ../ then dpkg.
RE: Install from repo or compile? - Added by Brent Bolin over 6 years ago
Wow that was extremely easy. I know a much harder way
tku
RE: Install from repo or compile? - Added by charles burns over 6 years ago
This will compile the source output a lot of rubbish to your console. Just go ahead and let it finish. It should take about a minute or so. When it is done, you should be ready to install it. As root run:
RE: Install from repo or compile? - Added by saen acro over 6 years ago
Brent Bolin wrote:
Wow that was extremely easy. I know a much harder way
tku
You don't read manual ;)
http://tvheadend.org/boards/4/topics/24116