Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-33815

Failed to build MariaDB server 11.5 on Ubunut 23.04 and older

    XMLWordPrintable

Details

    Description

      When I tried to build a MariaDB 11.5 server according your documentation here:

      https://mariadb.com/kb/en/get-build-and-test-latest-mariadb-the-lazy-way/

      I get this error:

      CMake Error at /usr/share/cmake-3.25/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
        Could NOT find GnuTLS (missing: GNUTLS_LIBRARY GNUTLS_INCLUDE_DIR)
        (Required is at least version "3.3.24")
      Call Stack (most recent call first):
        /usr/share/cmake-3.25/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
        /usr/share/cmake-3.25/Modules/FindGnuTLS.cmake:68 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
        libmariadb/CMakeLists.txt:335 (FIND_PACKAGE)

      After installing this package:

      apt install libgnutls28-dev
      

      cmake worked without an error.

      So I assume there is a missing dependency in mariadb-server. Or at least you should fix the docu.

      Attachments

        Activity

          People

            serg Sergei Golubchik
            oli Oli Sennhauser
            Votes:
            0 Vote for this issue
            Watchers:
            3 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.