0

我想在我新安装的 mac os x 山狮上安装 boost。

我已经下载了 boost_1_53_0 并遵循了我能找到的每一个指南的每一步,但我一直以同样的错误结束:"Failed to build Boost.Build build engine".

它甚至不会构建,甚至找不到要安装的 ./b2 ..

有没有人可以在这里帮助我并告诉我如何在不使用macports的情况下安装boost?

引导程序日志:

###
### 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
4

1 回答 1

2

使用 Homebrew(或查看Homebrew 的构建方式

然后brew install boost

于 2013-09-22T09:37:47.160 回答