[MDEV-4351] LevelDB: Build system must be able to find leveldb library Created: 2013-04-02  Updated: 2013-04-09  Resolved: 2013-04-09

Status: Closed
Project: MariaDB Server
Component/s: None
Fix Version/s: None

Type: Task Priority: Major
Reporter: Sergei Petrunia Assignee: Jani Tolonen
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
PartOf
is part of MDEV-4154 LevelDB storage engine build hardcode... Closed
is part of MDEV-4201 LevelDB Storage Engine MS2 Closed

 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)



 Comments   
Comment by Jani Tolonen [ 2013-04-09 ]

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.

Generated at Thu Feb 08 06:55:45 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.