问答详情
源自:4-1 LAMP之安装Mysql

cmake编译有错误啊!

CMake Error at cmake/boost.cmake:100 (MESSAGE):

  You can download it with -DDOWNLOAD_BOOST=1 -DWITH_BOOST=<directory>


  This CMake script will look for boost in <directory>.  If it is not there,

  it will download and unpack it (in that directory) for you.


  If you are inside a firewall, you may need to use an https proxy:


  export https_proxy=http://example.com:80


Call Stack (most recent call first):

  cmake/boost.cmake:288 (COULD_NOT_FIND_BOOST)

  CMakeLists.txt:671 (INCLUDE)


提问者:qq_开飞机的小鸟_0 2018-04-21 16:29

个回答

  • Jartin
    2018-04-22 03:07:10
    已采纳

    源码包应该下错了 应该下载的是https://dev.mysql.com/downloads/file/?id=476474 这个路径下的源码安装包

    下载完成之后 还可能出现cmake版本过低的问题

    更新cmake网络上暂时没有好的方案

    至于终极解决方案 建议参考如下链接

    https://www.centoschina.cn/server/sql/mysql/9204.html

  • affgroupcn_0
    2018-09-12 13:44:54

    我在编译安装也是一样的问题,我按照但是还没有解决