zoukankan      html  css  js  c++  java
  • 在LXC Centos6-moban 编译安装mysql-5.6.36 时候遇见的报错

    在LXC安装Centos6-moban   编译安装mysql-5.6.36
    cmake . -DCMAKE_INSTALL_PREFIX=/application/mysql-5.6.36 -DMYSQL_DATADIR=/application/mysql-5.6.36/data -DMYSQL_UNIX_ADDR=/application/mysql-5.6.36/tmp/mysql.sock -DDEFAULT_CHARSET=utf8 -DDEFAULT_COLLATION=utf8_general_ci -DWITH_EXTRA_CHARSETS=all -DWITH_INNOBASE_STORAGE_ENGINE=1 -DWITH_FEDERATED_STORAGE_ENGINE=1 -DWITH_BLACKHOLE_STORAGE_ENGINE=1 -DWITHOUT_EXAMPLE_STORAGE_ENGINE=1 -DWITH_ZLIB=bundled -DWITH_SSL=bundled -DENABLED_LOCAL_INFILE=1 -DWITH_EMBEDDED_SERVER=1 -DENABLE_DOWNLOADS=1 -DWITH_DEBUG=0
    报错1
    CMake Error at /usr/share/cmake/Modules/TestBigEndian.cmake:44 (message):
      no suitable type found
    Call Stack (most recent call first):
      configure.cmake:721 (TEST_BIG_ENDIAN)
      CMakeLists.txt:407 (INCLUDE)
     
     
    -- Configuring incomplete, errors occurred!
    See also "/data/mysql-5.6.36/CMakeFiles/CMakeOutput.log".
    See also "/data/mysql-5.6.36/CMakeFiles/CMakeError.log".
    解决
    应该是缺失包
    yum install -y git gcc gcc-c++ ncurses-devel bison #mysql缺失的包
    yum install -y perl-devel    ## LXC缺失的包
    报错2
     
     
    CMake Error: The source directory "/data" does not appear to contain CMakeLists.txt.
    Specify --help for usage, or press the help button on the CMake GUI.
    解决
     rm CMakeCache.txt 
    ##这是因为已经编译过而创建的文件
  • 相关阅读:
    owlsuddimatchmaker安装
    类集
    jsp基本语法
    心得思路记录下
    nyoj517 最小公倍数
    poj1250 Tanning Salon
    poj1686 Lazy Math Instructor
    poj3250 Bad Hair Day
    poj1047 Round and Round We Go
    poj2359 Questions
  • 原文地址:https://www.cnblogs.com/dsab/p/8000247.html
Copyright © 2011-2022 走看看