Skip to content

Instantly share code, notes, and snippets.

@megatux
Created September 20, 2011 21:53
Show Gist options
  • Save megatux/1230524 to your computer and use it in GitHub Desktop.
Save megatux/1230524 to your computer and use it in GitHub Desktop.
error installing ffmpegthumbnailer
==> Downloading http://ffmpegthumbnailer.googlecode.com/files/ffmpegthumbnailer-2.0.6.tar.gz
File already downloaded in /Users/cristian/Library/Caches/Homebrew
/usr/bin/tar xf /Users/cristian/Library/Caches/Homebrew/ffmpegthumbnailer-2.0.6.tar.gz
==> ./configure --disable-debug --disable-dependency-tracking --prefix=/usr/local/Cellar/ffmpegthumbnailer/2.0.6
./configure --disable-debug --disable-dependency-tracking --prefix=/usr/local/Cellar/ffmpegthumbnailer/2.0.6
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether /usr/bin/llvm-g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of /usr/bin/llvm-g++... none
checking build system type... x86_64-apple-darwin11.0.0
checking host system type... x86_64-apple-darwin11.0.0
checking for gcc... /usr/bin/llvm-gcc
checking whether we are using the GNU C compiler... yes
checking whether /usr/bin/llvm-gcc accepts -g... yes
checking for /usr/bin/llvm-gcc option to accept ISO C89... none needed
checking dependency style of /usr/bin/llvm-gcc... none
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by /usr/bin/llvm-gcc... /usr/bin/llvm-gcc
checking if the linker (/usr/bin/llvm-gcc) is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm
checking the name lister (/usr/bin/nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 196608
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/llvm-gcc option to reload object files... -r
checking for objdump... no
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm output from /usr/bin/llvm-gcc object... ok
checking for dsymutil... dsymutil
checking for nmedit... nmedit
checking for lipo... lipo
checking for otool... otool
checking for otool64... no
checking for -single_module linker flag... yes
checking for -exported_symbols_list linker flag... yes
checking how to run the C preprocessor... /usr/bin/llvm-gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether /usr/bin/llvm-g++ accepts -g... (cached) yes
checking dependency style of /usr/bin/llvm-g++... (cached) none
checking how to run the C++ preprocessor... /usr/bin/llvm-g++ -E
checking for objdir... .libs
checking if /usr/bin/llvm-gcc supports -fno-rtti -fno-exceptions... yes
checking for /usr/bin/llvm-gcc option to produce PIC... -fno-common -DPIC
checking if /usr/bin/llvm-gcc PIC flag -fno-common -DPIC works... yes
checking if /usr/bin/llvm-gcc static flag -static works... no
checking if /usr/bin/llvm-gcc supports -c -o file.o... yes
checking if /usr/bin/llvm-gcc supports -c -o file.o... (cached) yes
checking whether the /usr/bin/llvm-gcc linker (/usr/bin/llvm-gcc) supports shared libraries... yes
checking dynamic linker characteristics... darwin11.0.0 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for ld used by /usr/bin/llvm-g++... /usr/bin/llvm-gcc
checking if the linker (/usr/bin/llvm-gcc) is GNU ld... no
checking whether the /usr/bin/llvm-g++ linker (/usr/bin/llvm-gcc) supports shared libraries... yes
checking for /usr/bin/llvm-g++ option to produce PIC... -fno-common -DPIC
checking if /usr/bin/llvm-g++ PIC flag -fno-common -DPIC works... yes
checking if /usr/bin/llvm-g++ static flag -static works... no
checking if /usr/bin/llvm-g++ supports -c -o file.o... yes
checking if /usr/bin/llvm-g++ supports -c -o file.o... (cached) yes
checking whether the /usr/bin/llvm-g++ linker (/usr/bin/llvm-gcc) supports shared libraries... yes
checking dynamic linker characteristics... darwin11.0.0 dyld
checking how to hardcode library paths into programs... immediate
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for ANSI C header files... (cached) yes
checking for inttypes.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking whether /usr/bin/llvm-gcc accepts --as-needed... no
checking for pkg-config... /usr/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for FFMPEG... yes
checking for avcodec_decode_video2 in -lavcodec... yes
checking for PNG... yes
checking jpeglib.h usability... yes
checking jpeglib.h presence... yes
checking for jpeglib.h... yes
configure: pkgconfig directory is ${libdir}/pkgconfig
configure: creating ./config.status
config.status: creating libffmpegthumbnailer.pc
config.status: creating Makefile
config.status: creating man/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
CONFIGURATION SUMMARY ----
png support : enabled
jpeg support : enabled
gio support : disabled
unittests : disabled
debug mode : disabled
==> make install
make install
Making install in man
make[2]: Nothing to be done for `install-exec-am'.
test -z "/usr/local/Cellar/ffmpegthumbnailer/2.0.6/share/man/man1" || .././install-sh -c -d "/usr/local/Cellar/ffmpegthumbnailer/2.0.6/share/man/man1"
/usr/bin/install -c -m 644 ffmpegthumbnailer.1 '/usr/local/Cellar/ffmpegthumbnailer/2.0.6/share/man/man1'
\
# source='libffmpegthumbnailer/moviedecoder.cpp' object='libffmpegthumbnailer_la-moviedecoder.lo' libtool=yes
\
# source='libffmpegthumbnailer/stringoperations.cpp' object='libffmpegthumbnailer_la-stringoperations.lo' libtool=yes
\
# source='libffmpegthumbnailer/videothumbnailer.cpp' object='libffmpegthumbnailer_la-videothumbnailer.lo' libtool=yes
\
# source='libffmpegthumbnailer/videothumbnailerc.cpp' object='libffmpegthumbnailer_la-videothumbnailerc.lo' libtool=yes
\
# source='libffmpegthumbnailer/filmstripfilter.cpp' object='libffmpegthumbnailer_la-filmstripfilter.lo' libtool=yes
\
# source='libffmpegthumbnailer/pngwriter.cpp' object='libffmpegthumbnailer_la-pngwriter.lo' libtool=yes
\
# source='libffmpegthumbnailer/jpegwriter.cpp' object='libffmpegthumbnailer_la-jpegwriter.lo' libtool=yes
/bin/sh ./libtool --tag=CXX --mode=compile /usr/bin/llvm-g++ -DHAVE_CONFIG_H -I. -I/usr/local/Cellar/ffmpeg/0.8.2/include -I/usr/X11/include/libpng15 -D__STDC_CONSTANT_MACROS -c -o libffmpegthumbnailer_la-moviedecoder.lo `test -f 'libffmpegthumbnailer/moviedecoder.cpp' || echo './'`libffmpegthumbnailer/moviedecoder.cpp
\
# source='main.cpp' object='main.o' libtool=no
/bin/sh ./libtool --tag=CXX --mode=compile /usr/bin/llvm-g++ -DHAVE_CONFIG_H -I. -I/usr/local/Cellar/ffmpeg/0.8.2/include -I/usr/X11/include/libpng15 -D__STDC_CONSTANT_MACROS -c -o libffmpegthumbnailer_la-videothumbnailerc.lo `test -f 'libffmpegthumbnailer/videothumbnailerc.cpp' || echo './'`libffmpegthumbnailer/videothumbnailerc.cpp
/bin/sh ./libtool --tag=CXX --mode=compile /usr/bin/llvm-g++ -DHAVE_CONFIG_H -I. -I/usr/local/Cellar/ffmpeg/0.8.2/include -I/usr/X11/include/libpng15 -D__STDC_CONSTANT_MACROS -c -o libffmpegthumbnailer_la-videothumbnailer.lo `test -f 'libffmpegthumbnailer/videothumbnailer.cpp' || echo './'`libffmpegthumbnailer/videothumbnailer.cpp
/bin/sh ./libtool --tag=CXX --mode=compile /usr/bin/llvm-g++ -DHAVE_CONFIG_H -I. -I/usr/local/Cellar/ffmpeg/0.8.2/include -I/usr/X11/include/libpng15 -D__STDC_CONSTANT_MACROS -c -o libffmpegthumbnailer_la-pngwriter.lo `test -f 'libffmpegthumbnailer/pngwriter.cpp' || echo './'`libffmpegthumbnailer/pngwriter.cpp
/bin/sh ./libtool --tag=CXX --mode=compile /usr/bin/llvm-g++ -DHAVE_CONFIG_H -I. -I/usr/local/Cellar/ffmpeg/0.8.2/include -I/usr/X11/include/libpng15 -D__STDC_CONSTANT_MACROS -c -o libffmpegthumbnailer_la-filmstripfilter.lo `test -f 'libffmpegthumbnailer/filmstripfilter.cpp' || echo './'`libffmpegthumbnailer/filmstripfilter.cpp
/bin/sh ./libtool --tag=CXX --mode=compile /usr/bin/llvm-g++ -DHAVE_CONFIG_H -I. -I/usr/local/Cellar/ffmpeg/0.8.2/include -I/usr/X11/include/libpng15 -D__STDC_CONSTANT_MACROS -c -o libffmpegthumbnailer_la-stringoperations.lo `test -f 'libffmpegthumbnailer/stringoperations.cpp' || echo './'`libffmpegthumbnailer/stringoperations.cpp
/bin/sh ./libtool --tag=CXX --mode=compile /usr/bin/llvm-g++ -DHAVE_CONFIG_H -I. -I/usr/local/Cellar/ffmpeg/0.8.2/include -I/usr/X11/include/libpng15 -D__STDC_CONSTANT_MACROS -c -o libffmpegthumbnailer_la-jpegwriter.lo `test -f 'libffmpegthumbnailer/jpegwriter.cpp' || echo './'`libffmpegthumbnailer/jpegwriter.cpp
/usr/bin/llvm-g++ -DHAVE_CONFIG_H -I. -D__STDC_CONSTANT_MACROS -c -o main.o main.cpp
libtool: compile: /usr/bin/llvm-g++ -DHAVE_CONFIG_H -I. -I/usr/local/Cellar/ffmpeg/0.8.2/include -I/usr/X11/include/libpng15 -D__STDC_CONSTANT_MACROS -c libffmpegthumbnailer/stringoperations.cpp -fno-common -DPIC -o .libs/libffmpegthumbnailer_la-stringoperations.o
libtool: compile: /usr/bin/llvm-g++ -DHAVE_CONFIG_H -I. -I/usr/local/Cellar/ffmpeg/0.8.2/include -I/usr/X11/include/libpng15 -D__STDC_CONSTANT_MACROS -c libffmpegthumbnailer/moviedecoder.cpp -fno-common -DPIC -o .libs/libffmpegthumbnailer_la-moviedecoder.o
libtool: compile: /usr/bin/llvm-g++ -DHAVE_CONFIG_H -I. -I/usr/local/Cellar/ffmpeg/0.8.2/include -I/usr/X11/include/libpng15 -D__STDC_CONSTANT_MACROS -c libffmpegthumbnailer/videothumbnailer.cpp -fno-common -DPIC -o .libs/libffmpegthumbnailer_la-videothumbnailer.o
libtool: compile: /usr/bin/llvm-g++ -DHAVE_CONFIG_H -I. -I/usr/local/Cellar/ffmpeg/0.8.2/include -I/usr/X11/include/libpng15 -D__STDC_CONSTANT_MACROS -c libffmpegthumbnailer/pngwriter.cpp -fno-common -DPIC -o .libs/libffmpegthumbnailer_la-pngwriter.o
libtool: compile: /usr/bin/llvm-g++ -DHAVE_CONFIG_H -I. -I/usr/local/Cellar/ffmpeg/0.8.2/include -I/usr/X11/include/libpng15 -D__STDC_CONSTANT_MACROS -c libffmpegthumbnailer/videothumbnailerc.cpp -fno-common -DPIC -o .libs/libffmpegthumbnailer_la-videothumbnailerc.o
libtool: compile: /usr/bin/llvm-g++ -DHAVE_CONFIG_H -I. -I/usr/local/Cellar/ffmpeg/0.8.2/include -I/usr/X11/include/libpng15 -D__STDC_CONSTANT_MACROS -c libffmpegthumbnailer/jpegwriter.cpp -fno-common -DPIC -o .libs/libffmpegthumbnailer_la-jpegwriter.o
libtool: compile: /usr/bin/llvm-g++ -DHAVE_CONFIG_H -I. -I/usr/local/Cellar/ffmpeg/0.8.2/include -I/usr/X11/include/libpng15 -D__STDC_CONSTANT_MACROS -c libffmpegthumbnailer/filmstripfilter.cpp -fno-common -DPIC -o .libs/libffmpegthumbnailer_la-filmstripfilter.o
libtool: compile: /usr/bin/llvm-g++ -DHAVE_CONFIG_H -I. -I/usr/local/Cellar/ffmpeg/0.8.2/include -I/usr/X11/include/libpng15 -D__STDC_CONSTANT_MACROS -c libffmpegthumbnailer/filmstripfilter.cpp -o libffmpegthumbnailer_la-filmstripfilter.o >/dev/null 2>&1
In file included from libffmpegthumbnailer/moviedecoder.h:25,
from libffmpegthumbnailer/moviedecoder.cpp:17:
/usr/local/Cellar/ffmpeg/0.8.2/include/libavcodec/avcodec.h:525: warning: attribute ignored in declaration of ‘enum AVLPCType’
/usr/local/Cellar/ffmpeg/0.8.2/include/libavcodec/avcodec.h:525: warning: attribute for ‘enum AVLPCType’ must follow the ‘enum’ keyword
libffmpegthumbnailer/moviedecoder.cpp: In member function ‘void ffmpegthumbnailer::MovieDecoder::initialize(const std::string&)’:
libffmpegthumbnailer/moviedecoder.cpp:64: warning: ‘av_open_input_file’ is deprecated (declared at /usr/local/Cellar/ffmpeg/0.8.2/include/libavformat/avformat.h:1093)
libffmpegthumbnailer/moviedecoder.cpp:64: warning: ‘av_open_input_file’ is deprecated (declared at /usr/local/Cellar/ffmpeg/0.8.2/include/libavformat/avformat.h:1093)
libffmpegthumbnailer/moviedecoder.cpp: In member function ‘void ffmpegthumbnailer::MovieDecoder::initializeVideo()’:
libffmpegthumbnailer/moviedecoder.cpp:130: error: ‘CODEC_TYPE_VIDEO’ was not declared in this scope
libffmpegthumbnailer/pngwriter.cpp: In constructor ‘ffmpegthumbnailer::PngWriter::PngWriter(std::vector<unsigned char, std::allocator<unsigned char> >&)’:
libffmpegthumbnailer/pngwriter.cpp:52: error: ‘voidp’ was not declared in this scope
make[1]: *** [libffmpegthumbnailer_la-moviedecoder.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [libffmpegthumbnailer_la-pngwriter.lo] Error 1
In file included from libffmpegthumbnailer/moviedecoder.h:25,
from libffmpegthumbnailer/videothumbnailer.cpp:24:
/usr/local/Cellar/ffmpeg/0.8.2/include/libavcodec/avcodec.h:525: warning: attribute ignored in declaration of ‘enum AVLPCType’
/usr/local/Cellar/ffmpeg/0.8.2/include/libavcodec/avcodec.h:525: warning: attribute for ‘enum AVLPCType’ must follow the ‘enum’ keyword
libtool: compile: /usr/bin/llvm-g++ -DHAVE_CONFIG_H -I. -I/usr/local/Cellar/ffmpeg/0.8.2/include -I/usr/X11/include/libpng15 -D__STDC_CONSTANT_MACROS -c libffmpegthumbnailer/jpegwriter.cpp -o libffmpegthumbnailer_la-jpegwriter.o >/dev/null 2>&1
libtool: compile: /usr/bin/llvm-g++ -DHAVE_CONFIG_H -I. -I/usr/local/Cellar/ffmpeg/0.8.2/include -I/usr/X11/include/libpng15 -D__STDC_CONSTANT_MACROS -c libffmpegthumbnailer/videothumbnailerc.cpp -o libffmpegthumbnailer_la-videothumbnailerc.o >/dev/null 2>&1
libtool: compile: /usr/bin/llvm-g++ -DHAVE_CONFIG_H -I. -I/usr/local/Cellar/ffmpeg/0.8.2/include -I/usr/X11/include/libpng15 -D__STDC_CONSTANT_MACROS -c libffmpegthumbnailer/stringoperations.cpp -o libffmpegthumbnailer_la-stringoperations.o >/dev/null 2>&1
libtool: compile: /usr/bin/llvm-g++ -DHAVE_CONFIG_H -I. -I/usr/local/Cellar/ffmpeg/0.8.2/include -I/usr/X11/include/libpng15 -D__STDC_CONSTANT_MACROS -c libffmpegthumbnailer/videothumbnailer.cpp -o libffmpegthumbnailer_la-videothumbnailer.o >/dev/null 2>&1
make: *** [install-recursive] Error 1
==> Exit Status: 2
http://github.com/mxcl/homebrew/blob/master/Library/Formula/ffmpegthumbnailer.rb#L16
==> Environment
HOMEBREW_VERSION: 0.8
HEAD: 5c3e9153ee5d70c8de84492cdd980a3953fe238e
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
HOMEBREW_REPOSITORY: /usr/local
HOMEBREW_LIBRARY_PATH: /usr/local/Library/Homebrew
Hardware: 8-core 64-bit sandybridge
OS X: 10.7
Kernel Architecture: x86_64
Ruby: 1.8.7-249
/usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
Xcode: 4.1
GCC-4.0: N/A
GCC-4.2: build 5666
LLVM: build 2335
MacPorts or Fink? false
X11 installed? true
==> Build Flags
CC: /usr/bin/llvm-gcc => /usr/llvm-gcc-4.2/bin/llvm-gcc-4.2
CXX: /usr/bin/llvm-g++ => /usr/llvm-gcc-4.2/bin/llvm-g++-4.2
LD: /usr/bin/llvm-gcc => /usr/llvm-gcc-4.2/bin/llvm-gcc-4.2
CFLAGS: -O3 -march=core2 -w -pipe
CXXFLAGS: -O3 -march=core2 -w -pipe
MAKEFLAGS: -j8
Error: Failed executing: make install
If `brew doctor' does not help diagnose the issue, please report the bug:
https://github.com/mxcl/homebrew/wiki/checklist-before-filing-a-new-issue
---------------------------------
$ brew doctor
Your system is raring to brew.
$ brew --config
HOMEBREW_VERSION: 0.8
HEAD: (none)
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
HOMEBREW_REPOSITORY: /usr/local
HOMEBREW_LIBRARY_PATH: /usr/local/Library/Homebrew
Hardware: 8-core 64-bit sandybridge
OS X: 10.7
Kernel Architecture: x86_64
Ruby: 1.8.7-249
/usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
Xcode: 4.1
GCC-4.0: N/A
GCC-4.2: build 5666
LLVM: build 2335
MacPorts or Fink? false
X11 installed? true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment