Comment 12 for bug 681789

Revision history for this message
Vadim Tkachenko (vadim-tk) wrote : Re: [Bug 681789] Re: utils/build.sh does not work in plugin mode

if you build "xtradb" mode it is to use with InnoDB-plugin.
If you are looking to backup regular InnoDB, you should build "5.1" mode.

On Tue, Nov 30, 2010 at 11:40 AM, Stefan Priebe
<email address hidden> wrote:
> Should this also be used for inbuild innodb plugin?
>
> --
> utils/build.sh does not work in plugin mode
> https://bugs.launchpad.net/bugs/681789
> You received this bug notification because you are a member of Percona
> developers, which is the registrant for Percona-XtraBackup.
>
> Status in Open source backup tool for InnoDB and XtraDB: Won't Fix
>
> Bug description:
> Version: xtrabackup 1.4 stable source tarball.
>
> Hello,
>
> as we're using the innodb plugin i wanted to build xtrabackup with plugin option using the provided utils/build.sh script.
>
> But then i'm resulting in:
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../include -I../../include -I../../include -I../../regex -I./include -I../../sql -I. -I../../zlib -DMYSQL_DYNAMIC_PLUGIN -g -DUNIV_LINUX -DUNIV_LINUX -MT ha_innodb_plugin_la-fil0fil.lo -MD -MP -MF .deps/ha_innodb_plugin_la-fil0fil.Tpo -c fil/fil0fil.c  -fPIC -DPIC -o .libs/ha_innodb_plugin_la-fil0fil.o
> fil/fil0fil.c: In function 'fil_open_single_table_tablespace':
> fil/fil0fil.c:3005: error: 'pars_info_t' undeclared (first use in this function)
> fil/fil0fil.c:3005: error: (Each undeclared identifier is reported only once
> fil/fil0fil.c:3005: error: for each function it appears in.)
> fil/fil0fil.c:3005: error: 'info' undeclared (first use in this function)
> fil/fil0fil.c: In function 'fil_space_for_table_exists_in_mem':
> fil/fil0fil.c:3799: error: 'pars_info_t' undeclared (first use in this function)
> fil/fil0fil.c:3799: error: 'info' undeclared (first use in this function)
> make[2]: *** [ha_innodb_plugin_la-fil0fil.lo] Error 1
> make[2]: Leaving directory `/xtrabackup-1.4/mysql-5.1.46/storage/innodb_plugin'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/xtrabackup-1.4/mysql-5.1.46/storage'
> make: *** [all-recursive] Error 1
>
> Stefan
>
>
>

--
Vadim Tkachenko, CTO, Percona Inc.
Phone +1-888-401-3403,  Skype: vadimtk153
Schedule meeting: http://tungle.me/VadimTkachenko