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

Install headers required to build external storage plugins

    Details

    • Type: Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Fix Version/s: 5.5.24, 5.3.7
    • Component/s: None
    • Labels:
      None

      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.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

              Hide
              pprkut Heinz Wiesinger added a comment -

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

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

              Show
              pprkut Heinz Wiesinger added a comment - This seems to be related as well, although it proposes a different solution (I think). https://bugs.launchpad.net/maria/+bug/470580
              Hide
              serg Sergei Golubchik added a comment -

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

              Show
              serg Sergei Golubchik added a comment - pushed to lp:~maria-captains/ourdelta/ourdelta-montyprogram-fixes/ so all new deb builds will have it

                People

                • Assignee:
                  serg Sergei Golubchik
                  Reporter:
                  pprkut Heinz Wiesinger
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Time Tracking

                    Estimated:
                    Original Estimate - 0 minutes
                    0m
                    Remaining:
                    Remaining Estimate - 0 minutes
                    0m
                    Logged:
                    Time Spent - 1 day, 5 hours, 40 minutes
                    1d 5h 40m