Compiling and Installing Boost 1.53


Referenced from Cufflinks – Get started

Step 1 – Download Boost from Boost Website

Step 2 – Unpack the boost

# tar -zxvf boost_1_53_0.tar.gz

Step 3 – Run Bootstrap.sh

# ./bootstrap.sh
Building Boost.Build engine with toolset gcc...
.....

Step 4 – Run the binary b2

# ./b2 install --prefix=/usr/local/boost

It will take a while……

Step 5: Test that the compilation is working.

Compile the test case.

# cd $BOOST_ROOT/boost_1_53_0/tools/build/v2/example/hello
# $BOOST_ROOT/b2

You should see a binary file “hello” at

# $BOOST_ROOT/boost_1_53_0/tools/build/v2/example/hello/bin/gcc-4.4.6/debug
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s