Skip to content

Instantly share code, notes, and snippets.

@tisba
Created May 11, 2011 14:40
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 tisba/966569 to your computer and use it in GitHub Desktop.
Save tisba/966569 to your computer and use it in GitHub Desktop.
brew install io
/usr/local/bin/git
==> Cloning git://github.com/stevedekorte/io.git
Cloning into /Users/basti/Library/Caches/Homebrew/io--git...
remote: Counting objects: 5525, done.
remote: Compressing objects: 100% (3889/3889), done.
remote: Total 5525 (delta 1627), reused 3906 (delta 1008)
Receiving objects: 100% (5525/5525), 12.46 MiB | 553 KiB/s, done.
Resolving deltas: 100% (1627/1627), done.
==> Downloading patches
==> Patching
patching file addons/Image/CMakeLists.txt
==> cmake .. -DCMAKE_INSTALL_PREFIX='/usr/local/Cellar/io/HEAD' -DCMAKE_BUILD_TYPE=None -Wno-dev
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- 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/cc
-- Check for working C compiler: /usr/bin/cc -- 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/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Configuration set to: None
-- Found AsyncRequest headers: /usr/include/aio.h
-- GMP libs: GMP_LIBRARIES-NOTFOUND GMPXX_LIBRARIES-NOTFOUND
-- Could NOT find GMP (missing: GMP_INCLUDE_DIR GMP_LIBRARIES)
-- checking for one of the modules 'libffi'
-- Could NOT find FFI (missing: FFI_INCLUDE_DIRS FFI_LIBRARIES)
-- checking for one of the modules 'cairo'
-- checking for one of the modules 'glib-2.0'
-- Found GLib2: glib-2.0;intl /usr/local/Cellar/glib/2.28.6/include/glib-2.0;/usr/local/Cellar/glib/2.28.6/lib/glib-2.0/include;/usr/local/Cellar/gettext/0.18.1.1/include;/usr/local/Cellar/glib/2.28.6/include
-- Looking for include files HAVE_GLIB_GREGEX_H
-- Looking for include files HAVE_GLIB_GREGEX_H - found
-- Found Pango_1_0: /usr/local/lib/libpango-1.0.dylib
-- Found Curses: /usr/lib/libcurses.dylib
-- Found EDIT: /usr/lib/libedit.dylib
-- Found Fnmatch headers: /usr/include/fnmatch.h
-- Found Freetype: /usr/X11R6/lib/libfreetype.dylib
-- Could NOT find GLFW (missing: GLFW_LIBRARY GLFW_INCLUDE_DIR)
-- Found ZLIB: /usr/lib/libz.dylib
-- Found PNG: /usr/X11R6/lib/libpng.dylib
-- Found TIFF: /usr/local/lib/libtiff.dylib
-- Found JPEG: /usr/local/lib/libjpeg.dylib
-- Found Iconv: /usr/lib/libiconv.dylib
-- checking for module 'libxml-2.0'
-- found libxml-2.0, version 2.7.3
-- Found LibXml2: /usr/lib/libxml2.dylib
-- Found PythonLibs: /usr/lib/libpython2.6.dylib
-- Found Readline: /usr/lib/libreadline.dylib
-- checking for module 'libpcre'
-- found libpcre, version 8.12
-- Found PCRE: /usr/local/Cellar/pcre/8.12/include
-- checking for one of the modules 'sqlite>=3;sqlite3'
-- Found OpenSSL: /usr/lib/libssl.dylib;/usr/lib/libcrypto.dylib
-- Found Syslog headers: /usr/include/syslog.h
-- Looking for include files CMAKE_HAVE_PTHREAD_H
-- Looking for include files CMAKE_HAVE_PTHREAD_H - found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found ZLIB: /usr/lib/libz.dylib
fatal: Not a git repository (or any of the parent directories): .git
CMake Error at CMakeLists.txt:143 (string):
string sub-command REGEX, mode REPLACE needs at least 6 arguments total to
command.
-- Configuring incomplete, errors occurred!
==> Exit Status: 1
http://github.com/mxcl/homebrew/blob/master/Library/Formula/io.rb#L22
==> Environment
HOMEBREW_VERSION: 0.8
HEAD: 595563257be5d2fd73c0f07615db4f301fcd44bd
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
HOMEBREW_REPOSITORY: /usr/local
HOMEBREW_LIBRARY_PATH: /usr/local/Library/Homebrew
Hardware: dual-core 64-bit penryn
OS X: 10.6.7
Kernel Architecture: i386
Ruby: 1.8.7-174
/usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
Xcode: 3.2.3
GCC-4.0: build 5494
GCC-4.2: build 5664
LLVM: build 2326
MacPorts or Fink? false
X11 installed? true
==> Build Flags
CC: /usr/bin/cc => /usr/bin/gcc-4.2
CXX: /usr/bin/c++ => /usr/bin/c++-4.2
LD: /usr/bin/cc => /usr/bin/gcc-4.2
CFLAGS: -O3 -march=core2 -msse4.1 -w -pipe
CXXFLAGS: -O3 -march=core2 -msse4.1 -w -pipe
Error: Failed executing: cmake .. -DCMAKE_INSTALL_PREFIX='/usr/local/Cellar/io/HEAD' -DCMAKE_BUILD_TYPE=None -Wno-dev
Please report this bug: https://github.com/mxcl/homebrew/wiki/new-issue
Also try:
`brew doctor` to check your setup for common problems.
`brew missing` to check installed packages for missing deps.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment