Skip to content
This repository

Mac OS X

Xapian

curl -O http://oligarchy.co.uk/xapian/1.2.7/xapian-core-1.2.7.tar.gz
tar xzvf xapian-core-1.2.7.tar.gz
cd xapian-core-1.2.7
./configure --prefix=/usr/local
make
sudo make install

Xapian Bindings

curl -O http://oligarchy.co.uk/xapian/1.2.7/xapian-bindings-1.2.7.tar.gz
tar xzvf xapian-bindings-1.2.7.tar.gz
cd xapian-bindings-1.2.7
./configure --prefix=/usr/local XAPIAN_CONFIG=/usr/local/bin/xapian-config
make
sudo make install

Ubuntu with Ruby Enterprise Edition

It is possible to symlink the 2 xapian-binding related files from the core Ruby 1.8.6 to the Ruby Enterprise Edition. Here are the steps to get this work on Ubuntu where Ruby Enterprise was installed at /usr/local/ruby-enterprise:

# Install these 2 packages via apt-get:  libxapian15 and libxapian-ruby1.8
cd /usr/local/ruby-enterprise/lib/ruby/1.8
ln -s /usr/lib/ruby/1.8/xapian.rb
cd /usr/local/ruby-enterprise/lib/ruby/site_ruby/1.8/i686-linux/
sudo ln -s /usr/lib/ruby/1.8/i486-linux/_xapian.so
sudo apache2ctl restart
Something went wrong with that request. Please try again.