Homebrew - Boost未能在10.10.5优胜美地上建立布局=系统和--build-from-source

时间:2015-09-25 20:45:02

标签: c++ boost homebrew osx-yosemite

我正在尝试从Homebrew构建Boost库。我使用layout = system来获取未标记的构建(基于this stackoverflow post),但构建不会通过。错误消息如下:

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.

以下是homebrew generated gist的链接。提前谢谢。

1 个答案:

答案 0 :(得分:0)

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

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