CMake Error at storage/tokudb/PerconaFT/cmake_modules/TokuSetupCompiler.cmake:180 (message):
/usr/bin/c++ doesn't support -std=c++11 or -std=c++0x, you need one that
does.
Call Stack (most recent call first):
storage/tokudb/PerconaFT/CMakeLists.txt:35 (include)
-- Configuring incomplete, errors occurred!
See also "/server/src/mariadb-10.1.11/CMakeFiles/CMakeOutput.log".
See also "/server/src/mariadb-10.1.11/CMakeFiles/CMakeError.log".
[root@localhost mariadb-10.1.11]# c++ -v
使用内建 specs 。
COLLECT_GCC=c++
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/5.1.1/lto-wrapper
目标: x86_64-redhat-linux
配置为:../configure --enable-bootstrap --enable-languages=c,c++,objc,obj-c++,fortran,ada,go,lto --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-shared --enable-threads=posix --enable-checking=release --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-linker-hash-style=gnu --enable-plugin --enable-initfini-array --disable-libgcj --with-isl --enable-libmpx --enable-gnu-indirect-function --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux
线程模型: posix
gcc 版本 5.1.1 20150618 (Red Hat 5.1.1-4) (GCC)
编译不过去
1
FifiLyu 2016-02-06 21:27:44 +08:00
为什么要编译?直接 yum 都行。
没特殊需求,不需要自己打补丁就不要自己编译。这个是自己折磨自己。 |
2
FifiLyu 2016-02-06 21:29:21 +08:00
Installing MariaDB 10 on CentOS 7 / RHEL 7
https://mariadb.com/blog/installing-mariadb-10-centos-7-rhel-7 |