Skip to content

Instantly share code, notes, and snippets.

@adrianrf
Created August 8, 2011 01:28
Show Gist options
  • Save adrianrf/1131044 to your computer and use it in GitHub Desktop.
Save adrianrf/1131044 to your computer and use it in GitHub Desktop.
brew install -vd ffmpeg-php - compile error
$ brew install -vd ffmpeg-php
==> Checking out http://ffmpeg-php.svn.sourceforge.net/svnroot/ffmpeg-php/trunk/ffmpeg-php
/usr/bin/svn up --force http://ffmpeg-php.svn.sourceforge.net/svnroot/ffmpeg-php/trunk/ffmpeg-php /Users/adrian/Library/Caches/Homebrew/ffmpeg-php--svn
Skipped 'http://ffmpeg-php.svn.sourceforge.net/svnroot/ffmpeg-php/trunk/ffmpeg-php'
At revision 677.
Summary of conflicts:
Skipped paths: 1
/usr/bin/svn export --force /Users/adrian/Library/Caches/Homebrew/ffmpeg-php--svn /private/tmp/homebrew-ffmpeg-php-HEAD-Yejx
Export complete.
==> phpize
phpize
Configuring for:
PHP Api Version: 20090626
Zend Module Api No: 20090626
Zend Extension Api No: 220090626
==> ./configure --disable-debug --prefix=/usr/local/Cellar/ffmpeg-php/HEAD --with-ffmpeg=/usr/local
./configure --disable-debug --prefix=/usr/local/Cellar/ffmpeg-php/HEAD --with-ffmpeg=/usr/local
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for a sed that does not truncate output... /usr/bin/sed
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /usr/bin/cc accepts -g... yes
checking for /usr/bin/cc option to accept ISO C89... none needed
checking how to run the C preprocessor... /usr/bin/cc -E
checking for icc... no
checking for suncc... no
checking whether /usr/bin/cc and cc understand -c and -o together... yes
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... i386-apple-darwin10.8.0
checking host system type... i386-apple-darwin10.8.0
checking target system type... i386-apple-darwin10.8.0
checking for PHP prefix... /usr
checking for PHP includes... -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib
checking for PHP extension directory... /usr/lib/php/extensions/no-debug-non-zts-20090626
checking for PHP installed headers prefix... /usr/include/php
checking if debug is enabled... no
checking if zts is enabled... no
checking for re2c... no
configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.
checking for gawk... gawk
checking for ffmpeg support... yes, shared
checking whether to force gd support in ffmpeg-php... no
checking for ffmpeg headers... ...found in /usr/local/include/libavcodec
checking for ffmpeg libavcodec.so...
configure: error: ffmpeg shared libraries not found. Make sure ffmpeg is compiled as shared libraries using the --enable-shared option
Error: #<BuildError: Failed executing: ./configure --disable-debug --prefix=/usr/local/Cellar/ffmpeg-php/HEAD --with-ffmpeg=/usr/local>
/usr/local/Library/Homebrew/formula.rb:495:in `system'
/usr/local/Library/Formula/ffmpeg-php.rb:11:in `install'
/usr/local/Library/Homebrew/install.rb:92:in `install'
/usr/local/Library/Homebrew/formula.rb:261:in `brew'
/usr/local/Library/Homebrew/formula.rb:563:in `stage'
/usr/local/Library/Homebrew/formula.rb:515:in `mktemp'
/usr/local/Library/Homebrew/formula.rb:561:in `stage'
/usr/local/Library/Homebrew/formula.rb:256:in `brew'
/usr/local/Library/Homebrew/install.rb:70:in `install'
/usr/local/Library/Homebrew/install.rb:34
/usr/local/Library/Formula/ffmpeg-php.rb:18
==> Rescuing build...
It looks like an autotools configure failed.
Gist 'config.log' and any error output when reporting an issue.
When you exit this shell Homebrew will attempt to finalise the installation.
If nothing is installed or the shell exits with a non-zero error code,
Homebrew will abort. The installation prefix is:
/usr/local/Cellar/ffmpeg-php/HEAD
bash: fill_underbar: command not found
bash: parse_git_branch: command not found
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment