是否可以通过brew安装ffmpeg?
brew install ffmpeg
Warning: A newer Command Line Tools for Xcode release is available
You should install the latest version from: http://connect.apple.com
==> Installing ffmpeg dependency: texi2html
==> Downloading http://download.savannah.gnu.org/releases/texi2html/texi2html-1.82.tar.gz
######################################################################## 100.0%
curl: (6) Could not resolve host: mirror.yongbok.net; nodename nor servname provided, or not known
Error: Download failed: http://download.savannah.gnu.org/releases/texi2html/texi2html-1.82.tar.gz
brew install texi2html
Warning: A newer Command Line Tools for Xcode release is available
You should install the latest version from: http://connect.apple.com
==> Downloading http://download.savannah.gnu.org/releases/texi2html/texi2html-1.82.tar.gz
######################################################################## 100.0%
curl: (6) Could not resolve host: mirror.yongbok.net; nodename nor servname provided, or not known
Error: Download failed: http://download.savannah.gnu.org/releases/texi2html/texi2html-1.82.tar.gz
答案 0 :(得分:7)
1)搜索工作镜http://www.filewatcher.com/m/texi2html-1.82.tar.gz.7350232-0.html =>例如ftp://ftp.mirrorservice.org/sites/distfiles.macports.org/texi2html/texi2html-1.82.tar.gz
2)将此路径放入/usr/local/Library/Formula/texi2html.rb中的url标记
3)texi2html-1.82.tar.gz(其e7bbe1197147566250abd5c456b94c8e37e0a81f)的测量shasum并将其放入/usr/local/Library/Formula/texi2html.rb中的sha1标签
现在brew install ffmpeg工作正常
答案 1 :(得分:0)
class Texi2html < Formula
desc "Convert TeXinfo files to HTML"
homepage "http://www.nongnu.org/texi2html/"
url "ftp://ftp.gnome.org/mirror/gnu.org/savannah/texi2html/texi2html-1.82.tar.gz"
sha256 "6c7c94a2d88ffe218a33e91118c2b039336cbe3f2f8b4e3a78e4fd1502072936"