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

LevelDB: Build system must be able to find leveldb library

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      Currently, LevelDB Storage Engine source code has paths to leveldb hardcoded in storage/leveldb/CMakeLists.txt.

      This task is about fixing this. The fix should work like a similar fix for Cassandra Storage Engine: the build system should
      1. check some environment variable
      2. Search for leveldb include/library files in likely locations (like /opt, /usr/local, etc)

      Differences from Cassandra SE's case:

      • the tree is based on MySQL-5.6, not on MariaDB.
      • the storage engine is not built as a shared module.

      The code is at: https://code.launchpad.net/~maria-captains/maria/mysql-5.6-leveldb

      (original complaint is: MDEV-4154. Please close it when this task is closed)

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

              Hide
              jani Jani Tolonen added a comment -

              Fixed in mysql-5.6-leveldb. Added optional environment variables LEVELDB_INCLUDE= and LEVELDB_LIBRARIES= for finding includes and libraries if system cannot autodetect them.

              Show
              jani Jani Tolonen added a comment - Fixed in mysql-5.6-leveldb. Added optional environment variables LEVELDB_INCLUDE= and LEVELDB_LIBRARIES= for finding includes and libraries if system cannot autodetect them.

                People

                • Assignee:
                  jani Jani Tolonen
                  Reporter:
                  psergey Sergei Petrunia
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Time Tracking

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - 0 minutes
                    0m
                    Logged:
                    Time Spent - 1 day
                    1d