Skip to content

Instantly share code, notes, and snippets.

@greymouser
Last active December 26, 2015 19:09
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 greymouser/7199876 to your computer and use it in GitHub Desktop.
Save greymouser/7199876 to your computer and use it in GitHub Desktop.
mongodb 2.4.7 brew fail install
lankhmar:~ greymouser$ brew doctor
Warning: /Library/Frameworks/Mono.framework detected
This can be picked up by CMake's build system and likely cause the build to
fail. You may need to move this file out of the way to compile CMake.
lankhmar:~ greymouser$ brew --config
HOMEBREW_VERSION: 0.9.5
ORIGIN: https://github.com/mxcl/homebrew.git
HEAD: a59e2adfdb81da6a57f5f4c4b1a4a9b9863087da
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
CPU: quad-core 64-bit ivybridge
OS X: 10.9-x86_64
Xcode: 5.0.1
CLT: 5.0.1.0.1.1382131676
GCC-4.2: build 5666
Clang: 5.0 build 500
X11: 2.7.4 => /opt/X11
System Ruby: 1.8.7-358
Perl: /usr/bin/perl
Python: /usr/local/bin/python => /usr/local/Cellar/python/2.7.4/Frameworks/Python.framework/Versions/2.7/bin/python2.7
Ruby: /Users/greymouser/.rvm/rubies/ruby-2.0.0-p247/bin/ruby
lankhmar:~ greymouser$ brew install -v mongodb 2>&1
==> Downloading http://downloads.mongodb.org/src/mongodb-src-r2.4.7.tar.gz
Already downloaded: /Library/Caches/Homebrew/mongodb-2.4.7.tar.gz
tar xf /Library/Caches/Homebrew/mongodb-2.4.7.tar.gz
==> Downloading patches
/usr/bin/curl -f#LA Homebrew 0.9.5 (Ruby 1.8.7-358; Mac OS X 10.9) https://github.com/mongodb/mongo/commit/be4bc7.patch -o 000-homebrew.diff
######################################################################## 100.0%
==> Patching
/usr/bin/patch -f -p1 -i 000-homebrew.diff
patching file src/third_party/v8/SConscript
==> scons install --prefix=/usr/local/Cellar/mongodb/2.4.7 -j4 --64 --cc=/usr/bin/clang --cxx=/usr/bin/clang++ -stdlib=libstdc++
scons install --prefix=/usr/local/Cellar/mongodb/2.4.7 -j4 --64 --cc=/usr/bin/clang --cxx=/usr/bin/clang++ -stdlib=libstdc++
==> Configuration
HOMEBREW_VERSION: 0.9.5
HEAD: a59e2adfdb81da6a57f5f4c4b1a4a9b9863087da
CPU: quad-core 64-bit ivybridge
OS X: 10.9-x86_64
Xcode: 5.0.1
CLT: 5.0.1.0.1.1382131676
X11: 2.7.4 => /opt/X11
==> ENV
CFLAGS: -Os -w -pipe -march=native -mmacosx-version-min=10.9
CXXFLAGS: -Os -w -pipe -march=native -mmacosx-version-min=10.9
CPPFLAGS: -F/usr/local/Frameworks
LDFLAGS: -L/usr/local/lib -F/usr/local/Frameworks -Wl,-headerpad_max_install_names
MAKEFLAGS: -j4
CMAKE_INCLUDE_PATH: /usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/Headers
CMAKE_FRAMEWORK_PATH: /usr/local/Frameworks
MACOSX_DEPLOYMENT_TARGET: 10.9
PKG_CONFIG_PATH: /usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/lib/pkgconfig
PKG_CONFIG_LIBDIR: /usr/local/lib/pkgconfig:/usr/local/Library/ENV/pkgconfig/10.9:/usr/lib/pkgconfig
OBJC: /usr/bin/clang
PATH: /usr/local/opt/python/bin:/Users/greymouser/.rvm/gems/ruby-2.0.0-p247/bin:/Users/greymouser/.rvm/gems/ruby-2.0.0-p247@global/bin:/Users/greymouser/.rvm/rubies/ruby-2.0.0-p247/bin:/Users/greymouser/.rvm/bin:/usr/local/share/npm/bin:/usr/local/heroku/bin:/Users/greymouser/Applications/dart/dart-sdk/bin:/Applications/Sublime Text 2.app/Contents/SharedSupport/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/opt/X11/bin:/usr/local/Library/Contributions/cmd
CPATH: /usr/local/include
Error: mongodb did not build
These open issues may also help:
https://github.com/mxcl/homebrew/issues/23519
# No logs (?)
lankhmar:~ greymouser$ ls ~/Library/Logs/Homebrew/mongodb/
lankhmar:~ greymouser$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment