Skip to content

Instantly share code, notes, and snippets.

@asyncee
Last active March 12, 2021 11:39
Show Gist options
  • Save asyncee/5942867 to your computer and use it in GitHub Desktop.
Save asyncee/5942867 to your computer and use it in GitHub Desktop.
Install xapian on webfaction
mkdir -p ~/bin ~/src ~/lib/python2.7
cd ~/src
wget http://oligarchy.co.uk/xapian/1.2.10/xapian-core-1.2.10.tar.gz
tar zxf xapian-core-1.2.10.tar.gz
cd xapian-core-1.2.10
./configure --prefix=$HOME
make
make install
cd ..
wget http://oligarchy.co.uk/xapian/1.2.10/xapian-bindings-1.2.10.tar.gz
tar zxf xapian-bindings-1.2.10.tar.gz
cd xapian-bindings-1.2.10
./configure --prefix=$HOME \
PYTHON=/usr/local/bin/python2.7 \
PYTHON_LIB=$HOME/lib/python2.7 \
--with-python --without-ruby \
--without-php --without-tcl
make
make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment