TVH Debian Stretch for arm
Added by Thomas xyz almost 7 years ago
Hello,
I have on my cubietruck Debian Stretch Linux cubietruck 4.13.16-sunxi # 20 SMP Fri Nov 24 19:50:07 CET 2017 armv7l GNU / Linux
and I would like to install TVH now because I have not found a ready package for it, at least here to https://tvheadend.org/projects/tvheadend/wiki/AptRepository I wanted to do the whole thing about the source and autobuild, but this beats fail with:
@make3: Entering directory '/opt/tvheadend'
cd /opt/tvheadend/build.linux/ffmpeg/libvpx-1.6.1 && \
ASFLAGS="-DENABLE_PIC=1 -DPIC=1" FFMPEG_PREFIX=/opt/tvheadend/build.linux/ffmpeg/build/ffmpeg PKG_CONFIG=/opt/tvheadend/support/pkg-config.ffmpeg ./configure --prefix=/ffmpeg --enable-static --disable-shared \
--extra-cflags="-fPIE" \
--disable-examples \
--disable-docs \
--disable-unit-tests \
disabling shared
disabling examples
disabling docs
disabling unit_tests
enabling vp8_encoder
enabling vp8_decoder
enabling vp9_encoder
enabling vp9_decoder
Configuring for target 'armv7-linux-gcc'
enabling armv7
enabling neon
enabling neon_asm
enabling webm_io
enabling libyuv
Creating makefiles for armv7-linux-gcc libs
Creating makefiles for armv7-linux-gcc tools
DIST_DIR=/opt/tvheadend/build.linux/ffmpeg/build/ffmpeg \
make -C /opt/tvheadend/build.linux/ffmpeg/libvpx-1.6.1 install
make[4]: Entering directory '/opt/tvheadend/build.linux/ffmpeg/libvpx-1.6.1'
[DEP] vpx_config.c.d
[CC] vpx_config.c.o
[AS] vpx_dsp/arm/intrapred_neon_asm.asm.S.o
as: unrecognized option '-ENABLE_PIC=1'
Makefile:190: recipe for target 'vpx_dsp/arm/intrapred_neon_asm.asm.S.o' failed
make[5]: * [vpx_dsp/arm/intrapred_neon_asm.asm.S.o] Error 1
Makefile:17: recipe for target '.DEFAULT' failed
make[4]: [.DEFAULT] Error 2
make[4]: Leaving directory '/opt/tvheadend/build.linux/ffmpeg/libvpx-1.6.1'
Makefile.ffmpeg:310: recipe for target '/opt/tvheadend/build.linux/ffmpeg/libvpx-1.6.1/.tvh_build' failed
make[3]: [/opt/tvheadend/build.linux/ffmpeg/libvpx-1.6.1/.tvh_build] Error 2
make[3]: Leaving directory '/opt/tvheadend'
Makefile:851: recipe for target '/opt/tvheadend/build.linux/ffmpeg/build/ffmpeg/lib/libavcodec.a' failed
make[2]: [/opt/tvheadend/build.linux/ffmpeg/build/ffmpeg/lib/libavcodec.a] Error 2
make[2]: Leaving directory '/opt/tvheadend'
debian/rules:11: recipe for target 'override_dh_auto_build' failed
make[1]: [override_dh_auto_build] Error 2
make[1]: Leaving directory '/opt/tvheadend'
debian/rules:5: recipe for target 'build' failed
make: * [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
@
What's wrong, or what can I do to get TVH up and running? `
Thank you
Replies (5)
RE: TVH Debian Stretch for arm - Added by Hiro Protagonist almost 7 years ago
Did you run ./configure before running make?
Does your system already have ffmpeg? If so, run:
./configure --disable-ffmpeg_static
RE: TVH Debian Stretch for arm - Added by Thomas xyz almost 7 years ago
The build has gone through AUTOBUILD_CONFIGURE_EXTRA = - disable-bintray_cache \ --disable-hdhomerun_static \ --disable-ffmpeg_static \ --enable-bundle \ --disable-ccache ./Autobuild.sh, But it brooks when i want to see a closed Channel
RE: TVH Debian Stretch for arm - Added by Thomas xyz almost 7 years ago
Hello,
I have now built TVH with this configuration ./configure --disable-ffmpeg_static
The configuration runs through this message
@./configure --disable-ffmpeg_static
Checking support/features
checking for cc execinfo.h ... ok
checking for cc -mmmx ... fail
checking for cc -msse2 ... fail
checking for cc -Wunused-result ... ok
checking for cc getloadavg ... ok
checking for cc atomic32 ... ok
checking for cc atomic64 ... ok
checking for cc atomic_time_t ... ok
checking for cc atomic_ptr ... ok
checking for cc bitops64 ... ok
checking for cc lockowner ... ok
checking for cc qsort_r ... ok
checking for cc stime ... ok
checking for cc gmtoff ... ok
checking for cc recvmmsg ... ok
checking for cc sendmmsg ... ok
checking for cc libiconv ... fail
^ using build-in glibc iconv routines
checking for cc ifnames ... ok
checking for cc cclang_threadsan ... fail
checking for py module gzip ... ok
checking for pkg-config ... ok
checking for xgettext ... ok
checking for msgmerge ... ok
checking for gzip ... ok
checking for bzip2 ... ok
checking for pkg openssl ... ok (detected 1.1.0f)
checking for cc linux/dvb/version.h ... ok
checking for pkg zlib ... ok (detected 1.2.8)
checking for pkg libpcre2-8 ... fail (detected <none>)
checking for pkg libpcre ... ok (detected 8.39)
checking for pkg liburiparser ... ok (detected 0.8.4)
checking for pkg avahi-client ... ok (detected 0.6.32)
checking for pkg libavfilter >=6.47.100 ... fail (detected <none>)
checking for pkg libswresample >=2.1.100 ... ok (detected 2.3.100)
checking for pkg libavresample >=3.0.0 ... ok (detected 3.1.0)
checking for pkg libswscale >=4.1.100 ... ok (detected 4.2.100)
checking for pkg libavformat >=57.41.100 ... ok (detected 57.56.101)
checking for pkg libavcodec >=57.48.101 ... ok (detected 57.64.101)
checking for pkg libavutil >=55.28.100 ... ok (detected 55.34.101)
WARNING: none or old ffmpeg libraries were detected
* use --disable-libav or --enable-ffmpeg_static
checking for cc sys/inotify.h ... ok
checking for cc inotify_init1 ... ok
fetching dvb-scan files ... ok
checking for cc epoll_create1 ... ok
checking for pkg dbus-1 ... ok (detected 1.10.24)
Compiler:
Using C compiler: cc
Build for arch: arm
Binaries:
Using PYTHON: python
Using GZIP: gzip
Using BZIP2: bzip2
Options:
pie yes
ccdebug no
cardclient yes
cwc yes
cccam yes
capmt yes
constcw yes
linuxdvb yes
satip_server yes
satip_client yes
hdhomerun_client yes
hdhomerun_static yes
iptv yes
tsfile yes
dvbscan yes
timeshift yes
trace yes
imagecache yes
avahi yes
zlib yes
libav no
ffmpeg_static no
libx264 yes
libx264_static yes
libx265 yes
libx265_static yes
libvpx yes
libvpx_static yes
libtheora yes
libtheora_static yes
libvorbis yes
libvorbis_static yes
libfdkaac no
libfdkaac_static yes
libopus yes
libopus_static yes
nvenc no
vaapi no
mmal no
omx no
inotify yes
epoll yes
pcre yes
pcre2 no
uriparser yes
ccache no
tvhcsa yes
bundle no
pngquant no
dvbcsa no
kqueue no
dbus_1 yes
android no
tsdebug no
gtimer_check no
slow_memoryinfo no
libsystemd_daemon no
bintray_cache yes
ddci yes
cclang_threadsan no
gperftools no
execinfo yes
W_unused_result yes
getloadavg yes
atomic32 yes
atomic64 yes
atomic_time_t yes
atomic_ptr yes
bitops64 yes
lockowner yes
qsort_r yes
stime yes
gmtoff yes
recvmmsg yes
sendmmsg yes
ifnames yes
py_gzip yes
bin_pkg_config yes
bin_xgettext yes
bin_msgmerge yes
bin_gzip yes
bin_bzip2 yes
ssl yes
linuxdvbapi yes
linuxdvb_ca yes
upnp yes
inotify_h yes
inotify_init1 yes
epoll_create1 yes
mpegts yes
mpegts_dvb yes
Packages:
openssl 1.1.0f
zlib 1.2.8
libpcre 8.39
liburiparser 0.8.4
avahi-client 0.6.32
libswresample 2.3.100
libavresample 3.1.0
libswscale 4.2.100
libavformat 57.56.101
libavcodec 57.64.101
libavutil 55.34.101
dbus-1 1.10.24
Installation paths:
Prefix: /usr/local
Binaries: ${prefix}/bin
Libraries: ${prefix}/lib
Data files: ${prefix}/share
Man pages: ${datadir}/man
Final Binary:
/opt/tvheadend/build.linux/tvheadend
Tvheadend Data Directory:
/usr/local/share/tvheadend
@
The subsequent make and make install work without any problems, but I miss then in the WebIF the points CA's to decrypt the stations, and the item "debugging" is missing.
What do I have to do to get these two points?
Thank you