Homebrew - Boost 无法在 10.10.5 Yosemite 上使用 layout=system 和 --build-from-source 构建

Homebrew - Boost failed to build on 10.10.5 Yosemite with layout=system and --build-from-source

我正在尝试从 Homebrew 构建 Boost 库。我正在使用 layout=system 来获取未标记的构建(基于 ),但构建没有通过。报错信息如下:

error: Name clash for '<p/usr/local/Cellar/boost/1.58.0/lib>libboost_system.dylib'
error: 
error: Tried to build the target twice, with property sets having 
error: these incompatible properties:
error: 
error:     -  <threading>multi
error:     -  <threading>single
error: 
error: Please make sure to have consistent requirements for these 
error: properties everywhere in your project, especially for install
error: targets.

这里是link到homebrew generated gist。提前谢谢你。

我在 Homebrew 存储库上创建了一个问题并很快得到了帮助。我需要使用选项 --without-single.

brew reinstall boost --build-from-source --without-single