Sphinx version 0.9.8.1 - How to Download and Install on Mac OS X
Friday the 3rd of September, 2010

    version 0.9.8.1

      View the most recent changes for the sphinx port at: sphinx.darwinports.com/diff
      Scroll down toward the bottom of the page to get installation instructions for sphinx.
      The raw portfile for sphinx 0.9.8.1 is located here:
      http://sphinx.darwinports.com/dports/textproc/sphinx/Portfile
      Find related portfiles with the unique DarwinPorts.com search feature.
      Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/sphinx


      # -*- coding: utf-8; mode: tcl; tab-width: 4; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
      The sphinx Portfile 58433 2009-09-28 18:18:09Z snc macports.org $

      PortSystem 1.0

      Name: sphinx
      Version: 0.9.8.1
      Category: textproc net
      Maintainers: brett openmaintainer

      Platform: darwin
      Description: Sphinx is a full-text search engine
      Long Description: Sphinx is a full-text search engine, meant to provide fast, size-efficient and relevant fulltext search functions to other applications. Sphinx was specially designed to integrate well with SQL databases and scripting languages. Currently built-in data sources support fetching data either via direct connection to MySQL, or from an XML pipe.

      Homepage: http://www.sphinxsearch.com
      Master Sites: ${homepage}/downloads/
      Checksums: sha1 eed4c6f5b314f965c19cca8aebd0b6d847cd35f9

      depends_lib path:bin/mysql_config5:mysql5
      configure.args --mandir=${prefix}/share/man --datadir=${prefix}/share/doc --sysconfdir=${prefix}/etc/sphinx --with-mysql-includes=${prefix}/include/mysql5/mysql --with-mysql-libs=${prefix}/lib/mysql5/mysql

      test.run yes

      Variant: postgres conflicts postgresql83 postgresql84 description {Enable PostgreSQL support for old PgSQL 8.2} {
      depends_lib-append port:postgresql82
      depends_lib-delete path:bin/mysql_config5:mysql5
      configure.args-append --with-pgsql
      configure.args-append --with-pgsql-includes=${prefix}/include/postgresql82
      configure.args-append --with-pgsql-libs=${prefix}/lib/postgresql82
      configure.args-delete --with-mysql-includes
      }

      Variant: postgresql83 conflicts postgres postgresql84 description {Enable PostgreSQL support for newer PgSQL v8.3} {
      depends_lib-append port:postgresql83
      depends_lib-delete path:bin/mysql_config5:mysql5
      configure.args-append --with-pgsql
      configure.args-append --with-pgsql-includes=${prefix}/include/postgresql83
      configure.args-append --with-pgsql-libs=${prefix}/lib/postgresql83
      configure.args-delete --with-mysql-includes
      }

      Variant: postgresql84 conflicts postgres postgresql83 description {Enable PostgreSQL support for newer PgSQL v8.4} {
      depends_lib-append port:postgresql84
      depends_lib-delete path:bin/mysql_config5:mysql5
      configure.args-append --with-pgsql
      configure.args-append --with-pgsql-includes=${prefix}/include/postgresql84
      configure.args-append --with-pgsql-libs=${prefix}/lib/postgresql84
      configure.args-delete --with-mysql-includes
      }

    If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page.

    Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:


      %  cd /opt/local/bin/portslocation/dports/sphinx
      % sudo port install sphinx
      Password:
    You will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to:

      ---> Fetching sphinx
      ---> Verifying checksum for sphinx
      ---> Extracting sphinx
      ---> Configuring sphinx
      ---> Building sphinx with target all
      ---> Staging sphinx into destroot
      ---> Installing sphinx
    - Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using sphinx with these commands:
      %  man sphinx
      % apropos sphinx
      % which sphinx
      % locate sphinx

     Where to find more information:

    Darwin Ports



    Lightbox this page.