5

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
4

2 に答える 2

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)このパスをurlタグに/usr/local/Library/Formula/texi2html.rbに配置します

3)texi2html-1.82.tar.gz(そのe7bbe1197147566250abd5c456b94c8e37e0a81f)のshasumを計算し、それを/usr/local/Library/Formula/texi2html.rbのsha1タグに入れます

brewinstallffmpegは問題なく動作します

于 2013-02-09T11:00:56.150 に答える
0

うん、それは役に立ちます、素晴らしい

vi /usr/local/Library/Formula/texi2html.rb

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"

于 2016-12-19T05:49:57.393 に答える