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

-- Running cmake version 3.7.2 -- Could NOT find Git (missing: GIT_EXECUTABLE) -- Configuring with MAX_INDEXES = 64U CMake Error at cmake/os/Linux.cmake:28 (MESSAGE): GCC 4.4 or newer is required! Call Stack (most recent call first): CMakeLists.txt:

-- Could NOT find Git (missing:  GIT_EXECUTABLE) 

-- Configuring with MAX_INDEXES = 64U

CMake Error at cmake/os/Linux.cmake:28 (MESSAGE):

  GCC 4.4 or newer is required!

Call Stack (most recent call first):

  CMakeLists.txt:162 (INCLUDE)



-- Configuring incomplete, errors occurred!

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


提问者:Perfect4397979 2017-02-07 21:54

个回答

  • wwhu668
    2017-02-08 04:03:38

    gcc版本过低

    需要GCC 4.4或更高版本

    sudo yum install gcc