在Mac OSX Snow Leopard上安装MongoDB失败

时间:2011-03-23 11:00:18

标签: mongodb osx-snow-leopard macports

首先安装需要几个小时,然后抛出并出错。 以下是日志跟踪。构建Python模块时失败了

'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_mongodb/work/mongodb-src-r1.6.5" && scons -j2 all mongobridge mongosniff --usesm --cxx=/usr/bin/g++-4.2 --full'
:info:build sh: line 0: cd: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_mongodb/work/mongodb-src-r1.6.5: No such file or directory
:info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_mongodb/work/mongodb-src-r1.6.5" && scons -j2 all mongobridge mongosniff --usesm --cxx=/usr/bin/g++-4.2 --full " returned error 1
:error:build Target org.macports.build returned: shell command failed (see log for details)
:debug:build Backtrace: shell command failed (see log for details)
    while executing
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"$procedure $targetname"
:info:build Warning: the following items did not execute (for mongodb): org.macports.activate org.macports.build org.macports.destroot org.macports.install
:notice:build Log for mongodb is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_mongodb/main.log

0 个答案:

没有答案