Skip to content

Instantly share code, notes, and snippets.

@googya
Created August 10, 2012 06:05
Show Gist options
  • Select an option

  • Save googya/3311588 to your computer and use it in GitHub Desktop.

Select an option

Save googya/3311588 to your computer and use it in GitHub Desktop.
error when installing boost
$ brew install boost
==> Downloading http://downloads.sourceforge.net/project/boost/boost/1.49.0/boost_1_49_0.tar.bz2
Already downloaded: /Library/Caches/Homebrew/boost-1.49.0.tar.bz2
==> ./bootstrap.sh --prefix=/usr/local/Cellar/boost/1.49.0 --libdir=/usr/local/Cellar/boost/1.49.0/lib
-n Building Boost.Build engine with toolset darwin...
Failed to build Boost.Build build engine
Consult 'bootstrap.log' for more details
==> Build Environment
HOMEBREW_VERSION: 0.9.2
HEAD: c4bdcc235f223154a7580dc96c54c008f349a403
CPU: 8-core 64-bit sandybridge
OS X: 10.8-x86_64
Xcode: 4.4
CLT: 4.4.0.0.1.1249367152
X11: XQuartz 2.7.2 in /opt/X11
CC: /usr/bin/clang
CXX: /usr/bin/clang++ => /usr/bin/clang
LD: /usr/bin/clang
CFLAGS: -Os -w -pipe -march=native -Qunused-arguments -mmacosx-version-min=10.8
CXXFLAGS: -Os -w -pipe -march=native -Qunused-arguments -mmacosx-version-min=10.8
CPPFLAGS: -isystem /usr/local/include
LDFLAGS: -L/usr/local/lib
MAKEFLAGS: -j8
MACOSX_DEPLOYMENT_TARGET: 10.8
PKG_CONFIG_PATH: /usr/local/Library/Homebrew/pkgconfig
OBJC: /usr/bin/clang
PATH: /usr/local/sbin:/bin:/usr/sbin:/sbin:/usr/X11/bin:/usr/local/bin:/usr/bin:/opt/X11/bin:/Users/wenleslie/.rvm/bin:/usr/local/Library/Contributions/cmds
Error: Failed executing: ./bootstrap.sh --prefix=/usr/local/Cellar/boost/1.49.0 --libdir=/usr/local/Cellar/boost/1.49.0/lib (boost.rb:89)
This may help you fix or report the issue if `brew doctor` does not:
https://github.com/mxcl/homebrew/wiki/bug-fixing-checklist
@googya
Copy link
Copy Markdown
Author

googya commented Sep 7, 2012

是由于安装了go的缘故

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment