在 mac 上使用自制软件安装 autoreconf 时出现错误“无法执行“aclocal””

问题描述 投票:0回答:1

在我的 ARM mac 上完成

autoreconf -fi
后运行
brew install autoreconf
时,出现以下错误:

$ autoreconf -fi                     
Can't exec "aclocal": No such file or directory at /opt/homebrew/Cellar/autoconf/2.71/share/autoconf/Autom4te/FileUtils.pm line 274.
autoreconf: error: aclocal failed with exit status: 2

我该如何解决这个问题?

macos homebrew autoreconf
1个回答
14
投票

问题是

aclocal
没有与
autoreconf
一起安装,请参阅例如这个自制问题

单独brew安装

aclocal
很容易解决:

brew install automake
© www.soinside.com 2019 - 2024. All rights reserved.