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

mroonga storage engine fails to find LZ4

    XMLWordPrintable

Details

    Description

      Trying to build the Mroonga storage engine with MariaDB 10.0.21 CMake is able to detect the presence of LZ4 but it doesn't use the header path (from the pkg-config file) to find the header (and make sure to use the library path when linking)thus the build fails...

      /home/ports/pobj/mariadb-10.0.21/mariadb-10.0.21/storage/mroonga/vendor/groonga/lib/store.c:1231:17: warning: lz4.h: No such file or directory
      /home/ports/pobj/mariadb-10.0.21/mariadb-10.0.21/storage/mroonga/vendor/groonga/lib/store.c: In function 'grn_ja_ref_lz4':
      /home/ports/pobj/mariadb-10.0.21/mariadb-10.0.21/storage/mroonga/vendor/groonga/lib/store.c:1255: warning: implicit declaration of function 'LZ4_decompress_safe'
      /home/ports/pobj/mariadb-10.0.21/mariadb-10.0.21/storage/mroonga/vendor/groonga/lib/store.c: In function 'grn_ja_put_lz4':
      /home/ports/pobj/mariadb-10.0.21/mariadb-10.0.21/storage/mroonga/vendor/groonga/lib/store.c:1378: error: 'LZ4_MAX_INPUT_SIZE' undeclared (first use in this function)
      /home/ports/pobj/mariadb-10.0.21/mariadb-10.0.21/storage/mroonga/vendor/groonga/lib/store.c:1378: error: (Each undeclared identifier is reported only once
      /home/ports/pobj/mariadb-10.0.21/mariadb-10.0.21/storage/mroonga/vendor/groonga/lib/store.c:1378: error: for each function it appears in.)
      /home/ports/pobj/mariadb-10.0.21/mariadb-10.0.21/storage/mroonga/vendor/groonga/lib/store.c:1385: warning: implicit declaration of function 'LZ4_compressBound'
      /home/ports/pobj/mariadb-10.0.21/mariadb-10.0.21/storage/mroonga/vendor/groonga/lib/store.c:1391: warning: implicit declaration of function 'LZ4_compress'

      Attachments

        Activity

          People

            Unassigned Unassigned
            brad0 Brad Smith
            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.