Friday, June 10, 2011

Compiling Sphinx Search Server on OSX

Having trouble compiling a fresh sphinx search server on your OSX Leopard/Snow Leopard (10.5/10.6) host?

If you are gettings

conflicting declaration 'typedef unsigned int DWORD' etc etc


compile it like this


./configure --prefix=/opt/local --with-mysql=/opt/local/lib/mysql5 --without-unixodbc --enable-id64


The key here is to not compile the unixodbc support using flag "--without-unixodbc" as this is where the errors are coming from.

No comments:

Post a Comment