Compiling Tvheadend
#1
Hi everyone im trying to compile tvheadend to my Debian server. At first I was getting some ssl1.0 error when trying to download tvheadend from git but i managed to fix by disabling all my sources apart from to then doing apt-get update, apt-get upgrade and then finally apt-get auto-remove and the i enabled the source link for tvheadend.

The problem im having now is when i go to compile using make I get this below

Code:
root@debian:/tvheadend/tvheadend# make
CC              src/uuid.o
In file included from /usr/include/bits/errno.h:25,
                 from /usr/include/errno.h:36,
                 from src/tvheadend.h:27,
                 from src/uuid.c:20:
/usr/include/linux/errno.h:4:23: error: asm/errno.h: No such file or directory
In file included from /usr/include/sys/socket.h:40,
                 from /usr/include/netinet/in.h:25,
                 from src/tvheadend.h:28,
                 from src/uuid.c:20:
/usr/include/bits/socket.h:370:24: error: asm/socket.h: No such file or directory
In file included from src/uuid.c:20:
src/tvheadend.h: In function âlock_assert0â:
src/tvheadend.h:127: error: âEBUSYâ undeclared (first use in this function)
src/tvheadend.h:127: error: (Each undeclared identifier is reported only once
src/tvheadend.h:127: error: for each function it appears in.)
src/uuid.c: In function âuuid_init_binâ:
src/uuid.c:121: error: âEINVALâ undeclared (first use in this function)
make: *** [/tvheadend/tvheadend/build.linux/src/uuid.o] Error 1
root@debian:/tvheadend/tvheadend#

Anyone know how to fix? Also in a newbie to linux so may be an easier fix just let us know thanks..
Reply
#2
Just had a look at my Ubuntu compile bash history: (hint make zip)

Code:
git clone git://github.com/adamsutton/xbmc-pvr-addons
cd $HOME/xbmc-pvr-addons
./bootstrap
./configure
make zip

resulted in this:
pvr.hts v1.9.37 for Helix/Kodi - Linux/Debian/Ubuntu 32bit:

https://dl.dropboxusercontent.com/u/2764...x-i486.zip

Reply
#3
Thanks wrxtasy will that work on Debian? Will put it in midday can you leave link open for me today..
Reply
#4
Not too sure on compatibility, but I strongly suspect Debian / Ubuntu are compatible.
Also no problems with the link, I don't delete links from Dropbox unless I'm running out of space.

From memory I think i had the same issues as you until I issued a make zip instead of just make

Reply
#5
Ok will try that shortly, also is the file tvheadend? Thanks
Reply
#6
File named pvr.hts-linux-i486.zip for TvHeadend.
You also end up with all the others pvr addons as well once doing the make zip.

..and it appears in my /root/xbmc-pvr-addons/addons folder on the Ubuntu compile machine I use.

It installed from zip in the settings/add-ons on my Kodi Ubuntu machine.

Smile

Reply
#7
Ok cool thanks for the help will add it in later
Reply
#8
(2015-01-11, 03:09)choppa2choppa Wrote: Also in a newbie to linux so may be an easier fix just let us know thanks..

Do you have some specific reason for wanting to compile TVHeadEnd rather than just using the Debian Apt Repository?
Reply
#9
@wrxtasy he's trying to compile tvheadend, not the addon, thus the link you gave him won't be of any help.
Reply
#10
@choppa2choppa it seems you're missing the package "linux-libc-dev".
Reply
#11
DOH ! massive massive palm to the Face Blush

Reply

Logout Mark Read Team Forum Stats Members Help
Compiling Tvheadend0