I can't seem to figure out to get tvheadend installed. I've been able to install other apps like Sabnzbd, SickBeard, etc just fine, but not this.
I've cloned the source from git and have configured it like this:
bash configure \
--disable-avahi \
--prefix=/opt/tvheadend
When I run make I get the following:
NAS1> make
CC build.linux/src/main.o
In file included from /opt/tvheadend/src/main.c:43:
/opt/tvheadend/src/dvb/dvb.h:22:31: linux/dvb/version.h: No such file or directory
/opt/tvheadend/src/dvb/dvb.h:23:32: linux/dvb/frontend.h: No such file or directory
In file included from /opt/tvheadend/src/main.c:43:
/opt/tvheadend/src/dvb/dvb.h:67: error: field `dmc_fe_params' has incomplete type
In file included from /opt/tvheadend/src/dvr/dvr.h:23,
from /opt/tvheadend/src/main.c:50:
/opt/tvheadend/src/epg.h:90: warning: `warn_unused_result' attribute directive ignored
/opt/tvheadend/src/epg.h:93: warning: `warn_unused_result' attribute directive ignored
/opt/tvheadend/src/epg.h:96: warning: `warn_unused_result' attribute directive ignored
/opt/tvheadend/src/epg.h:99: warning: `warn_unused_result' attribute directive ignored
/opt/tvheadend/src/epg.h:102: warning: `warn_unused_result' attribute directive ignored
In file included from /opt/tvheadend/src/main.c:56:
/opt/tvheadend/src/v4l.h:23:29: linux/videodev2.h: No such file or directory
make: *** [build.linux/src/main.o] Error 1
Any ideas?