如何通过 Homebrew 安装 boost?

发布于 2024-12-02 15:03:39 字数 1496 浏览 0 评论 0原文

安装升压失败。

==> Exit Status: 1http://github.com/mxcl/homebrew/blob/master/Library/Formula/boost.rb#L69
==> Environment
HOMEBREW_VERSION: 0.8
HEAD: 97fa532a10613cd314f08b15b06a20b866919689
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.8
Kernel Architecture: i386
Ruby: 1.8.7-174
/usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
Xcode: 4.0.2
GCC-4.0: build 5494
GCC-4.2: build 5666
LLVM: build 2335
MacPorts or Fink? false
X11 installed? true
==> Build Flags

CC: /Developer/usr/bin/llvm-gcc => /Developer/usr/llvm-gcc-4.2/bin/llvm-gcc-4.2
CXX: /Developer/usr/bin/llvm-g++ => /Developer/usr/llvm-gcc-4.2/bin/llvm-g++-4.2
LD: /Developer/usr/bin/llvm-gcc => /Developer/usr/llvm-gcc-4.2/bin/llvm-gcc-4.2
CFLAGS: -O3 -march=core2 -msse4.1 -w -pipe
CXXFLAGS: -O3 -march=core2 -msse4.1 -w -pipe
MAKEFLAGS: -j2

Error: Failed executing: ./bjam --prefix=/usr/local/Cellar/boost/1.47.0 --libdir=/usr/local/Cellar/boost/1.47.0/lib -j2 --layout=tagged --user-config=user-config.jam threading=multi install
If `brew doctor' does not help diagnose the issue, please report the bug:
    https://github.com/mxcl/homebrew/wiki/checklist-before-filing-a-new-issue

我该如何安装boost?

系统版本:Mac OS X 10.6.8 (10K549)
内核版本:Darwin 10.8.0

Installing boost failed.

==> Exit Status: 1http://github.com/mxcl/homebrew/blob/master/Library/Formula/boost.rb#L69
==> Environment
HOMEBREW_VERSION: 0.8
HEAD: 97fa532a10613cd314f08b15b06a20b866919689
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.8
Kernel Architecture: i386
Ruby: 1.8.7-174
/usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
Xcode: 4.0.2
GCC-4.0: build 5494
GCC-4.2: build 5666
LLVM: build 2335
MacPorts or Fink? false
X11 installed? true
==> Build Flags

CC: /Developer/usr/bin/llvm-gcc => /Developer/usr/llvm-gcc-4.2/bin/llvm-gcc-4.2
CXX: /Developer/usr/bin/llvm-g++ => /Developer/usr/llvm-gcc-4.2/bin/llvm-g++-4.2
LD: /Developer/usr/bin/llvm-gcc => /Developer/usr/llvm-gcc-4.2/bin/llvm-gcc-4.2
CFLAGS: -O3 -march=core2 -msse4.1 -w -pipe
CXXFLAGS: -O3 -march=core2 -msse4.1 -w -pipe
MAKEFLAGS: -j2

Error: Failed executing: ./bjam --prefix=/usr/local/Cellar/boost/1.47.0 --libdir=/usr/local/Cellar/boost/1.47.0/lib -j2 --layout=tagged --user-config=user-config.jam threading=multi install
If `brew doctor' does not help diagnose the issue, please report the bug:
    https://github.com/mxcl/homebrew/wiki/checklist-before-filing-a-new-issue

How can I install boost?

System Version: Mac OS X 10.6.8 (10K549)
Kernel Vesion: Darwin 10.8.0

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

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

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

洋洋洒洒 2024-12-09 15:03:39

夏普解决了这个问题!
https://github.com/mxcl/homebrew/issues/7633

这是我本地的蟒蛇的问题。 (我明白)

我使用 --without-python 选项,我可以安装 boost。

Sharpie fixed this!
https://github.com/mxcl/homebrew/issues/7633

It's my local python's problem. (I understand)

I use the --without-python option and I can install boost.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文