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

cmake 为什么没反应

cmake 为什么没反应

提问者:慕粉4233525 2017-03-26 23:28

个回答

  • 积极废人求生存
    2017-04-05 21:34:45

    我的也是  cmake 没反应啊,就是一直在那不动,其他的相应的工具,也都安装了,除了 per_Data-Dumper,

    怎么解决啊

  • JackWho
    2017-04-05 13:35:35

      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.


  • 慕粉4203582
    2017-03-28 16:16:10

    cmake \

     > -DCMAKE_INSTALL_PREFIX=/usr/local/mysql \

    > -DDEFAULT_CHARSET=utf8 \ 

    按两次回车即可(这里老师没说清楚)。你的全程按讲师说的做应该没问题。

    我的因为很多版本不一样。执行后出错了,关了防火墙,重新安装了boost_1_59_0也没用,还请大神出马。

    CMake Error at cmake/boost.cmake:81 (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:269 (COULD_NOT_FIND_BOOST)

      CMakeLists.txt:455 (INCLUDE)



    -- Configuring incomplete, errors occurred!

    See also "/root/mysql-5.7.17/CMakeFiles/CMakeOutput.log".

    See also "/root/mysql-5.7.17/CMakeFiles/CMakeError.log".

    [root@localhost mysql-5.7.17]# service iptables start