Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error during compile #87

Open
bromokun opened this issue Jul 12, 2012 · 2 comments
Open

error during compile #87

bromokun opened this issue Jul 12, 2012 · 2 comments

Comments

@bromokun
Copy link

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
Copy link

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

Thanks.

@yanghua
Copy link

yanghua commented May 8, 2013

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants