C++ 在OS X上安装Boost 1.48.0

C++ 在OS X上安装Boost 1.48.0,c++,macos,boost,C++,Macos,Boost,我正在尝试在OSX上构建并安装Boost1.48.0。 我希望安装boost/usr/local,以便快速构建我的自动工具应用程序 我跑过: $ ./bootstrap.sh --with-libraries=regex $ ./b2 $ ./b2 install 此时boost挂起在: $ ./b2 install Performing configuration checks - has_icu builds : no 然后什么也没有 如何在OSX上安装boost

我正在尝试在OSX上构建并安装Boost1.48.0。 我希望安装boost/usr/local,以便快速构建我的自动工具应用程序

我跑过:

$ ./bootstrap.sh --with-libraries=regex
$ ./b2
$ ./b2 install
此时boost挂起在:

$ ./b2 install
Performing configuration checks

- has_icu builds           : no
然后什么也没有

如何在OSX上安装boost

另外,如果可能的话,我想避开MacPorts和fink


谢谢,乔纳森。

事实证明,这是正确的方法


所需要的只是耐心,现在编译boost可能很快,但安装它似乎不快。

我尝试手动完成,将boost_regex.a文件转换为/usr/local/lib/并将boost regex.hpp文件转换为/usr/local/include/boost,但它抱怨找不到其他hpp文件。有人有什么想法吗?是的,当我用python运行brew安装boost--c++11时,我花了40分钟来构建。