GET 24/7 LIVE HELP NOW

Announcement

Announcement Module
Collapse
No announcement yet.

Percona-Server-5.1.60-13.1 fails to compile

Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Percona-Server-5.1.60-13.1 fails to compile

    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?

  • #2
    Try doing this

    ./configure
    make clean

    Then do your normal install options, such as:
    ./configure --your-options
    make
    make install

    This issue seems to be resolved in latest version as well.

    Comment

    Working...
    X