Getting a local development environment setup to run Sphinx on your Mac is pretty easy. You can boil it down to the following quick commands.
$ tar xvzf sphinx-0.9.9.tar.gz
$ cd sphinx-0.9.9
$ ./configure
$ make
$ sudo make install
This assumes you’re using a default MySQL installation. If however you’re like me and using MySQL installed from macports, you’ll need to pass the location of the MySQL configuration directories to Sphinx. The configure command would then change like so:
On a side note, Sphinx 1.10-beta has also just recently been released (July 10′). This release has real-time indexes support, a welcome addition I have been waiting for. Definately check it out.
{ 2 comments }