Forked from josezambrana/install xapian inside virtualenv
Last active
April 26, 2016 07:05
-
-
Save aabele/d03c921480f87a4e6f028edbce54451c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get install zlib1g-dev | |
sudo apt-get install g++ | |
sudo apt-get install uuid-dev | |
export VENV=$VIRTUAL_ENV | |
mkdir $VENV/packages && cd $VENV/packages | |
curl -O http://oligarchy.co.uk/xapian/1.2.18/xapian-core-1.2.18.tar.xz | |
curl -O http://oligarchy.co.uk/xapian/1.2.18/xapian-bindings-1.2.18.tar.xz | |
tar xf xapian-core-1.2.18.tar.xz | |
tar xf xapian-bindings-1.2.18.tar.xz | |
cd $VENV/packages/xapian-core-1.2.18 | |
./configure --prefix=$VENV && make && make install | |
export LD_LIBRARY_PATH=$VENV/lib | |
cd $VENV/packages/xapian-bindings-1.2.18 | |
./configure --prefix=$VENV --with-python && make && make install | |
python -c "import xapian" | |
pip install django-haystack | |
pip install git+https://github.com/notanumber/xapian-haystack.git |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment