【发布时间】:2022-01-27 11:40:25
【问题描述】:
我正在尝试使用此命令在 mac 中安装 ffmpeg brew install ffmpeg,但在我的 4 次尝试中,我收到此消息大约 2 小时
==> Installing ffmpeg dependency: rust
Warning: A newer Command Line Tools release is available.
Update them from Software Update in System Preferences or run:
softwareupdate --all --install --force
If that doesn't show you any updates, run:
sudo rm -rf /Library/Developer/CommandLineTools
sudo xcode-select --install
Alternatively, manually download them from:
https://developer.apple.com/download/all/.
You should download the Command Line Tools for Xcode 11.3.1.
==> ./configure --prefix=/usr/local/Cellar/rust/1.56.1 --release-channel=stable
==> make
安装它停止了 4 次,我累了怎么回事?
【问题讨论】:
-
xcode 11.3 已经过时了——它是在 Mojave 上发布的,brew 不再支持它。我们需要知道您的 macOS 版本。从路径中的
/usr/local来看,您似乎在 intel mac 上。 ffmpeg 是在您的示例中使用特定工具链构建的,这表明它不是从瓶子安装,而是尝试配置源代码构建。通常没有缺点 - 除非brew不再支持您的操作系统。安装 ffmpeg 的最佳方法是使用来自 evermeet.cx/ffmpeg 的构建 -
@RichardBarber 我的版本 mojave 10.14.6
-
@RichardBarber 如何在我的旧 Mac 上安装?
标签: macos installation ffmpeg