Red Hat Enterprise Linux Server release 5.9 (Tikanga)
[root@testdb /etc]
#uname -a
Linux testdb 2.6.39-300.26.1.el5uek #1 SMP Thu Jan 3 18:31:38 PST 2013 x86_64 x86_64 x86_64 GNU/Linux
[root@testdb /etc]
[root@testdb /backup/mysql/mysql-5.7.9]
#cmake --version
cmake version 3.4.1
CMake suite maintained and supported by Kitware (kitware.com/cmake).
[root@testdb /backup/mysql/mysql-5.7.9]
#cmake \
> -DCMAKE_INSTALL_PREFIX=/app/mysql/5.7.9 \
> -DINSTALL_DATADIR=/app/mysql/5.7.9/data \
> -DDEFAULT_CHARSET=utf8 \
> -DDEFAULT_COLLATION=utf8_general_ci \
> -DEXTRA_CHARSETS=all \
> -DWITH_SSL=yes \
> -DWITH_EMBEDDED_SERVER=1 \
> -DENABLED_LOCAL_INFILE=1 \
> -DWITH_MYISAM_STORAGE_ENGINE=1 \
> -DWITH_INNOBASE_STORAGE_ENGINE=1 \
> -DWITH_ARCHIVE_STORAGE_ENGINE=1 \
> -DWITH_BLACKHOLE_STORAGE_ENGINE=1 \
> -DWITH_FEDERATED_STORAGE_ENGINE=1 \
> -DWITH_PARTITION_STORAGE_ENGINE=1 \
> -DMYSQL_UNIX_ADDR=/app/mysql/5.7.9/run/mysql.sock \
> -DMYSQL_TCP_PORT=3306 \
> -DENABLED_LOCAL_INFILE=1 \
> -DSYSCONFDIR=/etc \
> -DWITH_READLINE=on
-- Running cmake version 3.4.1
-- Could NOT find Git (missing: GIT_EXECUTABLE)
-- Configuring with MAX_INDEXES = 64U
-- The C compiler identification is GNU 4.1.2
-- The CXX compiler identification is GNU 4.1.2
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
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 "/backup/mysql/mysql-5.7.9/CMakeFiles/CMakeOutput.log".
[root@testdb /backup/mysql/mysql-5.7.9]
2 个解决方案
#1
我也遇到了同样的问题,就在今天! 哎....
#2
人呢? 怎么没有大神回答呢?
#1
我也遇到了同样的问题,就在今天! 哎....
#2
人呢? 怎么没有大神回答呢?