Hi,
I need to compile from source (not install from repo) Tvheadend
After installing some stuff I had noted from other distribution compil, I get error via .configure command. Details :
./configure --disable-dvbscan
Checking support/features
checking for cc execinfo.h … ok
checking for cc -mmmx … ok
checking for cc -msse2 … ok
checking for cc -Wunused-result … ok
checking for cc -fstack-protector … ok
checking for cc -fstack-protector-strong … ok
checking for cc -fstack-check … ok
checking for cc -fPIE … ok
checking for cc strlcat … ok
checking for cc strlcpy … ok
checking for cc fdatasync … 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 time_ld … ok
checking for cc time_lld … fail
^ using time_t format ‘ld’
checking for cc stime … fail
checking for cc gmtoff … ok
checking for cc recvmmsg … ok
checking for cc sendmmsg … ok
checking for cc gnu_libiconv … fail
checking for cc libiconv … fail
^ using build-in glibc iconv routines
checking for cc ifnames … ok
checking for cc cclang_threadsan … fail
WARN: no python binary found
checking for py module gzip … fail
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 3.1.4)
checking for cc linux/dvb/version.h … ok
checking for pkg zlib … ok (detected 1.3.1)
checking for pkg libpcre2-8 … fail (detected )
checking for pkg libpcre … fail (detected )
checking for pkg liburiparser … ok (detected 0.9.8)
checking for pkg avahi-client … ok (detected 0.8)
checking for cmake … ok
checking for cc -lstdc++ … fail
Hi malcolmlewis
Thanks for the link
I’ve installed gcc-c++ , it was missing.
But seems dvb-scan is missing too.
Did I compile it from source ?
./configure --disable-dvbscan --disable-hdhomerun_static --disable-ffmpeg_static
Checking support/features
checking for cc execinfo.h … ok
checking for cc -mmmx … ok
checking for cc -msse2 … ok
checking for cc -Wunused-result … ok
checking for cc -fstack-protector … ok
checking for cc -fstack-protector-strong … ok
checking for cc -fstack-check … ok
checking for cc -fPIE … ok
checking for cc strlcat … ok
checking for cc strlcpy … ok
checking for cc fdatasync … 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 time_ld … ok
checking for cc time_lld … fail
^ using time_t format ‘ld’
checking for cc stime … fail
checking for cc gmtoff … ok
checking for cc recvmmsg … ok
checking for cc sendmmsg … ok
checking for cc gnu_libiconv … fail
checking for cc libiconv … fail
^ using build-in glibc iconv routines
checking for cc ifnames … ok
checking for cc cclang_threadsan … fail
WARN: no python binary found
checking for py module gzip … fail
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 3.1.4)
checking for cc linux/dvb/version.h … ok
checking for pkg zlib … ok (detected 1.3.1)
checking for pkg libpcre2-8 … fail (detected )
checking for pkg libpcre … fail (detected )
checking for pkg liburiparser … ok (detected 0.9.8)
checking for pkg avahi-client … ok (detected 0.8)
checking for pkg libavfilter >=6.47.100 … fail (detected )
checking for pkg libswresample >=2.1.100 … fail (detected )
checking for pkg libswscale >=4.1.100 … fail (detected )
checking for pkg libavformat >=57.41.100 … fail (detected )
checking for pkg libavcodec >=57.48.101 … fail (detected )
checking for pkg libavutil >=55.28.100 … fail (detected )
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
checking for cc dvbcsa/dvbcsa.h … fail ERROR: Failed to find dvbcsa library
LANG=C sudo zypper install libdvbcsa-devel
Loading repository data…
Reading installed packages…
‘libdvbcsa-devel’ not found in package names. Trying capabilities.
No provider of ‘libdvbcsa-devel’ found.
Resolving package dependencies…
Nothing to do.
libdvbv5-devel is ok for install thanks.
i disable tvhcsa in conf file, then /.configure is OK.
But I need csa … and it was existing in 2022 looking tvheadend site
Without this option --disable-ffmpeg_static , it wont compile, even with libopus-devel installed
At end it diden’t find libopus.a …
final config :
./configure --disable-dvbscan --disable-ffmpeg_static
and with tvhcsa disabled in config file it compiles.
Next I will try FTA.
Edit
Works with Kodi
Compile with tarball is ok.
So now only ffmpeg doubt for transcoding, testing later.
Other problem: I had install pulseaudio instead pipewire, there is a bug somewhere on this machine, I had open an other ticket here in multimedia but no relevant response. I’m waiting a little for answer, if not I will post a bug report.
Thanks for all