dispatch/vendor/github.com/blevesearch/bleve/docs/old_build_script.txt
2016-03-01 01:51:26 +01:00

29 lines
781 B
Plaintext

old build script
# remove old icu
sudo apt-get -y remove libicu48
# install snappy
sudo apt-get -y install libsnappy-dev
# install newer icu
curl -o /tmp/icu4c-53_1-RHEL6-x64.tgz http://download.icu-project.org/files/icu4c/53.1/icu4c-53_1-RHEL6-x64.tgz
sudo tar zxvf /tmp/icu4c-53_1-RHEL6-x64.tgz -C /
# install leveldb
curl -O https://leveldb.googlecode.com/files/leveldb-1.15.0.tar.gz
tar zxvf leveldb-1.15.0.tar.gz
cd leveldb-1.15.0
make
sudo cp --preserve=links libleveldb.* /usr/local/lib
sudo cp -r include/leveldb /usr/local/include/
sudo ldconfig
cd ..
#install cld2
cd analysis/token_filters/cld2
svn checkout http://cld2.googlecode.com/svn/trunk/ cld2-read-only
cd cld2-read-only/internal/
./compile_libs.sh
sudo cp *.so /usr/local/lib
sudo ldconfig
cd ../../../../..