简体   繁体   English

在mac os x mountain lion上安装boost_1_53_0

[英]install boost_1_53_0 on mac os x mountain lion

I want to install boost on my freshly installed mac os x mountain lion. 我想在新安装的mac os x mountain lion上安装boost。

I've downloaded boost_1_53_0 and followed every step of every guides I could find but I keep ending with the same error which is: "Failed to build Boost.Build build engine" . 我已经下载了boost_1_53_0并按照我能找到的每个指南的每一步,但我仍然以相同的错误结束: "Failed to build Boost.Build build engine"

It won't even build and can't even find ./b2 to install.. 它甚至不会构建,甚至无法找到./b2来安装..

Is there anyone who could help me out here and tell me how to install boost without using macports? 有没有人可以帮助我在这里告诉我如何安装提升而不使用macports?

bootstrap.log: BOOTSTRAP.LOG:

###
### Using 'darwin' toolset.
###
rm -rf bootstrap
mkdir bootstrap
cc -o bootstrap/jam0 command.c compile.c constants.c debug.c function.c glob.c hash.c hdrmacro.c headers.c jam.c jambase.c jamgram.c lists.c make.c make1.c object.c option.c output.c parse.c pathunix.c regexp.c rules.c scan.c search.c subst.c timestamp.c variable.c modules.c strings.c filesys.c builtins.c pwd.c class.c native.c md5.c w32_getreg.c modules/set.c modules/path.c modules/regex.c modules/property-set.c modules/sequence.c modules/order.c execunix.c fileunix.c
./build.sh: line 15: cc: command not found

Use Homebrew (or see Homebrew's building way ) 使用Homebrew(或参见Homebrew的建筑方式

then brew install boost 然后brew install boost

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM