<?xml version="1.0" encoding="UTF-8"?>
<feed xml:lang="en-US" xmlns="http://www.w3.org/2005/Atom">
  <title>RWVHP - Quick Guides</title>
  <id>tag:www.rwvhp.com,2008:mephisto/quick-guides</id>
  <generator uri="http://mephistoblog.com" version="0.7.3">Mephisto Noh-Varr</generator>
  <link href="http://www.rwvhp.com/feed/quick-guides/atom.xml" rel="self" type="application/atom+xml"/>
  <link href="http://www.rwvhp.com/quick-guides" rel="alternate" type="text/html"/>
  <updated>2008-02-12T10:56:37Z</updated>
  <entry xml:base="http://www.rwvhp.com/">
    <author>
      <name>shift</name>
    </author>
    <id>tag:www.rwvhp.com,2008-02-11:29</id>
    <published>2008-02-11T14:25:00Z</published>
    <updated>2008-02-12T10:56:37Z</updated>
    <category term="Quick Guides"/>
    <category term="quick guide"/>
    <category term="search"/>
    <category term="sphinx"/>
    <link href="http://www.rwvhp.com/2008/2/11/installing-sphinx-on-joyent" rel="alternate" type="text/html"/>
    <title>Installing Sphinx On Joyent</title>
<content type="html">
            &lt;p&gt;Installing Sphinx on Joyent is relatively straight forward, I use PostgreSQL over MySQL so some bits may not be relevant.&lt;/p&gt;


&lt;pre&gt;
$ wget http://www.sphinxsearch.com/downloads/sphinx-0.9.8-svn-r1112.tar.gz
$ tar xfvz sphinx-0.9.8-svn-r1112.tar.gz
$ cd sphinx-0.9.8-svn-r1112
$ export PATH=$PATH:/usr/xpg4/bin
$ ./configure --prefix=/opt/csw --without-mysql --with-pgsql &#38;&#38; make &#38;&#38; sudo make install
&lt;/pre&gt;

	&lt;p&gt;One on of our older machines accelerators we needed to adjust the ld paths a little for the PostgreSQL support, meaning the following&lt;/p&gt;


&lt;pre&gt;
$ sudo crle  -l /lib:/usr/lib:/opt/csw/lib:/opt/csw/postgresql/lib
&lt;/pre&gt;

Before
&lt;pre&gt;
$ crle
Configuration file [version 4]: /var/ld/ld.config  
  Platform:     32-bit LSB 80386
  Default Library Path (ELF):   /lib:/usr/lib:/opt/csw/lib:/opt/csw/postgresql/lib
  Trusted Directories (ELF):    /lib/secure:/usr/lib/secure  (system default)
&lt;/pre&gt;

After
&lt;pre&gt;
$ crle
Configuration file [version 4]: /var/ld/ld.config  
  Platform:     32-bit LSB 80386
  Default Library Path (ELF):   /lib:/usr/lib:/opt/csw/lib
  Trusted Directories (ELF):    /lib/secure:/usr/lib/secure  (system default)
&lt;/pre&gt;

	&lt;p&gt;And you&#8217;ll now find sphinx installed in /opt/csw/bin&lt;/p&gt;


	&lt;p&gt;Comments welcome, Enjoy.&lt;/p&gt;
          </content>  </entry>
</feed>
