我尝试在 macOS 10.15.7 (Intel) 上构建当前的GNU findutils 4.8.0 。
该configure
步骤成功完成(在此处输出),但该make
步骤失败并出现错误:
In file included from ./regexec.c:1362:
./malloc/dynarray-skeleton.c:195:13: error: expected identifier or '('
__nonnull ((1))
此处make
步骤的完整输出。
我认为这可能是由编译器不匹配引起的,但我很惊讶该configure
步骤当时成功完成。
任何想法,如何让编译工作?
PS:我知道 Homebrew 提供了 findutils 公式,但出于其他原因,我想将 findutils 与 Homebrew 分开安装。