cmake 为什么没反应

来源:4-1 LAMP之安装Mysql

慕粉4233525

2017-03-26 23:28

cmake 为什么没反应

写回答 关注

3回答

  • 积极废人求生存
    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


    慕粉4203...

    昨天一开始yum重新安装了boost_1_59_0,但是显示不成功,仔细看才发现yum安装显示的最新版本是1.4的,所以网上下载了个boost_1_59_0,已经可以成功编译MySQL了,现在等编译完成安装。

    2017-03-29 09:49:22

    共 1 条回复 >

PHP环境LAMP/LNMP安装与配置

本课程适于PHP初学者,手把手教你LAMP/LNMP环境安装配置

45306 学习 · 224 问题

查看课程

相似问题