Configure: error: "configure with --disable-libav or update ffmpeg/libav"
A feature packed DJ console and internet radio client for Linux users
Status: Beta
Brought to you by:
s-fairchild
I have the following problem with EndeavourOS, which is based on Arch.
When compiling it, I get the following error with the latest version (0.9.3):
checking for LIBAVCODEC... yes
checking for avcodec_decode_audio4 in -lavcodec... no
configure: error: "configure with --disable-libav or update ffmpeg/libav"
How can I solve this ?
What the error message means is where you build idjc and you type ./configure you type instead ./configure --disable-libav. Expect a reduction in the number of file formats supported.
It should be all fixed now in Git sources. Please test.
I tested it, but still getting the error.
Tested what? I removed the code that produced the old error message.
git clone git://git.code.sf.net/p/idjc/code idjc-code
My apology, I downloaded the tar.gz file, I did not do it with git clone. But I just did it with git clone and it works without any problems.
Note for users of Arch-based distros using the Pamac GUI (pamac-manager): This can also easily be achieved by clicking on the "idjc" AUR entry, then clicking on the "Build files" button and editing the PKGBUILD. Just edit the ".configure" line(s) in the build() section so it includes above mentioned "--disable-libav". It should then look like the following:
Now go back to the top and hit the "Build" button. Done.
Note 2: Seems not necessary anymore with the AUR-provided v0.9.4-1.
Last edit: Moonbase 2023-02-10