Uploaded image for project: 'MariaDB MaxScale'
  1. MariaDB MaxScale
  2. MXS-695

MaxScale does not build on Debian 8 following build from source instructions

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.4.1
    • Fix Version/s: 2.0.0
    • Component/s: build
    • Labels:
      None
    • Environment:
      Debian 8.3
    • Sprint:
      2016-10

      Description

      Fails to build with the default MaxScale code, but this is the develop branch. The default branch should be master.

      With master branch selected, cmake fails:

      – RabbitMQ library not found.
      – Found OpenSSL: /usr/lib/x86_64-linux-gnu/libssl.so;/usr/lib/x86_64-linux-gnu/libcrypto.so (found version "1.0.1k")
      – Valgrind not found.
      – Dynamic MySQL client library not found.
      – Static MySQL client library not found.
      CMake Error at cmake/FindMySQL.cmake:11 (message):
      Cannot find the mysql_version.h header
      Call Stack (most recent call first):
      CMakeLists.txt:37 (find_package)

      – Configuring incomplete, errors occurred!
      See also "/root/MaxScale/build/CMakeFiles/CMakeOutput.log".
      See also "/root/MaxScale/build/CMakeFiles/CMakeError.log".

      Command used for cmake:
      cmake .. -DMYSQL_EMBEDDED_INCLUDE_DIR=/root/mariadb-10.0.24-linux-x86_64/include/mysql -DMYSQL_EMBEDDED_LIBRARIES=/root/mariadb-10.0.24-linux-x86_64/lib/libmysqld.a -DERRMSG=/root/mariadb-10.0.24-linux-x86_64/share/english/errmsg.sys -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_TESTS=Y

      Unclear why mysql_version.h cannot be found, as it is shown to be at:
      root@debian8:~/MaxScale/build# locate mysql_version.h
      /root/mariadb-10.0.24-linux-x86_64/include/mysql/mysql_version.h

      which is the given include directory.

        Attachments

          Activity

            People

            Assignee:
            markus makela markus makela
            Reporter:
            martin brampton martin brampton (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: