Skip to content

Instantly share code, notes, and snippets.

@lp
Created May 6, 2011 17:12
Show Gist options
  • Select an option

  • Save lp/959356 to your computer and use it in GitHub Desktop.

Select an option

Save lp/959356 to your computer and use it in GitHub Desktop.
brew install io error
brew install -v io
/usr/local/git/bin/git
==> Cloning git://github.com/stevedekorte/io.git
Updating /Users/lpperron/Library/Caches/Homebrew/io--git
git fetch git://github.com/stevedekorte/io.git
git checkout-index -a -f --prefix=/private/tmp/homebrew-io-HEAD-rYix/
==> cmake .. -DCMAKE_INSTALL_PREFIX='/usr/local/Cellar/io/HEAD' -DCMAKE_BUILD_TYPE=None -Wno-dev
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: /usr/local/lib/libgmp.dylib /usr/local/lib/libgmpxx.dylib
-- Found GMP: /usr/local/include
-- 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 /Library/Frameworks/Mono.framework/Versions/2.6.7/include/glib-2.0;/Library/Frameworks/Mono.framework/Versions/2.6.7/lib/glib-2.0/include
-- Looking for include files HAVE_GLIB_GREGEX_H
-- Looking for include files HAVE_GLIB_GREGEX_H - found
-- 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
-- Could NOT find TIFF (missing: TIFF_LIBRARY)
-- Could NOT find JPEG (missing: JPEG_LIBRARY)
-- Found Iconv: /usr/lib/libiconv.dylib
-- checking for module 'libxml-2.0'
-- found libxml-2.0, version 2.6.30
-- Found LibXml2: /Library/Frameworks/Mono.framework/Versions/2.6.7/lib/libxml2.dylib
-- Found PythonLibs: /usr/lib/libpython2.6.dylib
-- Found Readline: /usr/lib/libreadline.dylib
-- checking for module 'libpcre'
-- package 'libpcre' not found
-- Found PCRE: /usr/local/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#L15
==> Environment
HOMEBREW_VERSION: 0.8
HEAD: 809c95b550b3c47457312256500061819791c9d2
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.6
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.5
GCC-4.0: build 5494
GCC-4.2: build 5664
LLVM: build 2333
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
These existing issues may help you:
https://github.com/mxcl/homebrew/issues/#issue/4576
https://github.com/mxcl/homebrew/issues/#issue/5404
Also try:
`brew doctor` to check your setup for common problems.
`brew missing` to check installed packages for missing deps.
_______________________________________________________________
brew doctor
Some "config" scripts were found in your path, but not in system or Homebrew folders.
`./configure` scripts often look for *-config scripts to determine if software packages
are installed, and what additional flags to use when compiling and linking.
Having additional scripts in your path can confuse software installed via Homebrew if
the config script overrides a system or Homebrew provided script of the same name.
/Library/Frameworks/Python.framework/Versions/2.7/bin
python-config python2.7-config
/Library/Frameworks/Python.framework/Versions/2.6/bin
python-config python2.6-config
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment