Forked from vinilios/install xapian inside virtualenv
Created
August 18, 2011 20:21
-
-
Save drinks/1155084 to your computer and use it in GitHub Desktop.
xapian local installation
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
apt-get install zlib1g-dev | |
apt-get install g++ | |
export VENV=$VIRTUAL_ENV | |
mkdir $VENV/packages && cd $VENV/packages | |
wget http://oligarchy.co.uk/xapian/1.0.16/xapian-core-1.0.16.tar.gz | |
wget http://oligarchy.co.uk/xapian/1.0.16/xapian-bindings-1.0.16.tar.gz | |
tar xzvf xapian-core-1.0.16.tar.gz | |
tar xzvf xapian-bindings-1.0.16.tar.gz | |
cd $VENV/packages/xapian-core-1.0.16 | |
./configure --prefix=$VENV && make && make install | |
export LD_LIBRARY_PATH=$VENV/lib | |
export PATH=$VENV/bin:$PATH # assuming you are root | |
cd $VENV/packages/xapian-bindings-1.0.16 | |
./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