Forums » Tutorial and setups »
Configure Warning building from git on Ubuntu 14.04.2 LTS 64 bit
Added by Andy Barnett over 9 years ago
Hi, having just rebuilt my tvheadend server I thought I'd get my feet wet an try building from git...
I've found most of the bits and pieces I was missing but I can't find a solution for: -
checking for ffmpeg libraries ... fail
checking for pkg libavcodec >=55.34.1 ... fail (detected 54.35.0)
WARNING: none or old libav or libffmpeg libraries were detected
* use --disable-libav or --enable-libffmpeg_static
** supported ffmpeg libs n1.2+
** supported libav libs v10+
Sorry, my linux skills are still fairly new and I can't find an obvious fix for this - please can someone point me in the right direction?
Thanks!
Replies (12)
RE: Configure Warning building from git on Ubuntu 14.04.2 LTS 64 bit - Added by Steve Murray over 9 years ago
You'll need to install the latest ffmpeg package
https://www.ffmpeg.org/download.html
This installs ffmpeg into /opt, so you'll also need to add a library path file in /etc/ld.so.conf.d
You'll also want to install libiconv https://savannah.gnu.org/projects/libiconv
and patch it.. https://gist.github.com/paulczar/5493708
I've been fiddling with it for several hours now and still not got it compiling yet though
Now throwing another error..
RE: Configure Warning building from git on Ubuntu 14.04.2 LTS 64 bit - Added by Andy Barnett over 9 years ago
Thanks for the tips, you're absolutely right - been playing for a couple of hours now, ./configure appears to be a minefield...
RE: Configure Warning building from git on Ubuntu 14.04.2 LTS 64 bit - Added by saen acro over 9 years ago
in Ubuntu 15.04 no such problem ;)
interesting is why not GStreamer library used
RE: Configure Warning building from git on Ubuntu 14.04.2 LTS 64 bit - Added by Dreamcat 4 over 9 years ago
Andy Barnett wrote:
Thanks for the tips, you're absolutely right - been playing for a couple of hours now, ./configure appears to be a minefield...
On 14.04 you just can use the same exact commands as we do for the docker public auto-builds.
See here:
https://github.com/tvheadend/tvheadend-build/blob/master/ubuntu/deps/Dockerfile
and here:
https://github.com/tvheadend/tvheadend-build/blob/master/ubuntu/stable/Dockerfile
RE: Configure Warning building from git on Ubuntu 14.04.2 LTS 64 bit - Added by Andy Barnett over 9 years ago
Many thanks for that - I think I'm on a roll now
RE: Configure Warning building from git on Ubuntu 14.04.2 LTS 64 bit - Added by Mihail sovaby over 9 years ago
AUTOBUILD_CONFIGURE_EXTRA=--enable-dvbcsa
dpkg-shlibdeps: ошибка: информация о зависимостях не найдена для /usr/lib/libdvbcsa.so.1
dpkg-shlibdeps -Tdebian/tvheadend.substvars debian/tvheadend/usr/bin/tvheadend returned exit code 2
make: *** [binary] Ошибка 2
dpkg-buildpackage: ошибка: debian/rules binary возвратил код ошибки 2
RE: Configure Warning building from git on Ubuntu 14.04.2 LTS 64 bit - Added by saen acro over 9 years ago
Mihail sovaby wrote:
AUTOBUILD_CONFIGURE_EXTRA=--enable-dvbcsa
dpkg-shlibdeps: ошибка: информация о зависимостях не найдена для /usr/lib/libdvbcsa.so.1
dpkg-shlibdeps -Tdebian/tvheadend.substvars debian/tvheadend/usr/bin/tvheadend returned exit code 2
make: *** [binary] Ошибка 2
dpkg-buildpackage: ошибка: debian/rules binary возвратил код ошибки 2
у тебя нет libdvbcsa1 libdvbcsa-dev установлены
You don't have
dvbcsa sources
sudo apt-get install libdvbcsa1 libdvbcsa-dev
RE: Configure Warning building from git on Ubuntu 14.04.2 LTS 64 bit - Added by Mihail sovaby over 9 years ago
I have dvbcsa !
Options:
cwc yes
capmt yes
constcw yes
linuxdvb yes
satip_server yes
satip_client yes
hdhomerun_client no
hdhomerun_static no
iptv yes
tsfile yes
dvbscan yes
timeshift yes
trace yes
imagecache yes
avahi yes
zlib yes
libav yes
libffmpeg_static yes
libffmpeg_static_x264 yes
inotify yes
epoll yes
uriparser yes
ccache yes
tvhcsa yes
bundle yes
dvbcsa yes
dvben50221 yes
kqueue no
dbus_1 yes
android no
tsdebug no
gtimer_check no
execinfo yes
mmx yes
sse2 yes
W_unused_result yes
getloadavg yes
atomic64 yes
lockowner yes
qsort_r yes
stime yes
recvmmsg yes
sendmmsg yes
libdvben50221 yes
py_gzip yes
bin_xgettext yes
bin_msgmerge yes
bin_gzip yes
bin_bzip2 yes
ssl yes
linuxdvbapi yes
upnp yes
inotify_h yes
linuxdvb_ca yes
mpegts yes
mpegts_dvb yes
dpkg -l | grep dvbcsa
ii libdvbcsa-dev:amd64 1.1.0-2 amd64 free implementation of the DVB/CSA (development files)
ii libdvbcsa-dev:i386 1.1.0-2 i386 free implementation of the DVB/CSA (development files)
ii libdvbcsa1:amd64 1.1.0-2 amd64 free implementation of the DVB/CSA
ii libdvbcsa1:i386 1.1.0-2 i386 free implementation of the DVB/CSA
Если собирать не в deb , то компилируется без ошибок.
If you can not collect deb, then it compiles without errors
RE: Configure Warning building from git on Ubuntu 14.04.2 LTS 64 bit - Added by saen acro over 9 years ago
Yes DEB shows errors completely different because search for dependent parts
i have problem with libiconv but plex work without problem with available library
give log lines form compilation from where deb starts to assemble
RE: Configure Warning building from git on Ubuntu 14.04.2 LTS 64 bit - Added by Mihail sovaby over 9 years ago
I do not understand this sentence here "give log lines form compilation"
- sorry for my english.
RE: Configure Warning building from git on Ubuntu 14.04.2 LTS 64 bit - Added by Mihail sovaby over 9 years ago
I read http://linux4u.jinr.ru/usoft/WWW/www_debian.org/Documentation/programmer.html/ch-sharedlibs.html
I touch debian/shlibs.local
and echo "libdvbcsa 1 libdvbcsa1 (>=1.1.0-2)" > debian/shlibs.local
Its work!
RE: Configure Warning building from git on Ubuntu 14.04.2 LTS 64 bit - Added by saen acro over 9 years ago
Good for you
about log of compilation
./Autobuld.sh &> results.txt
my result
https://www.dropbox.com/s/qdg4boaeqkf8rbp/results.txt?dl=0