Uploaded image for project: 'MariaDB Connector/C++'
  1. MariaDB Connector/C++
  2. CONCPP-77

connector c++ is not buildable with rhel7, sles12

    XMLWordPrintable

Details

    • Task
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • None
    • N/A
    • General
    • None
    • sles12, rhel7

    Description

      Connector c++ requires GCC 4.9, but sles12 and rhel7 have 4.8.
      Is 4.9 really needed?

      the error message is confusing - "GCC versin >4.8 is required" - build error in rhel7 happens, but does not clarify the situation (rhel7 has gcc 4.8.5)

      changing https://github.com/mariadb-corporation/mariadb-connector-cpp/blob/master/CMakeLists.txt#L29 4.9 -> 4.8 fixes the problem

      also the condition:

      IF(CMAKE_COMPILER_IS_GNUCC AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS 4.9)
      

      does not work if compiler is not gnucc and does not check its version.

      Attachments

        Activity

          People

            Lawrin Lawrin Novitsky
            tturenko Timofey Turenko
            Votes:
            0 Vote for this issue
            Watchers:
            5 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.