Difference between revisions of "Sphinx search engine Installation"

From Teknologisk videncenter
Jump to: navigation, search
m
m
Line 8: Line 8:
 
#Executed '''make''' to generate the binaries. Showing minor warnings, but ran all tests succesfully
 
#Executed '''make''' to generate the binaries. Showing minor warnings, but ran all tests succesfully
 
#Executed '''make install''' showing output below  
 
#Executed '''make install''' showing output below  
<source lang="text">
+
<pre>
 
Making install in src
 
Making install in src
 
if test -d ../.svn; then svn info .. --xml | perl svnxrev.pl; fi;
 
if test -d ../.svn; then svn info .. --xml | perl svnxrev.pl; fi;
Line 24: Line 24:
 
make  install-data-hook
 
make  install-data-hook
 
mkdir -p /usr/local/var/data && mkdir -p /usr/local/var/log
 
mkdir -p /usr/local/var/data && mkdir -p /usr/local/var/log
</source>
+
</pre>

Revision as of 08:44, 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.

  1. Executed ./configure which did all the tests succesfully and generated the Makefiles.
  2. Executed make to generate the binaries. Showing minor warnings, but ran all tests succesfully
  3. 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