Can't build tvheadend-git 20141014.v3.9_1830_ga35d661-1
Added by Latty Jordan about 10 years ago
The latest git build doesn't seem to want to compile for me, not at least into an arch linux pacman package. Running makepkg (which has always worked before) gives an error:
checking for cc dvbcsa/dvbcsa.h ... fail
ERROR: Failed to find dvbcsa support (use --disable-dvbcsa)
==> ERROR: A failure occurred in build().
Aborting...
Now I know I've got libdvbcsa installed, because I built it from https://aur.archlinux.org/packages/libdvbcsa/ but I try again with the --disable-dvbcsa option and now I get:
makepkg: invalid option '--disable-dvbcsa'
Any thoughts?
Replies (3)
RE: Can't build tvheadend-git 20141014.v3.9_1830_ga35d661-1 - Added by Latty Jordan about 10 years ago
d'oh. I needed to use the --disable-dvbcsa option in the PKGBUILD file, not pass it to makepkg. I'm still puzzled why it can't find the installed dvbcsa.
RE: Can't build tvheadend-git 20141014.v3.9_1830_ga35d661-1 - Added by Latty Jordan about 10 years ago
OK, now it's failing because it can't find the hdhomerun libraries
In file included from src/input/mpegts/tvhdhomerun/tvhdhomerun.c:25:0:
src/input/mpegts/tvhdhomerun/tvhdhomerun_private.h:27:36: fatal error: libhdhome run/hdhomerun.h: No such file or directory
#include <libhdhomerun/hdhomerun.h>
compilation terminated.
Makefile:405: recipe for target '/root/tvheadend-git/src/tvheadend-build/build.l inux/src/input/mpegts/tvhdhomerun/tvhdhomerun.o' failed
make: *** [/root/tvheadend-git/src/tvheadend-build/build.linux/src/input/mpegts/ tvhdhomerun/tvhdhomerun.o] Error 1
==> ERROR: A failure occurred in build().
Aborting...
Now I've not installed these libraries because I've not got an hdhomerun. Do I explicitly have to set a compile option saying so.
RE: Can't build tvheadend-git 20141014.v3.9_1830_ga35d661-1 - Added by Prof Yaffle about 10 years ago
Should be fixed now - perexg added a couple of better checks. Alternatively, install the hdhomerun drivers anyway