V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
hellokittyer
V2EX  ›  问与答

centos7 编译 mariadb10.1 故障了

  •  
  •   hellokittyer · Feb 6, 2016 · 2243 views
    This topic created in 3741 days ago, the information mentioned may be changed or developed.
    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 replies    2016-02-06 21:29:21 +08:00
    mN71eOOprFyMsnPx
        1
    mN71eOOprFyMsnPx  
       Feb 6, 2016
    为什么要编译?直接 yum 都行。
    没特殊需求,不需要自己打补丁就不要自己编译。这个是自己折磨自己。
    mN71eOOprFyMsnPx
        2
    mN71eOOprFyMsnPx  
       Feb 6, 2016
    Installing MariaDB 10 on CentOS 7 / RHEL 7

    https://mariadb.com/blog/installing-mariadb-10-centos-7-rhel-7
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   921 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 40ms · UTC 18:32 · PVG 02:32 · LAX 11:32 · JFK 14:32
    ♥ Do have faith in what you're doing.