Installing sphinx on Mac OS X 10.8.2 (using macports)
– download source from
▻http://www.sphinxsearch.com/downloads.html
ou
# svn co ▻http://sphinxsearch.googlecode.com/svn/trunk
– port install mysql55 (not mysql-devel which is deprecated)
– modify two paths in the configure file: /usr/local becomes /opt/local/
# hack to locate expat/iconv in /usr/local on BSD systems
CPPFLAGS="$CPPFLAGS -I/opt/local/include"
LIBS="$LIBS -L/opt/local/lib"
– then the usual:
# ./configure —with-mysql=/opt/local/lib/mysql55/ —with-libstemmer –enable-id64
# sudo make install
for configure options:
# ./configure -help