如何升级boost到指定版本?

如何升级boost到指定版本?

我想在CentOS7.2(1511)中将boost升级到1.59:

因为我cmake我的mysql源代码,出现了错误:

CMake Warning at cmake/boost.cmake:266 (MESSAGE):
  Boost minor version found is 53 we need 59
Call Stack (most recent call first):
  CMakeLists.txt:491 (INCLUDE)

我尝试使用:

yum install boost-1.59.0

但失败了:

[root@localhost ~]# yum install boost-1.59.0
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirrors.cn99.com
 * extras: mirrors.cn99.com
 * updates: mirrors.shuosc.org
No package boost-1.59.0 available.

编辑

我的操作系统版本是CentOS7.2(1511).

相关内容