1. Install Rpm Library
1) Rpm
You should install rpm.gcc
gcc-c++
libgcc
libstdc++
libstdc++-devel
groonga-libs
groonga-normalizer-mysql
groonga-tokenizer-mecab
mecab
mecab-ipadic
2) MySQL
Installed MySQLMySQL Source
3) Mroonga
Mroonga Sourceex> http://packages.groonga.org
2. Install
1) MySQL Install
Install MySQL the way you want2) MySQL source
gunzip mysql-5.6.24.tar.gz
tar xf mysql-5.6.24.tar
3) Mroonga source
tar xf mroonga-5.10.tar
4) Compile Mroonga
cd mroonga-5.10
./configure --with-mysql-source=/db/mysql-5.6.24 --with-mysql-config=/usr/local/mysql/bin/mysql_config
makemake install
5) check
cd /usr/local/mysql/lib/plugin/ls -al | grep ha_m
-rw-r--r-- 1 root root 10884114 Dec 16 15:54 ha_mroonga.a
-rwxr-xr-x 1 root root 1005 Dec 16 15:54 ha_mroonga.la
lrwxrwxrwx 1 root root 19 Dec 16 15:54 ha_mroonga.so -> ha_mroonga.so.0.0.0
lrwxrwxrwx 1 root root 19 Dec 16 15:54 ha_mroonga.so.0 -> ha_mroonga.so.0.0.0
-rwxr-xr-x 1 root root 3943353 Dec 16 15:54 ha_mroonga.so.0.0.0
3. Enable Mroonga plugin
1) MySQL Restart
The way you want2) Execute Command
INSTALL PLUGIN mroonga SONAME 'ha_mroonga.so';
CREATE FUNCTION last_insert_grn_id RETURNS INTEGER soname 'ha_mroonga.so';
CREATE FUNCTION mroonga_snippet RETURNS STRING soname 'ha_mroonga.so';3) check mroonga
show plugins;show engines;
4. Test
The Way you want~~~~http://mroonga.org/docs/install/others.html#build-from-source