homebrew-amc icon indicating copy to clipboard operation
homebrew-amc copied to clipboard

Unable to install AMC on brand new Mac

Open mosser opened this issue 2 years ago • 1 comments

Hi,

I tried to install AMC using Homebrew on a brand new mac. When using out of the box the provided command, the install fails:

mosser@azrael ~ % brew install maelvls/amc/auto-multiple-choice
...
fatal error: 'cairo.h' file not found

Reverse engineering another issue (#82), I ended up manually installing first Xquartz (not sure it was necessary) and then libxcb (brew reinstall libxcb), and then the installation was able to finish.

There may be a dependency issue in the brew file.

mosser avatar Feb 13 '23 16:02 mosser

Hi! Sorry for that. I imagine you are running macOS Ventura, I haven’t upgraded to that version yet. You are most probably correct, there is a dependency missing, probably related to the changes to Homebrew.

You are correct, Xquartz is required to run AMC, I think I had to remove the :x11 dependency (which used to let you know that Xquartz needs to be installed) because Homebrew deprecated it. I’ll have to investigate libxcb, but I’m guessing this is a new requirement that needs to be added to the formula.

I don’t have time to investigate these issues at the moment but I’ll be able to help on May 4th onwards.

Let me know if you would like to create a PR, I can help!

maelvls avatar Apr 18 '23 07:04 maelvls