Opened 14 months ago
Last modified 13 months ago
#10717 new defect
Issue with CompilationGuide/ubuntu
Reported by: | iconoclasthero | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | undetermined |
Version: | unspecified | Keywords: | |
Cc: | iconoclasthero | Blocked By: | |
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description
Summary of the bug:
How to reproduce:
cd ~/ffmpeg_sources && \ wget https://github.com/Netflix/vmaf/archive/v2.3.1.tar.gz && \ tar xvf v2.3.1.tar.gz && \ mkdir -p vmaf-2.3.1/libvmaf/build &&\ cd vmaf-2.3.1/libvmaf/build && \ meson setup -Denable_tests=false -Denable_docs=false --buildtype=release --default-library=static .. --prefix "$HOME/ffmpeg_build" --bindir="$HOME/bin" --libdir="$HOME/ffmpeg_build/lib" && \ ninja && \ ninja install
this results in an error in at the meson step:
../meson.build:1:0: ERROR: The value of the 'bindir' option is '$HOME/bin' which must be a subdir of the prefix '$HOME/ffmpeg_build'.
So the instructions must be amended to change:
- --bindir="$HOME/bin" + --bindir="$HOME/ffmpeg_build/bin
As I'm writing this, I suppose that means that if the build step of ffmpeg is looking for it in $HOME/bin, you will also need to
mv $HOME/ffmpeg_build/bin/* $HOME/bin/
Also, just for the sake of argument, is there an easy way to amend the titular guide to use something other than my home directory? I *really* do not like that my home dir is shown in the header info every single time I run ffmpeg. I have to take that all out if I want to paste it.
Change History (2)
comment:1 by , 14 months ago
comment:2 by , 14 months ago
The issue with gnutils appears to date back three years or so:
https://askubuntu.com/questions/1252997/unable-to-compile-ffmpeg-on-ubuntu-20-04
There's another error.
I double checked and the compile guide does not include a step to install
gnutils-bin
and the install guide fails at the ffmpeg step with:ERROR: gnutls not found using pkg-config
If you think configure made a mistake, make sure you are using the latest
version from Git. If the latest version fails, report the problem to the
ffmpeg-user@ffmpeg.org mailing list or IRC #ffmpeg on irc.libera.chat.
Include the log file "ffbuild/config.log" produced by configure as this will help
solve the problem.