Skip to content

Instantly share code, notes, and snippets.

@brittballard
Created April 28, 2011 05:19
Show Gist options
  • Save brittballard/945849 to your computer and use it in GitHub Desktop.
Save brittballard/945849 to your computer and use it in GitHub Desktop.
sudo brew install -v io error
David-Ballards-MacBook-Pro:source britton$ sudo brew install -v io
/usr/local/bin/git
==> Cloning git://github.com/stevedekorte/io.git
Updating /Library/Caches/Homebrew/io--git
git fetch git://github.com/stevedekorte/io.git
From git://github.com/stevedekorte/io
* branch HEAD -> FETCH_HEAD
git checkout-index -a -f --prefix=/private/tmp/homebrew-io-HEAD-YXtk/
==> 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: 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)
-- checking for one of the modules 'cairo'
-- Could not find Cairo
-- checking for one of the modules 'glib-2.0'
-- checking for one of the modules 'cairo'
-- Could not find Cairo
-- 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)
-- Could NOT find PNG (missing: PNG_LIBRARY PNG_PNG_INCLUDE_DIR)
-- Found TIFF: /usr/local/lib/libtiff.dylib
-- Found JPEG: /usr/local/lib/libjpeg.dylib
-- Found Iconv: /usr/lib/libiconv.dylib
-- Found LibXml2: /usr/lib/libxml2.dylib
-- checking for one of the modules 'glib-2.0'
-- Found PythonLibs: /usr/lib/libpython2.6.dylib
-- Found Readline: /usr/lib/libreadline.dylib
-- Could NOT find PCRE (missing: PCRE_INCLUDE_DIR)
-- checking for one of the modules 'sqlite>=3;sqlite3'
-- Found Sqlite: /usr/local/lib/libsqlite3.dylib
-- 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
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: 460a1686ae750d7fe026768eb42483723e6ab07b
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.6
GCC-4.0: build 5494
GCC-4.2: build 5666
LLVM: build 2335
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
Also try:
`brew doctor` to check your setup for common problems.
`brew missing` to check installed packages for missing deps.
David-Ballards-MacBook-Pro:source britton$ brew doctor
Your OS X is ripe for brewing.
Any troubles you may be experiencing are likely purely psychosomatic.
David-Ballards-MacBook-Pro:source britton$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment