Open jeffli678 opened 2 years ago
The config.guess that comes with the libtheora returns arm-apple-darwin21.4.0
, while the gcc one returns aarch64-apple-darwin21.4.0
. The libtheira configure script, however, rejects the name aarch64
.
It appears to me that libtheora needs some fix to accept the name aarch64
, so I am not super sure how we should fix it.
Maybe we can find a different config.guess script?
Same here using release.
$ ./configure --prefix=/Users/krono/workspace/ffmpeg-build-script-1.39/workspace --with-ogg-libraries=/Users/krono/workspace/ffmpeg-build-script-1.39/workspace/lib --with-ogg-includes=/Users/krono/workspace/ffmpeg-build-script-1.39/workspace/include/ --with-vorbis-libraries=/Users/krono/workspace/ffmpeg-build-script-1.39/workspace/lib --with-vorbis-includes=/Users/krono/workspace/ffmpeg-build-script-1.39/workspace/include/ --enable-static --disable-shared --disable-oggtest --disable-vorbistest --disable-examples --disable-asm --disable-spec
checking build system type... Invalid configuration `aarch64-apple-darwin21.6.0': machine `aarch64-apple' not recognized
configure: error: /bin/sh ./config.sub aarch64-apple-darwin21.6.0 failed
Failed to Execute ./configure --prefix=/Users/krono/workspace/ffmpeg-build-script-1.39/workspace --with-ogg-libraries=/Users/krono/workspace/ffmpeg-build-script-1.39/workspace/lib --with-ogg-includes=/Users/krono/workspace/ffmpeg-build-script-1.39/workspace/include/ --with-vorbis-libraries=/Users/krono/workspace/ffmpeg-build-script-1.39/workspace/lib --with-vorbis-includes=/Users/krono/workspace/ffmpeg-build-script-1.39/workspace/include/ --enable-static --disable-shared --disable-oggtest --disable-vorbistest --disable-examples --disable-asm --disable-spec
Do you have suggestions?
[UPDATE] A workaround is to comment the lines of the incriminated commit.
A workaround is to comment the lines of the incriminated commit.
@krono86: Sorry, which lines did you comment out?
The lines of commit https://github.com/markus-perl/ffmpeg-build-script/commit/470f591269cd31514af40e2ef30db43fbb13d168 at the top of the page.
After the commit 470f5912, I get this error message when building libtheora: