Uploaded image for project: 'MariaDB ColumnStore'
  1. MariaDB ColumnStore
  2. MCOL-504

CMake Error at storage/tokudb/PerconaFT/cmake_modules/TokuSetupCompiler.cmake:177 (message):

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Not a Bug
    • Affects Version/s: 1.0.6
    • Fix Version/s: Icebox
    • Component/s: Build
    • Labels:
      None
    • Environment:
      OS:centos7 3.10.0-327.36.3.el7.x86_64
      gcc:4.8.5
    • Sprint:
      2017-01

      Description

      CMake Error at storage/tokudb/PerconaFT/cmake_modules/TokuSetupCompiler.cmake:177 (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:38 (include)

      storage/tokudb/PerconaFT/cmake_modules/TokuSetupCompiler.cmake's Line 177 is check_cxx_compiler_flag error.
      As if it was modified above. So cmake process is continued.
      I think it has something wrong in check_cxx_compiler_flag.

      1. pick language dialect
        set(CMAKE_C_FLAGS "-std=c99 ${CMAKE_C_FLAGS}")
        check_cxx_compiler_flag(-std=c++11 HAVE_STDCXX11)
        check_cxx_compiler_flag(-std=c++0x HAVE_STDCXX0X)
        if (HAVE_STDCXX11)
        set(CMAKE_CXX_FLAGS "-std=c++11 ${CMAKE_CXX_FLAGS}")
        elseif (HAVE_STDCXX0X)
        set(CMAKE_CXX_FLAGS "-std=c++0x ${CMAKE_CXX_FLAGS}")
        else ()
        set(CMAKE_CXX_FLAGS "-std=c++11 ${CMAKE_CXX_FLAGS}")
        ##message(FATAL_ERROR "${CMAKE_CXX_COMPILER} doesn't support -std=c+11 or -std=c+0x, you need one that does.")
        endif ()

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              LinuxJedi Andrew Hutchings (Inactive)
              Reporter:
              cherio1970 Masaaki Yoshikawa
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.