Comment 2 for bug 573100

Revision history for this message
Vadim Tkachenko (vadim-tk) wrote : Re: [Bug 573100] Re: Can't compile 5.1.46

Yasufumi,

I followed steps from README.txt but I execute BUILD/autorun.sh

If I do not execute autorun.sh then
I can't run ./configure, it fails with error that it can't
understand "--without-plugin-innobase --with-plugin-innodb_plugin" parameters.

On Sat, May 1, 2010 at 3:43 PM, Yasufumi Kinoshita
<email address hidden> wrote:
> Did you "configure" correctly?
> Or did you change timestamp of files and break dependency of autoconf files?
> Don't execute autoconf. It patches configure file directly only.
>
> If the system has "strsep()", configure script defines HAVE_STRSEP and
> the part should be skipped.
>
> Please put all of your build procedure.
>
> I intend simple as bellow.
>
> 1. untar mysql-5.1.xx.tar.gz
> 2. cd mysql-5.1.xx
> 3. (cd 5.1.xx; cat `cat series` ) | patch -p1
> 4. export env and ./configure and make   as you want
>
> --
> Can't compile 5.1.46
> https://bugs.launchpad.net/bugs/573100
> You received this bug notification because you are a member of Percona
> developers, which is the registrant for Percona Server.
>
> Status in Percona Server with XtraDB: Triaged
>
> Bug description:
> sql_show.cc: In function ‘char* strsep(char**, const char*)’:
> sql_show.cc:94: error: ‘char* strsep(char**, const char*)’ was declared ‘extern’ and later ‘static’
> /usr/include/string.h:350: error: previous declaration of ‘char* strsep(char**, const char*)’
>
> CentOS 5.4
>
>
>
>
>

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