Skip to content

Build & install Boost 1.50 in CentOS (CentOS5.2 & 6.3 are both verified)

Jake Naviasky edited this page Jun 27, 2014 · 2 revisions

Verified Boost1.50 is more like a must to have for HHVM build in CentOS5.2/6.3.

Before you build the boost, please set your HHVM env., like CMAKE_PREFIX_PATH.

tar -zxvf boost_1_50_0.tar.gz

cd boost_1_50_0/

./bootstrap.sh --prefix=$CMAKE_PREFIX_PATH --libdir=$CMAKE_PREFIX_PATH/lib

sudo ./bjam --layout=system install

export Boost_LIBRARYDIR=$CMAKE_PREFIX_PATH/include/boost/