Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How To Update Boost When Yum Has the Outdated Version

I am trying to install the latest version of Gearman. However, it keeps giving me the error:

Checking for Boost Headers version >= 1.37... no

When I check my Boost version (yum list installed | grep boost), all the versions are 1.33. The latest Boost version is 1.46, but it seems CentOS does not have this version in their repositories.

Is there any way to get around yum to update Boost to the latest version?

like image 998
Aaron Marks Avatar asked Apr 05 '11 22:04

Aaron Marks


3 Answers

You could try and build it from source or add a repo that has the latest boost distro to your yum repos.

like image 52
decimus phostle Avatar answered Oct 20 '22 15:10

decimus phostle


Download and install earlier versions of Boost from this page: http://www.boost.org/users/history/

Or follow "Ben's" instructions here:

http://ben-tech.blogspot.com/2013/06/build-boost-for-impala-in-centos-63.html

like image 2
Wes Floyd Avatar answered Oct 20 '22 14:10

Wes Floyd


What I did with this is to issue a

rpm -ql boost-devel and rpm -ql boost146-devel

mv /usr/include/boost146/boost /usr/include/boost`
cd /usr/lib/boost/
mv * /usr/lib/

Note: just replace the filenames if yours is different

like image 1
Aivan Monceller Avatar answered Oct 20 '22 14:10

Aivan Monceller