Bug #50267 no ibmdb2 plugin by configure --with-plugin_ibmdb2i (or --with-plugins=ibmdb2i)
Submitted: 12 Jan 2010 9:47 Modified: 12 Jan 2010 10:22
Reporter: Martijn Ras Email Updates:
Status: Unsupported Impact on me:
None 
Category:MySQL Server: Compiling Severity:S2 (Serious)
Version:5.1.42 OS:Linux
Assigned to: CPU Architecture:Any
Tags: ibmdb2i

[12 Jan 2010 9:47] Martijn Ras
Description:
With configure --with-plugin_ibmdb2i or --with-plugins=ibmdbi the plugin is not build.

The storage/Makefile seems incorrectly configured:

$ cat storage/Makefile
...
CONF_COMMAND = ./configure ... '--with-plugin_ibmdb2i' ...
...
plugin_ibmdb2i_shared_target =
plugin_ibmdb2i_static_target =
...

I'm trying to find the cause and will send a patch as soon as i find the culprit.

How to repeat:
1. ./configure --with-plugin_ibmdb2i (or --with-plugins=ibmdb2i)
2. make
3. Notice nothing build in storage/ibmdb2i directory and the targets missing in storage/Makefile

Suggested fix:
The automagic needs to properly set everything ... not sure which part is the culprit
[12 Jan 2010 9:59] Sveta Smirnova
Thank you for the report.

You report about failure to build ibmdb2i plugin, but OS set to Linux. Are you trying to build this plugin on Linux or just made a typo?
[12 Jan 2010 10:06] Martijn Ras
That's no typo, I really want to use this on a linux platform.

At the moment i'm using a bunch of scripts for copying data from the ibmdb2i system into the mysql system and vice versa.

Currently only two tables need to be copied from the mysql system to the ibmdb2i system, a lot more will soon also need to be copied. Just copying the two generates synchronisation errors, so i want to use the ibmdb2i plugin to replace the scripts and circumvent the synchronisation issues altogether.
[12 Jan 2010 10:22] Sveta Smirnova
Thank you for the feedback.

This storage engine is not supported on Linux. See http://dev.mysql.com/doc/refman/5.1/en/se-db2-installation.html for details.