HandlerSocket-Plugin-for-MySQL
HandlerSocket-Plugin-for-MySQL copied to clipboard
error during compile
Hi,
I tried to build your plugin from source you provide here, using MySQL cluster binary: mysql-cluster-gpl-7.2.6-linux2.6-x86_64.tar.gz and MySQL cluster source: mysql-cluster-gpl-7.2.6.tar.gz.
What I do in ubuntu server v.12.04 are:
- apt-get install libtool
- apt-get install automake
- ./autogen.sh
- ./configure –with-mysql-source=/root/Downloads/mysql-cluster-gpl-7.2.6 –with-mysql-bindir=/root/Downloads/mysql-cluster-gpl-7.2.6-linux2.6-x86_64/bin –with-mysql-plugindir=/root/Downloads/mysql-cluster-gpl-7.2.6-linux2.6-x86_64/lib/plugin
- apt-get update
- apt-get install g++
until the 6th steps, everything works well, but when I try to MAKE it, two errors message appears like below:
root@ubuntu:~/Downloads/HandlerSocket-Plugin-for-MySQL# make
make all-recursive
make[1]: Entering directory /root/Downloads/HandlerSocket-Plugin-for-MySQL' Making all in libhsclient make[2]: Entering directory/root/Downloads/HandlerSocket-Plugin-for-MySQL/libhsclient'
/bin/bash ../libtool --tag=CXX --mode=link g++ -Wall -g -fno-rtti -fno-exceptions -fPIC -DPIC -static -o libhsclient.la -rpath /usr/local/lib libhsclient_la-config.lo libhsclient_la-escape.lo libhsclient_la-fatal.lo libhsclient_la-hstcpcli.lo libhsclient_la-socket.lo libhsclient_la-string_util.lo
libtool: link: ar cru .libs/libhsclient.a libhsclient_la-config.o libhsclient_la-escape.o libhsclient_la-fatal.o libhsclient_la-hstcpcli.o libhsclient_la-socket.o libhsclient_la-string_util.o
ar: libhsclient_la-config.o: No such file or directory
make[2]: *** [libhsclient.la] Error 1
make[2]: Leaving directory /root/Downloads/HandlerSocket-Plugin-for-MySQL/libhsclient' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory/root/Downloads/HandlerSocket-Plugin-for-MySQL'
make: *** [all] Error 2
root@ubuntu:~/Downloads/HandlerSocket-Plugin-for-MySQL#
Can anybody give me advice to resolve this?
Thanks in advance Bromo
I am having the same problem... Help would be appreciated....
Thanks.
maybe you need reinstall your mysql from source code (linux general version)