m-ab-s / media-autobuild_suite

This Windows Batchscript helps setup a Mingw-w64 compiler environment for building ffmpeg and other media tools under Windows.
GNU General Public License v3.0
1.49k stars 256 forks source link

libidn2-2.3.0 fails to build #2706

Open jdauthre opened 1 month ago

jdauthre commented 1 month ago

Running the media autobuild, everything goes well until it runs makefile to build this. Attached the logs ab-suite.make.log logs.zip

Murmur commented 4 weeks ago

Same error here and libidn2 buildlog say Automake is probably too old. Removing build/libidn2-2.3.0 before compilation did not help.

make[2]: Entering directory '/build/libidn2-2.3.0/build-64bit/src'
 cd ../.. && /bin/sh /build/libidn2-2.3.0/build-aux/missing automake-1.16 --foreign src/Makefile
configure.ac:38: error: version mismatch.  This is Automake 1.16.5,
configure.ac:38: but the definition used by this AM_INIT_AUTOMAKE
configure.ac:38: comes from Automake 1.16.1.  You should recreate
configure.ac:38: aclocal.m4 with aclocal and run automake again.
WARNING: 'automake-1.16' is probably too old.

- - - 
$ automake --version
automake (GNU automake) 1.16.5

Also: https://github.com/m-ab-s/media-autobuild_suite/issues/2698

edit: Modify build\media-suite_compile.sh script to a newer libidn2 library, I tried 2.3.3 but 2.3.7 is also available. Hashcode is from sha256sum libidn2-x.x.x.tar.gz output. After this change libidn2 was fine, my compilation failed on curl but deleting build/curl-git folder fixed that issue. Next one is mediainfo not compiled yet another separate issue..

    if do_pkgConfig "libidn2 = 2.3.3" &&
        do_wget -h f3ac987522c00d33d44b323cae424e2cffcb4c63c6aa6cd1376edacbf1c36eb0 \
        "https://ftp.gnu.org/gnu/libidn/libidn2-2.3.3.tar.gz"; then 
    #if do_pkgConfig "libidn2 = 2.3.0" &&
    #    do_wget -h e1cb1db3d2e249a6a3eb6f0946777c2e892d5c5dc7bd91c74394fc3a01cab8b5 \
    #    "https://ftp.gnu.org/gnu/libidn/libidn2-2.3.0.tar.gz"; then