ajb*_*aus 12 scons mongodb osx-mavericks
brew install mongodb
==> Downloading http://downloads.mongodb.org/src/mongodb-src-r2.4.8.tar.gz
Already downloaded: /Library/Caches/Homebrew/mongodb-2.4.8.tar.gz
==> Downloading patches
######################################################################## 100.0%
######################################################################## 100.0%
==> Patching
patching file src/third_party/v8/SConscript
patching file src/third_party/v8/src/spaces.h
==> scons install --prefix=/usr/local/Cellar/mongodb/2.4.8 -j4 --64 --cc=/usr/bin/clang --cxx=/usr/bin/clang++ -stdlib=libstdc++
Run Code Online (Sandbox Code Playgroud)
无限期挂起(10分钟+).
以下是流程:
PID TTY TIME CMD
428 ttys000 0:00.14 -bash
439 ttys001 0:00.14 -bash
425 ttys002 0:00.20 -bash
2472 ttys002 0:00.12 /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby -W0 /usr/local/Library/brew.rb inst
2491 ttys002 0:00.17 /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby -W0 -I /usr/local/Library/Homebrew
2517 ttys002 0:08.25 python /usr/local/bin/scons install --prefix=/usr/local/Cellar/mongodb/2.4.8 -j4 --64 --cc=/usr/bin/cla
2583 ttys002 0:00.02 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -stdlib=
2584 ttys002 0:05.63 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -cc1 -trip
2599 ttys002 0:00.02 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -stdlib=
2600 ttys002 0:02.10 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -cc1 -trip
2605 ttys002 0:00.02 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -stdlib=
2606 ttys002 0:01.81 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -cc1 -trip
2607 ttys002 0:00.02 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -stdlib=
2608 ttys002 0:01.70 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -cc1 -trip
1351 ttys003 0:00.22 -bash
Run Code Online (Sandbox Code Playgroud)
我试过了:
Sur*_*her 22
今天我处于同样的情况,自制软件需要超过20分钟来安装mongoDB(小牛队的2.4.8).它在"clang"中"悬挂",MBA的粉丝们疯了.给它更多时间.
小智 5
您可以通过运行以下命令来切换详细调试模式:
brew install -vd mongodb
Run Code Online (Sandbox Code Playgroud)
这会给你更多的输出,所以你会看到发生的一切,并知道它没有挂起.