Skip to content

Instantly share code, notes, and snippets.

@troygrosfield
Last active August 29, 2015 13:59
Show Gist options
  • Save troygrosfield/10980295 to your computer and use it in GitHub Desktop.
Save troygrosfield/10980295 to your computer and use it in GitHub Desktop.
Error installing ffmpeg 2.2.1
➜  ~  brew install -v ffmpeg --with-theora --with-libogg --with-libvorbis --with-freetype --with-fdk-aac --with-tools
==> Downloading http://ffmpeg.org/releases/ffmpeg-2.2.1.tar.bz2
Already downloaded: /Library/Caches/Homebrew/ffmpeg-2.2.1.tar.bz2
==> Verifying ffmpeg-2.2.1.tar.bz2 checksum
tar xf /Library/Caches/Homebrew/ffmpeg-2.2.1.tar.bz2
==> ./configure --prefix=/usr/local/Cellar/ffmpeg/2.2.1 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-nonfree --enable-hardcoded-tables --enable-avresample --enable-vda --cc=clang --host-cflags= --host-ldflags= --enable-libx264 --enable-libfaac --enable-libmp3lame --enable-libxvid --enable-libfreetype --enable-libtheora --enable-libvorbis --enable-libfdk-aac
ERROR: libfaac not found

If you think configure made a mistake, make sure you are using the latest
version from Git.  If the latest version fails, report the problem to the
ffmpeg-user@ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net.
Include the log file "config.log" produced by configure as this will help
solving the problem.
==> Configuration
HOMEBREW_VERSION: 0.9.5
HEAD: 672b559e0c8556372303ab4388d1c83fba9c5e64
CPU: 8-core 64-bit ivybridge
OS X: 10.9.2-x86_64
Xcode: 5.1.1
CLT: 5.1.0.0.1.1396320587
X11: N/A
==> ENV
HOMEBREW_CC: clang
HOMEBREW_CXX: clang++
CFLAGS:
LDFLAGS:
MAKEFLAGS: -j8
CMAKE_PREFIX_PATH: /usr/local
CMAKE_INCLUDE_PATH: /usr/include/libxml2:/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
CMAKE_LIBRARY_PATH: /System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries
PKG_CONFIG_PATH: /usr/local/opt/x264/lib/pkgconfig:/usr/local/opt/libpng/lib/pkgconfig:/usr/local/opt/freetype/lib/pkgconfig:/usr/local/opt/libogg/lib/pkgconfig:/usr/local/opt/libvorbis/lib/pkgconfig:/usr/local/opt/theora/lib/pkgconfig:/usr/local/opt/fdk-aac/lib/pkgconfig
PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/usr/local/Library/ENV/pkgconfig/10.9
ACLOCAL_PATH: /usr/local/share/aclocal
PATH: /usr/local/Library/ENV/4.3:/usr/local/opt/pkg-config/bin:/usr/local/opt/texi2html/bin:/usr/local/opt/yasm/bin:/usr/local/opt/x264/bin:/usr/local/opt/faac/bin:/usr/local/opt/lame/bin:/usr/local/opt/libpng/bin:/usr/local/opt/freetype/bin:/usr/bin:/bin:/usr/sbin:/sbin

Error: ffmpeg 2.2.1 did not build
Logs:
     /Users/troy/Library/Logs/Homebrew/ffmpeg/01.configure
     /Users/troy/Library/Logs/Homebrew/ffmpeg/01.configure.cc
     /Users/troy/Library/Logs/Homebrew/ffmpeg/config.log

These open issues may also help:
Error installing ffmpeg 2.2.1 (https://github.com/Homebrew/homebrew/issues/28474)
ffmpeg: add support for zvbi library (https://github.com/Homebrew/homebrew/pull/26316)
➜  ~  brew --config
HOMEBREW_VERSION: 0.9.5
ORIGIN: https://github.com/Homebrew/homebrew.git
HEAD: 672b559e0c8556372303ab4388d1c83fba9c5e64
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
CPU: 8-core 64-bit ivybridge
OS X: 10.9.2-x86_64
Xcode: 5.1.1
CLT: 5.1.0.0.1.1396320587
Clang: 5.1 build 503
X11: N/A
System Ruby: 1.8.7-358
Perl: /usr/bin/perl
Python: /usr/local/bin/python => /usr/local/Cellar/python/2.7.6_1/Frameworks/Python.framework/Versions/2.7/bin/python2.7
Ruby: /usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment