brew install ffmpeg fail

install ffmpeg fail

$ brew install ffmpeg
==> Installing dependencies for ffmpeg: pkg-config, texi2html, yasm, x264, lame, libvo-aacenc, xvid, xz, libpng, freetype, libogg, libvorbis, lib
...
...
checking for gcc... clang
checking whether the C compiler works... no
configure: error: in `/private/tmp/pkg-config20160401-64918-z4en6e/pkg-config-0.28':
configure: error: C compiler cannot create executables
See `config.log' for more details
/usr/local/Library/ENV/4.3/gcc-4.2:332:in `exec': No such file or directory - /usr/local/Library/ENV/4.3/xcrun (Errno::ENOENT)
	from /usr/local/Library/ENV/4.3/gcc-4.2:332:in `<main>'
Warning: It appears you have MacPorts or Fink installed.

uninstall brew

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall)"

install brew

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

install ffmpeg success

brew install ffmpeg

Make GIF Snapshot for Android APP:

Make GIF Snapshot for Android APP

发表评论

电子邮件地址不会被公开。 必填项已用*标注