I am trying to install sphinx on my centOS 5.6 x64
if I do yum install sphinx I get only 0.9,9 version, and I'd like to install 2.0.1-beta
so I followed the instructions in their documentation and I downloaded source tarball and run
./configure --with-mysql
I am getting an error that cannot find mysql include files
so I found out I need to install mysql-deve (yum install mysql-devel) but as it turned out I already had it.
so I tried to locate my mysql include files and after some digging I found out how to get the info where it is located
$ mysql_config --include
so this gives me:
-I/usr/include/mysql
so I repeated the exercise like:
./configure --prefix /usr/local/sphinx --with-mysql=/usr/include/mysql/
wich gave me this:
configure: error: invalid MySQL root directory '/usr/include/mysql'; neither bin/mysql_config, nor include/ and lib/ were found there
I tred without trailing slash too
so what am I to do?
please help!