Compiling webscalesql is failing. Even after installing readline-devel (it's needed), I get this;
[ 96%] Building CXX object client/CMakeFiles/mysql.dir/mysql.cc.o /bzr/webscalesql-5.6-webscalesql-5.6.21/client/mysql.cc:1102:16: error: redefinition of 'struct _hist_entry' typedef struct _hist_entry { ^ In file included from /bzr/webscalesql-5.6-webscalesql-5.6.21/client/mysql.cc:101:0: /usr/include/readline/history.h:46:16: error: previous definition of 'struct _hist_entry' typedef struct _hist_entry { ^ /bzr/webscalesql-5.6-webscalesql-5.6.21/client/mysql.cc:1105:13: error: invalid type in declaration before ';' token } HIST_ENTRY; ^ /bzr/webscalesql-5.6-webscalesql-5.6.21/client/mysql.cc:1105:13: error: conflicting declaration 'typedef int HIST_ENTRY' In file included from /bzr/webscalesql-5.6-webscalesql-5.6.21/client/mysql.cc:101:0: /usr/include/readline/history.h:50:3: error: 'HIST_ENTRY' has a previous declaration as 'typedef struct _hist_entry HIST_ENTRY' } HIST_ENTRY; ^ make[2]: *** [client/CMakeFiles/mysql.dir/mysql.cc.o] Error 1 make[1]: *** [client/CMakeFiles/mysql.dir/all] Error 2 make: *** [all] Error 2
Any ideas?
Compiling webscalesql is failing. Even after installing readline-devel (it's needed), I get this;
[ 96%] Building CXX object client/ CMakeFiles/ mysql.dir/ mysql.cc. o l-5.6-webscales ql-5.6. 21/client/ mysql.cc: 1102:16: error: redefinition of 'struct _hist_entry' l-5.6-webscales ql-5.6. 21/client/ mysql.cc: 101:0: readline/ history. h:46:16: error: previous definition of 'struct _hist_entry' l-5.6-webscales ql-5.6. 21/client/ mysql.cc: 1105:13: error: invalid type in declaration before ';' token l-5.6-webscales ql-5.6. 21/client/ mysql.cc: 1105:13: error: conflicting declaration 'typedef int HIST_ENTRY' l-5.6-webscales ql-5.6. 21/client/ mysql.cc: 101:0: readline/ history. h:50:3: error: 'HIST_ENTRY' has a previous declaration as 'typedef struct _hist_entry HIST_ENTRY' CMakeFiles/ mysql.dir/ mysql.cc. o] Error 1 CMakeFiles/ mysql.dir/ all] Error 2
/bzr/webscalesq
typedef struct _hist_entry {
^
In file included from /bzr/webscalesq
/usr/include/
typedef struct _hist_entry {
^
/bzr/webscalesq
} HIST_ENTRY;
^
/bzr/webscalesq
In file included from /bzr/webscalesq
/usr/include/
} HIST_ENTRY;
^
make[2]: *** [client/
make[1]: *** [client/
make: *** [all] Error 2
Any ideas?