V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
hellokittyer
V2EX  ›  问与答

centos7 编译 mariadb10.1 故障了

  •  
  •   hellokittyer · 2016-02-06 20:59:43 +08:00 · 1922 次点击
    这是一个创建于 3018 天前的主题,其中的信息可能已经有所发展或是发生改变。
    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)
    

    编译不过去

    2 条回复    2016-02-06 21:29:21 +08:00
    FifiLyu
        1
    FifiLyu  
       2016-02-06 21:27:44 +08:00
    为什么要编译?直接 yum 都行。
    没特殊需求,不需要自己打补丁就不要自己编译。这个是自己折磨自己。
    FifiLyu
        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
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   6425 人在线   最高记录 6547   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 02:17 · PVG 10:17 · LAX 19:17 · JFK 22:17
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.