Forked from vinilios/install xapian inside virtualenv
Last active
August 29, 2015 14:11
-
-
Save wengole/86342c3d5d25dca8cec2 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
apt-get install zlib1g-dev | |
apt-get install g++ | |
export VENV=$VIRTUAL_ENV | |
mkdir $VENV/packages && cd $VENV/packages | |
XAPIAN_VERSION=1.2.20 | |
curl -O http://oligarchy.co.uk/xapian/$XAPIAN_VERSION/xapian-core-$XAPIAN_VERSION.tar.xz | |
curl -O http://oligarchy.co.uk/xapian/$XAPIAN_VERSION/xapian-bindings-$XAPIAN_VERSION.tar.xz | |
tar xvf xapian-core-$XAPIAN_VERSION.tar.xz | |
tar xvf xapian-bindings-$XAPIAN_VERSION.tar.xz | |
cd $VENV/packages/xapian-core-$XAPIAN_VERSION | |
./configure --prefix=$VENV && make && make install | |
export LD_LIBRARY_PATH=$VENV/lib | |
cd $VENV/packages/xapian-bindings-$XAPIAN_VERSION | |
./configure --prefix=$VENV --with-python && make && make install | |
python -c "import xapian" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment