Wird ein deb-Paket des Ubuntu MySQL Servers mit Unterstützung der SPHINX Engine benötigt geht das so:
# cd /usr/src
# wget http://www.sphinxsearch.com/downloads/sphinx-0.9.7-rc2.tar.gz
# tar xvzf sphinx-0.9.7-rc2.tar.gz
# apt-get install libtool debhelper libncurses5-dev libwrap0-dev zlib1g-dev libreadline-dev chrpath automake1.8 automake1.9 doxygen dpatch procps file perl psmisc po-debconf tetex-bin tetex-base tetex-extra gs gawk bison build-essential
# apt-get source mysql-server
# cd /usr/src/mysql-dfsg-5.0-5.0.24a/
# patch -p1 < ../sphinx-0.9.7-rc2/mysqlse/sphinx.5.0.22.diff
# vi sql/set_var.cc
*** unter csv ***
{”have_sphinx”, (char*) &have_sphinx_db, SHOW_HAVE},
# cp -ar ../sphinx-0.9.7-rc2/mysqlse/ sql/sphinx
# vi debian/rules
*** unter –with-innodb ***
–with-sphinx-storage-engine \
# dpkg-buildpackage