Installing Sphinx on MacOS X
Both Homebrew and MacPorts are lagging in their support of Sphinx - the latest version available in both is v2.2.11, which does not work well with recent (v8) releases of MySQL.
In Homebrew’s case, they also have stopped supporting the PostgreSQL option (which is essential if you’re using SQL-backed indices and a PostgreSQL database).
The recommended options are instead:
- download a pre-built set of binaries and copy the appropriate files from the supplied
bin
directory into/usr/local/bin
(but don’t replace the entire directory!); or… - compile Sphinx by hand - but this is only an option for the v2.2.11 release.
Compiling will require the MacOS Developer Tools, but it should install the files into their appropriate locations.