my favorite


installing sphinx 0.9.9 with mysql support

If you install mysql via macport, the default mysql root path would be /opt/local/

While installing sphinx just specify include and lib path manually

./configure --with-mysql-includes=/opt/local/include/mysql5/ --with-mysql-libs=/opt/local/lib/mysql5/

It's very interesting while installing sphinx 0.9.9 and we specify mysql include/lib path, it would be changed automatically to /opt/local/[include|lib]/mysql5/mysql from /opt/local/[include|lib]/mysql5

SOOOO, let's change it by ourself again
./configure --with-mysql-includes=/opt/local/include/mysql5/mysql --with-mysql-libs=/opt/local/lib/mysql5/mysql

make and make install in further steps. have fun.

No comments:


Taipei, GuTing, Taiwan

huang47 | personal

huang47 | personal