• Mysql 5.7.9 cmake boost.cmake 处理


    环境Centos 6.7 x64 mininal 

     今天突然编译Mysql 5.7.9 按之前的cmake .的方式 发现报错了..提示 需要boost

    -- BOOST_INCLUDE_DIR /usr/include
    -- LOCAL_BOOST_DIR 
    -- LOCAL_BOOST_ZIP 
    -- Could not find (the correct version of) boost.
    -- MySQL currently requires boost_1_59_0
    
    CMake Error at cmake/boost.cmake:76 (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 http proxy:
    
      export http_proxy=http://example.com:80
    
    Call Stack (most recent call first):
      cmake/boost.cmake:259 (COULD_NOT_FIND_BOOST)
      CMakeLists.txt:435 (INCLUDE)
    
    
    -- Configuring incomplete, errors occurred!
    See also "/tmp/mysql-5.7.9/CMakeFiles/CMakeOutput.log".

    提示缺少boost..

    其实下边有提示.自己安装.或者cmake自动下载...

    我就是用了yum 安装boost ..

    结果版本太低

    还是使用提示的方法

    cmake . -DDOWNLOAD_BOOST=1 -DWITH_BOOST=/tmp
  • 相关阅读:
    初识HTML
    CSS字体
    CSS层叠
    CSS选择器
    DOM一致性检测
    javascript中关于value的一个小知识点(value既是属性也是变量)
    IE浏览器下常见的CSS兼容问题
    haslayout详解
    去除IE6浏览器下获得焦点的元素的虚线框的两个小办法
    引入CSS
  • 原文地址:https://www.cnblogs.com/idnf/p/5004847.html
Copyright © 2020-2023  润新知