[MDEV-207] Install headers required to build external storage plugins Created: 2012-03-30  Updated: 2012-10-10  Resolved: 2012-05-04

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

Type: Task Priority: Minor
Reporter: Heinz Wiesinger Assignee: Sergei Golubchik
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Duplicate
duplicates MDEV-789 LP:470580 - Patch to create an includ... Closed

 Description   

Currently one needs the pre-configured source available to build a storage plugin that's not included in MariaDB. For distribution purposes of those external storage plugins that is not really beneficial, since it most always involves shipping a custom, matching MariaDB package as well.

This can be worked around by installing the necessary headers manually to include them in the MariaDB package (which is what is done in the Slackware package for MySQL and in my SlackBuild script for MariaDB), but that's a distribution specific solution and IMHO would be much better solved upstream.

The corresponding MySQL Bug is: http://bugs.mysql.com/bug.php?id=44722


The approach taken:

  • Install some extra headers that are needed for out-of-tree build in
    /usr/include/mysql/private. In .deb put these in a separate package.
  • Out-of-tree builder is still responsible for setting same value of options
    like DBUG, SAFEMALLOC, and SAFE_MUTEX.


 Comments   
Comment by Heinz Wiesinger [ 2012-04-02 ]

This seems to be related as well, although it proposes a different solution (I think).

https://bugs.launchpad.net/maria/+bug/470580

Comment by Sergei Golubchik [ 2012-04-30 ]

pushed to lp:~maria-captains/ourdelta/ourdelta-montyprogram-fixes/
so all new deb builds will have it

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