[debian-mysql] Bug#641375: Missing includes to build MySQL storage engine plugins

Clint Byrum clint at ubuntu.com
Tue Sep 13 08:03:48 UTC 2011


Excerpts from Xypron debian's message of Mon Sep 12 18:14:01 -0700 2011:
> Package: libmysqlclient-dev
> Version: 5.1.58-1
> Severity: normal
> 
> The package provides include files for projects based on MySQL.
> 
> Unfortunately it lacks the includes which are needed to
> build storage engine plugins. Some of these includes are:
> 
> #include "thr_lock.h"                           /* THR_LOCK */
> #include "handler.h"                            /* handler */
> #include "table.h"                              /* TABLE_SHARE */
> 

These aren't intended to be accessed from outside the source tree in
5.1. Plugins that need these things must build in-tree. The full build
directory to enable this is available in the 'mysql-source-5.1' binary
package. Take a look at the handlersocket packaging to see how this can
be used.



More information about the pkg-mysql-maint mailing list