Percona-Server-5.1.60-13.1 fails to compile

Bug #914657 reported by Thomas Stein
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona Server moved to https://jira.percona.com/projects/PS
Incomplete
Undecided
Ignacio Nin

Bug Description

Hello.

I get the following error:

make[2]: Entering directory `/usr/src/Percona-Server-5.1.60/client'
if g++ -DMYSQL_CLIENT_NO_THREADS -DDEFAULT_MYSQL_HOME="\"/usr/local\"" -DMYSQL_DATADIR="\"/usr/local/var\"" -I. -I. -I../include -I../include -I../include -I../regex -g -O2 -fno-implicit-templates -fno-exceptions -fno-rtti -MT mysql.o -MD -MP -MF ".deps/mysql.Tpo" -c -o mysql.o mysql.cc; \
then mv -f ".deps/mysql.Tpo" ".deps/mysql.Po"; else rm -f ".deps/mysql.Tpo"; exit 1; fi
mysql.cc:1057:12: error: 'HIST_ENTRY' does not name a type
mysql.cc: In function 'int not_in_history(const char*)':
mysql.cc:2482:3: error: 'HIST_ENTRY' was not declared in this scope
mysql.cc:2482:15: error: 'oldhist' was not declared in this scope
mysql.cc:2482:51: error: 'history_get' was not declared in this scope
mysql.cc: In function 'void initialize_readline(char*)':
mysql.cc:2518:52: error: invalid conversion from 'char** (*)()' to 'char** (*)(const char*, int, int)'
mysql.cc:2519:34: error: invalid conversion from 'int (*)(const char*, int)' to 'char* (*)(const char*, int)'
mysql.cc:2520:63: error: invalid conversion from 'int (*)()' to 'int (*)(int, int)'
mysql.cc:2520:63: error: initializing argument 2 of 'int rl_add_defun(const char*, int (*)(int, int), int)'
mysql.cc: In function 'char** new_mysql_completion(const char*, int, int)':
mysql.cc:2542:80: error: 'completion_matches' was not declared in this scope
make[2]: *** [mysql.o] Error 1
make[2]: Leaving directory `/usr/src/Percona-Server-5.1.60/client'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/Percona-Server-5.1.60/client'
make: *** [all-recursive] Error 1

This is the first time i have such a problem. 5.1.59 compile fine as 5.5.18 does. What can be the reason for this? Also plain mysql-5.1.60 compiles fine.

Revision history for this message
Laurynas Biveinis (laurynas-biveinis) wrote :

Probably HAVE_HIST_ENTRY and actual presence of HIST_ENTRY type disagree for some reason. Please send your configure log.

Changed in percona-server:
status: New → Incomplete
Revision history for this message
Thomas Stein (t-stein) wrote :

Hello.

Thank you for your answer. Attached the config.log.

Revision history for this message
Laurynas Biveinis (laurynas-biveinis) wrote :

Could you also give the exact commands you use for the compilation?

Sorry for the slow follow-up.

Revision history for this message
Thomas Stein (t-stein) wrote :

Hello Laurynas.

I can give you the complete build output. (attached).

cheers
t.

Changed in percona-server:
assignee: nobody → Ignacio Nin (ignacio-nin)
Revision history for this message
Alexey Kopytov (akopytov) wrote :

I think the reason is bug #927163. Please try running "make clean" before building.

Revision history for this message
Thomas Stein (t-stein) wrote :

Yeah right. That solved the issue. Thanks

Revision history for this message
Alexey Kopytov (akopytov) wrote :

Thanks for confirming. Marking as a duplicate of #927163.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.