在 Mac OSX Snow Leopard 上安装 MongoDB 失败

发布于 2024-10-25 20:22:51 字数 1384 浏览 0 评论 0原文

首先安装需要几个小时,然后会抛出错误。 以下是日志跟踪。构建 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

Firstly the installation take hours and then it throws and error.
Following was the log trace. It is failing while building Python module

'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

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文