using the official guides I already succesfully compiled ffmpeg (with decklink support) on a SMP Debian 4.9.144-3.1.
As the resulting binaries do not work on my Ubuntu 18.04.2 I tried to compile again, using the same guide. I also updated Ubuntu before and the dependencies should all be up to date. Also, folder structure seems OK.
So it actually fails during ffmpeg ./configure, shell spitting out for example:
./ffmpegcompil.sh: 21: ./ffmpegcompil.sh: --enable-libass: not found
config.log does not make me much smarter, it just seems to fail in testing phase, starting with
...
zscale_filter='yes'
mktemp -u XXXXXX
uxtubn
test_ld cc
test_cc
...
After that, many tests, a few warnings, less errors, then abort without notice in the config.log.
If i remove --enable-libass from the script it will fail with another lib "not found".
How to troubleshoot this? THX!
HERE´S MY SCRIPT:
cd ~/ffmpeg_sources && \
wget -O ffmpeg-snapshot.tar.bz2 https://ffmpeg.org/releases/ffmpeg-snapshot.tar.bz2 && \
tar xjvf ffmpeg-snapshot.tar.bz2 && \
cd ffmpeg && \
PATH="$HOME/bin:$PATH" PKG_CONFIG_PATH="$HOME/ffmpeg_build/lib/pkgconfig" ./configure \
--prefix="$HOME/ffmpeg_build" \
--pkg-config-flags="--static" \
--extra-cflags="-I$HOME/ffmpeg_build/include" \
--extra-ldflags="-L$HOME/ffmpeg_build/lib" \
--extra-libs="-lpthread -lm" \
--bindir="$HOME/bin" \
--enable-nonfree \
--enable-gpl \
--enable-libsrt \
--enable-decklink \
--extra-cflags="-I$HOME/ffmpeg_build/include/decklink" \
--extra-ldflags="-L$HOME/ffmpeg_build/include/decklink" \
--enable-libass \
--enable-libfdk-aac \
--enable-libfreetype \
--enable-libmp3lame \
--enable-libopus \
--enable-libvorbis \
--enable-libvpx \
--enable-libx264 \
--enable-libx265 && \
PATH="$HOME/bin:$PATH" make && \
make install && \
hash -r