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

pinba not compile with libevent-2.0.22 #41

Open
Aleks0305 opened this issue May 20, 2015 · 1 comment
Open

pinba not compile with libevent-2.0.22 #41

Aleks0305 opened this issue May 20, 2015 · 1 comment

Comments

@Aleks0305
Copy link

Hello!
I try to compile plugin for centos 6 mysql 5.6.
./configure --with-mysql=/root/mysql-src/mysql-5.6.24 --with-judy=/usr/local/bin/judy-1.0.5 --with-event=/usr/local/bin/libevent-2.0.22 --with-libdir=/usr/lib64/mysql/plugin/
and see:
checking for pthread_setaffinity_np in -lpthread... yes
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking for MySQL source code... /root/mysql-src/mysql-5.6.24
checking for MySQL version >= 5.1... ok
checking libevent install prefix... /usr/local/bin/libevent-2.0.22
checking if libevent requires -lrt... configure: error: something went wrong - c annot link libevent, please report (attach you config.log)

What is wrong?

@tony2001
Copy link
Owner

/usr/local/bin/libevent-2.0.22 - that doesn't look like a correct install prefix.
Did you really specify --prefix=/usr/local/bin/libevent-2.0.22 when installing libevent? I guess it's /usr/local
JFYI, current devel branch doesn't use libevent at all.

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

No branches or pull requests

2 participants