-
Notifications
You must be signed in to change notification settings - Fork 3
Installation
Installation guide
This section covers installation process of Xapian and Xapian bindings 1.0.2 to your machine
- Linux (if you know how to install Xapian in Windows, let me know)
- wget
- gcc/g++ (compile only)
- Python shared (default in Linux, but not in Freebsd)
There are a very good "How to install" packages in Xapian website: http://xapian.org/download.php
The version required to properly run Djapian (Xapian >=1.0.2) is found in Ubuntu Gutsy and upward :
sudo apt-get install python-xapian xapian-tools
wget http://www.oligarchy.co.uk/xapian/1.0.2/xapian-core-1.0.2.tar.gz
tar -zxvf xapian-core-1.0.2.tar.gz
cd xapian-core-1.0.2
./configure --prefix=/usr/local/xapian-1.0.2
make
su
make install
Note: You must install xapian-core before this
wget http://www.oligarchy.co.uk/xapian/1.0.2/xapian-bindings-1.0.2.tar.gz
tar -zxvf xapian-bindings-1.0.2.tar.gz
cd xapian-bindings-1.0.2
./configure --with-python
make
su
make install
To install Djapian you'll have to choice on of this available ways:
You can download [http://djapian.googlecode.com/files/Djapian-2.0.tar.gz source archive] and unpack it and with root privileges run (or use --prefix option):
# python setup.py install
Djapian package can be installed with setuptools easy_install
program. To do so you need setuptools installed and this shell commands (with root prestigious):
# easy_install Djapian
or
# easy_install http://djapian.googlecode.com/files/Djapian-2.0.tar.gz
For this setup variant you also need Subversion client. To get the most current source you have to checkout our repository:
svn checkout http://djapian.googlecode.com/svn/trunk/ djapian
Then configure your PYTHON_PATH
environment variable to include "_/path/to/checkout/parent/dir/_djapian/src"
Djapian can also be obtained from PyPi repository: