遇到的Erro :
Error: Failure while executing; `tar --extract --no-same-owner --file Library/Caches/Homebrew/downloads/7d0352be7245648d93bcdde92042e89cd80327103bfcc1b2d170b0e147076b35--gmp-6.2.1.big_sur.bottle.tar.gz --directory /private/tmp/d20210920-94277-11xrrlj` exited with 1. Here's the output:
解决方案:
brew info gcc
原因: 没有依赖包brew install gmp brew install isl brew install mpfr brew install libmpc
接着输入:
brew install gcc@9
安装成功显示