Bug #2375
Compilation fails when lhdhomerun is not installed
100%
Description
I'm trying to build a pacman package for Arch Linux, but it fails with the error
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...
lhdhomerun is not installed
History
Updated by Piotr Kuchciak about 10 years ago
I also have this problem:
Checking support/features
checking for cc execinfo.h ... ok
checking for cc -mmmx ... ok
checking for cc -msse2 ... ok
checking for cc getloadavg ... ok
checking for cc atomic64 ... ok
checking for cc lockowner ... ok
checking for cc qsort_r ... ok
checking for cc recvmmsg ... ok
checking for cc libiconv ... ok
checking for py module gzip ... ok
checking for bzip2 ... ok
checking for pkg openssl ... ok
checking for cc linux/dvb/version.h ... ok
checking for cc -lhdhomerun ... fail
checking for pkg zlib ... ok
checking for pkg liburiparser ... ok
checking for pkg libavcodec >=52.96.0 ... ok
checking for pkg libavutil >=50.43.0 ... ok
checking for pkg libavformat >=53.10.0 ... ok
checking for pkg libswscale >=0.13.0 ... ok
checking for pkg libavresample >=1.1.0 ... ok
checking for cc sys/inotify.h ... fail
fetching dvb-scan files ... ok
checking for pkg dbus-1 ... ok
Compiler:
Using C compiler: ccache cc
Using LD flags: -lhdhomerun
Build for arch: x86_64
Binaries:
Using PYTHON: python
Options:
cwc yes
capmt yes
constcw yes
v4l no
linuxdvb yes
satip_client yes
hdhomerun_client yes
hdhomerun_static no
iptv yes
tsfile yes
dvbscan yes
timeshift yes
trace yes
imagecache yes
avahi no
zlib yes
libav yes
libffmpeg_static no
inotify no
epoll yes
uriparser yes
ccache yes
tvhcsa yes
bundle yes
dvbcsa no
kqueue no
dbus_1 yes
android no
execinfo yes
mmx yes
sse2 yes
getloadavg yes
atomic64 yes
lockowner yes
qsort_r yes
recvmmsg yes
libiconv yes
py_gzip yes
bin_bzip2 yes
ssl yes
linuxdvbapi yes
upnp yes
mpegts yes
mpegps no
mpegts_dvb yes
Packages:
openssl 1.0.1g
zlib 1.2.8
liburiparser 0.7.5
libavcodec 55.34.1
libavutil 53.3.0
libavformat 55.12.0
libswscale 2.1.2
libavresample 1.1.0
dbus-1 1.6.8
Installation paths:
Prefix: /usr
Binaries: ${prefix}/bin
Libraries: ${prefix}/lib
Data files: ${prefix}/share
Man pages: ${datadir}/man
Final Binary:
/home/hts/tvheadend/build.linux/tvheadend
Tvheadend Data Directory:
/usr/share/tvheadend
Receiving data/dvb-scan/dvb-t from http://linuxtv.org/git/dtv-scan-tables.git
CC src/version.o
CC src/uuid.o
CC src/main.o
CC src/tvhlog.o
CC src/idnode.o
CC src/prop.o
CC src/utils.o
CC src/wrappers.o
CC src/access.o
CC src/tcp.o
CC src/udp.o
CC src/url.o
CC src/http.o
CC src/notify.o
CC src/file.o
CC src/epg.o
CC src/epgdb.o
CC src/epggrab.o
CC src/spawn.o
CC src/packet.o
CC src/streaming.o
CC src/channels.o
CC src/subscriptions.o
CC src/service.o
CC src/htsp_server.o
CC src/htsmsg.o
CC src/htsmsg_binary.o
CC src/htsmsg_json.o
CC src/htsmsg_xml.o
CC src/misc/dbl.o
CC src/misc/json.o
CC src/settings.o
CC src/htsbuf.o
CC src/trap.o
CC src/avg.o
CC src/htsstr.o
CC src/tvhpoll.o
CC src/huffman.o
CC src/filebundle.o
CC src/config.o
CC src/lang_codes.o
CC src/lang_str.o
CC src/imagecache.o
CC src/tvhtime.o
CC src/service_mapper.o
CC src/input.o
CC src/httpc.o
CC src/rtsp.o
CC src/fsmonitor.o
CC src/cron.o
CC src/esfilter.o
CC src/intlconv.o
CC src/profile.o
CC src/api.o
CC src/api/api_status.o
CC src/api/api_idnode.o
CC src/api/api_input.o
CC src/api/api_channel.o
CC src/api/api_service.o
CC src/api/api_mpegts.o
CC src/api/api_epg.o
CC src/api/api_epggrab.o
CC src/api/api_imagecache.o
CC src/api/api_esfilter.o
CC src/api/api_intlconv.o
CC src/api/api_access.o
CC src/api/api_dvr.o
CC src/api/api_caclient.o
CC src/api/api_profile.o
CC src/parsers/parsers.o
CC src/parsers/bitstream.o
CC src/parsers/parser_h264.o
CC src/parsers/parser_latm.o
CC src/parsers/parser_avc.o
CC src/parsers/parser_teletext.o
CC src/epggrab/module.o
CC src/epggrab/channel.o
CC src/epggrab/module/pyepg.o
CC src/epggrab/module/xmltv.o
CC src/plumbing/tsfix.o
CC src/plumbing/globalheaders.o
CC src/dvr/dvr_db.o
CC src/dvr/dvr_rec.o
CC src/dvr/dvr_autorec.o
CC src/dvr/dvr_timerec.o
CC src/dvr/dvr_config.o
CC src/dvr/dvr_cutpoints.o
CC src/webui/webui.o
CC src/webui/comet.o
CC src/webui/extjs.o
CC src/webui/simpleui.o
CC src/webui/statedump.o
CC src/webui/html.o
CC src/webui/webui_api.o
CC src/muxer.o
CC src/muxer/muxer_pass.o
CC src/muxer/muxer_tvh.o
CC src/muxer/tvh/ebml.o
CC src/muxer/tvh/mkmux.o
CC src/upnp.o
CC src/descrambler/descrambler.o
CC src/descrambler/caclient.o
CC src/input/mpegts.o
CC src/input/mpegts/mpegts_input.o
CC src/input/mpegts/mpegts_network.o
CC src/input/mpegts/mpegts_mux.o
CC src/input/mpegts/mpegts_service.o
CC src/input/mpegts/mpegts_table.o
CC src/input/mpegts/dvb_support.o
CC src/input/mpegts/dvb_charset.o
CC src/input/mpegts/dvb_psi.o
CC src/input/mpegts/tsdemux.o
CC src/input/mpegts/mpegts_mux_sched.o
CC src/input/mpegts/mpegts_network_scan.o
CC src/input/mpegts/mpegts_network_dvb.o
CC src/input/mpegts/mpegts_mux_dvb.o
CC src/input/mpegts/scanfile.o
CC src/epggrab/otamux.o
CC src/epggrab/module/eit.o
CC src/epggrab/support/freesat_huffman.o
CC src/epggrab/module/opentv.o
CC src/input/mpegts/linuxdvb/linuxdvb.o
CC src/input/mpegts/linuxdvb/linuxdvb_adapter.o
CC src/input/mpegts/linuxdvb/linuxdvb_frontend.o
CC src/input/mpegts/linuxdvb/linuxdvb_satconf.o
CC src/input/mpegts/linuxdvb/linuxdvb_lnb.o
CC src/input/mpegts/linuxdvb/linuxdvb_switch.o
CC src/input/mpegts/linuxdvb/linuxdvb_rotor.o
CC src/input/mpegts/linuxdvb/linuxdvb_en50494.o
CC src/input/mpegts/satip/satip.o
CC src/input/mpegts/satip/satip_frontend.o
CC src/input/mpegts/satip/satip_satconf.o
CC src/input/mpegts/satip/satip_rtsp.o
CC src/input/mpegts/tvhdhomerun/tvhdhomerun.o
In file included from src/input/mpegts/tvhdhomerun/tvhdhomerun.c:25:0:
src/input/mpegts/tvhdhomerun/tvhdhomerun_private.h:27:36: fatal error: libhdhomerun/hdhomerun.h: Nie ma takiego pliku ani katalogu
compilation terminated.
make: * [/home/hts/tvheadend/build.linux/src/input/mpegts/tvhdhomerun/tvhdhomerun.o] Błąd 1
CC src/input/mpegts/tvhdhomerun/tvhdhomerun.o
In file included from src/input/mpegts/tvhdhomerun/tvhdhomerun.c:25:0:
src/input/mpegts/tvhdhomerun/tvhdhomerun_private.h:27:36: fatal error: libhdhomerun/hdhomerun.h: Nie ma takiego pliku ani katalogu
compilation terminated.
make: * [/home/hts/tvheadend/build.linux/src/input/mpegts/tvhdhomerun/tvhdhomerun.o] Błąd 1
hts@Synology_DS713:~$
Updated by Piotr Kuchciak about 10 years ago
I try this and it works:
./configure --prefix=/usr --enable-bundle --disable-avahi --disable-hdhomerun_client
make
make install
Updated by Jaroslav Kysela about 10 years ago
- Status changed from New to Fixed
- % Done changed from 0 to 100
Applied in changeset commit:tvheadend|c0c797d4f8fbf0f088cc3a0ea5c83d6c38efe37a.