Percona Server with XtraDB

Can't compile 5.1.46

Reported by Vadim Tkachenko on 2010-05-01
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona Server
Critical
Unassigned

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

description: updated
Changed in percona-server:
status: New → Triaged
importance: Undecided → Critical
assignee: nobody → Yasufumi Kinoshita (yasufumi-kinoshita)
milestone: none → 5.1.46-rel10.1

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

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

Changed in percona-server:
status: Triaged → Fix Committed
Changed in percona-server:
milestone: 5.1.46-rel11 → 11.0
Changed in percona-server:
milestone: 11.0-old → 11.0
Changed in percona-server:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers