Skip to content

Instantly share code, notes, and snippets.

@bryanmills
Created April 21, 2012 19:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bryanmills/2439201 to your computer and use it in GitHub Desktop.
Save bryanmills/2439201 to your computer and use it in GitHub Desktop.
Attempt at installing avidemux with brew
Here is the output of:
brew -v install --use-llvm --with-debug avidemux
Bryans-MacBook-Pro:src bryan$ brew rm -f avidemux
Bryans-MacBook-Pro:src bryan$ brew -v install --use-llvm --with-debug avidemux
Homebrew 0.9
==> Downloading http://downloads.sourceforge.net/avidemux/avidemux_2.5.6.tar.gz
Already downloaded: /Library/Caches/Homebrew/avidemux-2.5.6.tar.gz
/usr/bin/tar xf /Library/Caches/Homebrew/avidemux-2.5.6.tar.gz
==> cmake -DCMAKE_INSTALL_PREFIX='/usr/local/Cellar/avidemux/2.5.6' -DCMAKE_BUILD_TYPE=None -Wno-dev -DCMAKE_PREFIX_PATH=/usr/local/Cellar/gettext/0.18.1.1 -DMAC_BUNDLE_DIR=/usr/local/Cellar/avidemux/2.5.6 -DGTK=OFF -DSDL=OFF -DCMAKE_BUILD_TYPE=Debug -DCMAKE_VERBOSE_MAKEFILE=true -DCMAKE_C_FLAGS_DEBUG=-ggdb3 -DCMAKE_CXX_FLAGS_DEBUG=-ggdb3 /private/tmp/homebrew-avidemux-2.5.6-IVCs/avidemux_2.5.6
cmake -DCMAKE_INSTALL_PREFIX='/usr/local/Cellar/avidemux/2.5.6' -DCMAKE_BUILD_TYPE=None -Wno-dev -DCMAKE_PREFIX_PATH=/usr/local/Cellar/gettext/0.18.1.1 -DMAC_BUNDLE_DIR=/usr/local/Cellar/avidemux/2.5.6 -DGTK=OFF -DSDL=OFF -DCMAKE_BUILD_TYPE=Debug -DCMAKE_VERBOSE_MAKEFILE=true -DCMAKE_C_FLAGS_DEBUG=-ggdb3 -DCMAKE_CXX_FLAGS_DEBUG=-ggdb3 /private/tmp/homebrew-avidemux-2.5.6-IVCs/avidemux_2.5.6
#####################################
Configure Started
#####################################
-- Source dir is /tmp/homebrew-avidemux-2.5.6-IVCs/avidemux_2.5.6
-- The C compiler identification is GNU 4.2.1
-- The CXX compiler identification is GNU 4.2.1
-- Checking whether C compiler has -isysroot
-- Checking whether C compiler has -isysroot - yes
-- Checking whether C compiler supports OSX deployment target flag
-- Checking whether C compiler supports OSX deployment target flag - yes
-- Check for working C compiler: /usr/bin/llvm-gcc
-- Check for working C compiler: /usr/bin/llvm-gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Checking whether CXX compiler has -isysroot
-- Checking whether CXX compiler has -isysroot - yes
-- Checking whether CXX compiler supports OSX deployment target flag
-- Checking whether CXX compiler supports OSX deployment target flag - yes
-- Check for working CXX compiler: /usr/bin/llvm-g++
-- Check for working CXX compiler: /usr/bin/llvm-g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Checking GCC support
-- ********************
-- Check if GCC is Unix - Yes
-- Check if GCC is BSD family - Yes
-- Check if GCC is Apple - Yes
-- Check if GCC is x86 64-bit - Yes
-- Check if GCC is MMX2 capable - Yes
-- Check if GCC is SSSE3 capable - Yes
-- Check if the system is big endian
-- Searching 16 bit integer
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of unsigned short
-- Check size of unsigned short - done
-- Using unsigned short
-- Check if the system is big endian - little endian
-- Checking for pkg-config
-- ***********************
-- Found PkgConfig: /usr/local/bin/pkg-config (found version "0.25")
CMake Error at cmake/admCheckRequiredLibs.cmake:10 (MESSAGE):
Could not find pkg-config
Call Stack (most recent call first):
CMakeLists.txt:127 (INCLUDE)
-- Configuring incomplete, errors occurred!
==> Exit Status: 1
https://github.com/mxcl/master/blob/master/Library/Formula/avidemux.rb#L87
==> Build Environment
CPU: quad-core 64-bit sandybridge
MacOS: 10.7.3-x86_64
Xcode: 4.3.2
"--use-llvm" was specified
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: -pipe -march=core2 -msse4 -O2
CXXFLAGS: -pipe -march=core2 -msse4 -O2
CPPFLAGS: -I/usr/local/Cellar/gettext/0.18.1.1/include
LDFLAGS: -L/usr/local/Cellar/gettext/0.18.1.1/lib
Error: Failed executing: cmake -DCMAKE_INSTALL_PREFIX='/usr/local/Cellar/avidemux/2.5.6' -DCMAKE_BUILD_TYPE=None -Wno-dev -DCMAKE_PREFIX_PATH=/usr/local/Cellar/gettext/0.18.1.1 -DMAC_BUNDLE_DIR=/usr/local/Cellar/avidemux/2.5.6 -DGTK=OFF -DSDL=OFF -DCMAKE_BUILD_TYPE=Debug -DCMAKE_VERBOSE_MAKEFILE=true -DCMAKE_C_FLAGS_DEBUG=-ggdb3 -DCMAKE_CXX_FLAGS_DEBUG=-ggdb3 /private/tmp/homebrew-avidemux-2.5.6-IVCs/avidemux_2.5.6 (avidemux.rb:87)
These existing issues may help you:
https://github.com/mxcl/homebrew/issues/8429
Otherwise, please report the bug:
https://github.com/mxcl/homebrew/wiki/reporting-bugs
Bryans-MacBook-Pro:src bryan$ echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment