not compile with mysql 5.5.9 (from ports) on Freebsd
checking mysql source... cat: /usr/ports/databases/mysql55-server/work/mysql-5.5.9/configure.in: No such file or directory yes: Using /usr/ports/databases/mysql55-server/work/mysql-5.5.9, version checking mysql binary... yes: Using /usr/local/bin, version 5.5.9 basename: illegal option -- L usage: basename string [suffix] basename [-a] [-s suffix] string [...] configure: error: MySQL source version does not match MySQL binary version
event not pass configure process
accidentally closed it
your mysql-server is't the same with mysql-src
OpenSUSE 11.4 x32
I have same issue with mysql 5.5.11 ( which is using cmake ) and HandlerSocket 0883316.
Mysql source folder doesn't contain configure.in file after I do:
cmake . make make install DESTDIR="/usr/local/mysql-5.5.11"
configure.in file does not exist at all :( I guess they use a new building system and this file no longer exist:
... ... checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking mysql source... cat: /root/src/mysql-5.5.11/configure.in: No such file or directory yes: Using /root/src/mysql-5.5.11, version checking mysql binary... yes: Using /usr/local/mysql-5.5.11/usr/local/mysql/bin, version 5.5.11 basename: invalid option -- 'L' Try `basename --help' for more information. configure: error: MySQL source version does not match MySQL binary version
tserver ahiguti-HandlerSocket-Plugin-for-MySQL-0883316 # ./configure --with-mysql-source=/root/src/mysql-5.5.11 --with-mysql-bindir=/usr/local/mysql-5.5.11/usr/local/mysql/bin
"your mysql-server is't the same with mysql-src"
of course it same!. i testet it ! :)
do you complile handler socket with mysql version >= 5.5.9 ? seems to be - something changed deeply in mysql distribution from earlier versions..
You can try to make the changes below on file 'configure'
diff configure.orig configure
14286,14288c14286,14288
< if test abasename $LIB_DIR = amysql ; then
< MYSQL_LIB="-Ldirname $LIB_DIR $MYSQL_LIB"
< fi
#if test a`basename $LIB_DIR` = amysql ; then # MYSQL_LIB="-L`dirname $LIB_DIR` $MYSQL_LIB" #fi14297,14299c14297,14299 < if test a$MYSQL_SOURCE_VERSION != a$MYSQL_BIN_VERSION ; then < as_fn_error "MySQL source version does not match MySQL binary version" "$LINENO" 5
< fi
if test a$MYSQL_SOURCE_VERSION != a$MYSQL_BIN_VERSION ; then
as_fn_error "MySQL source version does not match MySQL binary version" "$LINENO" 5
fi