Difference between revisions of "Sphinx search engine Installation"
From Teknologisk videncenter
								
												
				m (New page: Installer and date: ~~~~ Downloaded Sphinx from: [http://www.sphinxsearch.com/downloads/sphinx-0.9.9-rc1.tar.gz] Unpacked and unzipped in /usr/local/sw/sphinx-0.9.9-rc1 om mars.tekkom.dk)  | 
				m  | 
				||
| Line 1: | Line 1: | ||
| − | Installer and date: [[User:Heth|Henrik Thomsen]] 07:32, 28 February 2009 (UTC)  | + | Installer and date: [[User:Heth|Henrik Thomsen]] 07:32, 28 February 2009 (UTC)<br/>  | 
| − | Downloaded Sphinx from: [http://www.sphinxsearch.com/downloads/sphinx-0.9.9-rc1.tar.gz]  | + | Downloaded Sphinx from: [http://www.sphinxsearch.com/downloads/sphinx-0.9.9-rc1.tar.gz]<br/>  | 
| − | Unpacked and unzipped in /usr/local/sw/sphinx-0.9.9-rc1 om mars.tekkom.dk  | + | Unpacked and unzipped in /usr/local/sw/sphinx-0.9.9-rc1 om mars.tekkom.dk<br/>  | 
| + | === Compiling ===  | ||
| + | Sphinx installs default in /usr/local and search for database. No options really nessasary.   | ||
| + | |||
| + | #Executed '''./configure''' which did all the tests succesfully and generated the Makefiles.  | ||
| + | #Executed '''make''' to generate the binaries. Showing minor warnings, but ran all tests succesfully  | ||
| + | #Executed '''make install''' showing output below   | ||
| + | <source lang="text">  | ||
| + | Making install in src  | ||
| + | if test -d ../.svn; then svn info .. --xml | perl svnxrev.pl; fi;  | ||
| + | make  install-am  | ||
| + | test -z "/usr/local/bin" || /usr/local/sw/sphinx-0.9.9-rc1/config/install-sh -d "/usr/local/bin"  | ||
| + |   /usr/bin/install -c 'indexer' '/usr/local/bin/indexer'  | ||
| + |   /usr/bin/install -c 'searchd' '/usr/local/bin/searchd'  | ||
| + |   /usr/bin/install -c 'search' '/usr/local/bin/search'  | ||
| + |   /usr/bin/install -c 'spelldump' '/usr/local/bin/spelldump'  | ||
| + | Making install in test  | ||
| + | test -z "/usr/local/etc" || /usr/local/sw/sphinx-0.9.9-rc1/config/install-sh -d "/usr/local/etc"  | ||
| + |  /usr/bin/install -c -m 644 'sphinx.conf.dist' '/usr/local/etc/sphinx.conf.dist'  | ||
| + |  /usr/bin/install -c -m 644 'sphinx-min.conf.dist' '/usr/local/etc/sphinx-min.conf.dist'  | ||
| + |  /usr/bin/install -c -m 644 'example.sql' '/usr/local/etc/example.sql'  | ||
| + | make  install-data-hook  | ||
| + | mkdir -p /usr/local/var/data && mkdir -p /usr/local/var/log  | ||
| + | </source>  | ||
Revision as of 08:43, 28 February 2009
Installer and date: Henrik Thomsen 07:32, 28 February 2009 (UTC)
Downloaded Sphinx from: [1]
Unpacked and unzipped in /usr/local/sw/sphinx-0.9.9-rc1 om mars.tekkom.dk
Compiling
Sphinx installs default in /usr/local and search for database. No options really nessasary.
- Executed ./configure which did all the tests succesfully and generated the Makefiles.
 - Executed make to generate the binaries. Showing minor warnings, but ran all tests succesfully
 - Executed make install showing output below
 
Making install in src
if test -d ../.svn; then svn info .. --xml | perl svnxrev.pl; fi;
make  install-am
test -z "/usr/local/bin" || /usr/local/sw/sphinx-0.9.9-rc1/config/install-sh -d "/usr/local/bin"
  /usr/bin/install -c 'indexer' '/usr/local/bin/indexer'
  /usr/bin/install -c 'searchd' '/usr/local/bin/searchd'
  /usr/bin/install -c 'search' '/usr/local/bin/search'
  /usr/bin/install -c 'spelldump' '/usr/local/bin/spelldump'
Making install in test
test -z "/usr/local/etc" || /usr/local/sw/sphinx-0.9.9-rc1/config/install-sh -d "/usr/local/etc"
 /usr/bin/install -c -m 644 'sphinx.conf.dist' '/usr/local/etc/sphinx.conf.dist'
 /usr/bin/install -c -m 644 'sphinx-min.conf.dist' '/usr/local/etc/sphinx-min.conf.dist'
 /usr/bin/install -c -m 644 'example.sql' '/usr/local/etc/example.sql'
make  install-data-hook
mkdir -p /usr/local/var/data && mkdir -p /usr/local/var/log