Vargol / ffmpeg-apple-arm64-build

Build script for ffmpeg targeting the latest open source video codecs running on macOS using Apple's M1 processor.
221 stars 38 forks source link

Unable to compile on fresh install of M2 Ventura #11

Closed amizzo87 closed 1 year ago

amizzo87 commented 1 year ago

Not sure what info is helpful here, fresh install of MacOS 13.2 with xcode-tools on a MacBook Air M2, but fails at compiling libass with the following:


checking whether the C compiler works... no
configure: error: in `/Users/anthonyizzo/Development/ffmpeg-apple-arm64-build/libass/libass-0.15.1':
configure: error: C compiler cannot create executables
See `config.log' for more details
+ checkStatus 77 'configuration of libass failed'
+ '[' 77 -ne 0 ']'
+ echo 'check failed: configuration of libass failed'
check failed: configuration of libass failed
+ exit 1```

Any ideas?
Vargol commented 1 year ago

Not on 13.2 yet as I use the M1 for stuff that I'm not risking a beta OS with :-)

Can you attach your config.log file from building libass

It should be at /Users/anthonyizzo/Development/ffmpeg-apple-arm64-build/libass/libass-0.15.1/config.log

libass failing to configure is usually an issue from brotli changing stuff, they change the name and location of their static libs every now and again.

I'm running a fresh build on my 13.1 M1 to see if I can duplicate the issue.

Vargol commented 1 year ago

okay I think I've fixed it, assuming the issue I had was the same as the one you do. Brotli tidied up their build, which meant my configure didn't build the static libraries anymore. I've fixed the master branch to build both properly.

amizzo87 commented 1 year ago

Wow thanks for the quick fix - confirmed that change worked on my end as well :)