← Back to team overview

maria-discuss team mailing list archive

Re: Excluding plugins when building MariaDB 10.1

 

Hi, Kolbe!

On Sep 04, Kolbe Kegel wrote:
> On Sep 3, 2014, at 11:20 PM, Sergei Golubchik <serg@xxxxxxxxxxx> wrote:
> > On Sep 03, Kolbe Kegel wrote:
> >> 
> >> I'm trying to build MariaDB 10.1 on OS X.
> >> 
> >> cmake ../server/ -DBUILD_CONFIG=mysql_release -DWITH_SSL=system -DCMAKE_CXX_FLAGS:STRING='-stdlib=libstdc++' -DPLUGIN_TOKUDB=NO -DPLUGIN_OQGRAPH=NO -DWITH_EMBEDDED_SERVER:BOOL=OFF -DWITH_WSREP=OFF
> >> 
> >> The build is failing on tokudb code even though I am trying to
> >> avoid building the TokuDB plugin. What gives?
> > 
> > What MariaDB version do you have?
> 
> I was building a very recent github pull of MariaDB 10.1.
> 
> commit d161546b67142cdd5322a4ed160441045ae0cd1e
> Author: Sergei Petrunia <psergey@xxxxxxxxxxxx>
> Date:   Thu Sep 4 01:12:49 2014 +0400
> 
> > I've just tried this exactly command line on OSX on 10.1 - worked as
> > expected, TokuDB was not built.
> 
> How strange...
> 
> I used -DWITHOUT_TOKUDB=1 as suggested by Kristian, and that built OK,
> but -DPLUGIN_TOKUDB=NO doesn't seem to be doing the trick.

Yes, old WITH_xxx/WITHOUT_xxx variables are still supported.
They're internally converted to PLUGIN_xxx values.
But PLUGIN_xxx should work on their own too.

> I have cmake 3.0.1, in case that's relevant.

Yes, that's it. I only tried with 2.8.12.2.
Now, with 3.0.1 I can repeat this too, thanks.

Regards,
Sergei


References