DeNA / HandlerSocket-Plugin-for-MySQL

HandlerSocket is a NoSQL plugin for MySQL, working as a daemon inside the mysqld process, to accept tcp connections, and execute requests from clients. HandlerSocket does not support SQL queries; instead it supports simple CRUD operations on tables.
Other
1.13k stars 150 forks source link

error during compile #87

Open bromokun opened 11 years ago

bromokun commented 11 years ago

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:

  1. apt-get install libtool
  2. apt-get install automake
  3. ./autogen.sh
  4. ./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
  5. apt-get update
  6. 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

azti-magnetiko commented 11 years ago

I am having the same problem... Help would be appreciated....

Thanks.

yanghua commented 11 years ago

maybe you need reinstall your mysql from source code (linux general version)