[MacPorts] #45136: Sphinx plugin for percona
MacPorts
noreply at macports.org
Mon Jan 19 02:50:16 PST 2015
#45136: Sphinx plugin for percona
------------------------------------+--------------------------------
Reporter: gulios@… | Owner: macports-tickets@…
Type: request | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.1
Resolution: | Keywords:
Port: percona-sphinx-plugin |
------------------------------------+--------------------------------
Comment (by thejoyboy@…):
There's a solution for your issue ;)
1. Install percona-server and sphinx via MacPorts
port install percona-server[[BR]]
port install sphinx +percona
2. Download percona-server (v 5.6.21-69.0 - compatible with percona-server
port's version) and sphinx (v 2.2.4 - compatible with sphinx port) sources
cd ~; mkdir percona_sphinx; cd percona_sphinx[[BR]]
wget http://www.percona.com/downloads/Percona-Server-5.6/Percona-
Server-5.6.21-69.0/source/tarball/percona-server-5.6.21-69.0.tar.gz [[BR]]
tar -xzf percona-server-5.6.21-69.0.tar.gz[[BR]]
wget http://sphinxsearch.com/files/sphinx-2.2.4-release.tar.gz [[BR]]
tar -xzf sphinx-2.2.4-release.tar.gz[[BR]]
3. Copy SphinxSE plugin sources to percona-server sources
mkdir percona-server-5.6.21-69.0/storage/sphinx [[BR]]
cp sphinx-2.2.4-release/mysqlse/* percona-
server-5.6.21-69.0/storage/sphinx/
4. Compile SphinxSE plugin
cd percona-server-5.6.21-69.0; sh BUILD/autorun.sh; ./configure --with-
plugins=sphinx [[BR]]
cd storage/sphinx; make
5. Copy ha_sphinx.so to percona-server plugin location
sudo cp ~/percona_sphinx/percona-
server-5.6.21-69.0/storage/sphinx/ha_sphinx.so
/opt/local/lib/percona/plugin
6. Start / restart percona-server
sudo port load percona-server
7. Finally, install SphinxSE plugin for Percona (Percona client)
[Percona]> INSTALL PLUGIN sphinx SONAME 'ha_sphinx.so';
More info:
* http://sphinxsearch.com/docs/current.html#sphinxse-mysql51
* http://sysmagazine.com/posts/161461/
--
Ticket URL: <https://trac.macports.org/ticket/45136#comment:6>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list