Menu

#109 Configure: error: "configure with --disable-libav or update ffmpeg/libav"

v1.0 (example)
closed-fixed
nobody
None
5
2023-09-18
2022-04-11
No

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 ?

Discussion

  • Stephen Fairchild

    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.

     
  • Stephen Fairchild

    It should be all fixed now in Git sources. Please test.

     
  • Michel Voorn

    Michel Voorn - 2022-05-02

    I tested it, but still getting the error.

     
  • Stephen Fairchild

    Tested what? I removed the code that produced the old error message.
    git clone git://git.code.sf.net/p/idjc/code idjc-code

     
  • Michel Voorn

    Michel Voorn - 2022-05-02

    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.

     
  • Moonbase

    Moonbase - 2023-02-10

    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:

      ./configure \
        --prefix=/usr \
        --libexecdir=/usr/lib \
        --disable-static \
        --disable-libav
    

    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
  • Stephen Fairchild

    • status: open --> closed-fixed
     

Log in to post a comment.