Last active
August 29, 2015 14:24
-
-
Save meska/fdc56ab6988e2076bb00 to your computer and use it in GitHub Desktop.
Script for install xapian bindings on python3 virtualenv
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
pkgver=1.3.3 | |
mkdir -p $VIRTUAL_ENV/src && cd $VIRTUAL_ENV/src | |
curl -O http://oligarchy.co.uk/xapian/$pkgver/xapian-core-$pkgver.tar.xz && tar xf xapian-core-$pkgver.tar.xz | |
curl -O http://oligarchy.co.uk/xapian/$pkgver/xapian-bindings-$pkgver.tar.xz && tar xf xapian-bindings-$pkgver.tar.xz | |
cd $VIRTUAL_ENV/src/xapian-core-$pkgver | |
./configure --prefix=$VIRTUAL_ENV && make && make install | |
export LD_LIBRARY_PATH=$VIRTUAL_ENV/lib | |
export XAPIAN_CONFIG=$VIRTUAL_ENV/bin/xapian-config-1.3 | |
cd $VIRTUAL_ENV/src/xapian-bindings-$pkgver | |
./configure --prefix=$VIRTUAL_ENV --with-python3 && make && make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Tested with python3 on mac os