centos7 编译 mariadb10.1 故障了

2016-02-06 20:59:43 +08:00
 hellokittyer
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)

编译不过去

1923 次点击
所在节点    问与答
2 条回复
FifiLyu
2016-02-06 21:27:44 +08:00
为什么要编译?直接 yum 都行。
没特殊需求,不需要自己打补丁就不要自己编译。这个是自己折磨自己。
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

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/255690

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX