Add example to compile
This commit is contained in:
parent
acad0ec96e
commit
6859bfa18c
15
README
15
README
@ -0,0 +1,15 @@
|
||||
htop
|
||||
bwm-ng
|
||||
mysql-client-5.5
|
||||
gcc g++ make libmysqld-dev
|
||||
wget -nv -O - http://snowball.tartarus.org/dist/libstemmer_c.tgz | tar zx
|
||||
wget -nv -O - https://re2.googlecode.com/files/re2-20140304.tgz | tar zx
|
||||
wget http://sphinxsearch.com/files/sphinx-2.2.7-release.tar.gz
|
||||
tar xzvf sphinx-2.2.7-release.tar.gz
|
||||
cp -R libstemmer_c/* sphinx-2.2.7-release/libstemmer_c/
|
||||
sed -i -e 's/stem_ISO_8859_1_hungarian/stem_ISO_8859_2_hungarian/g' sphinx-2.2.7-release/libstemmer_c/Makefile.in
|
||||
cp -R re2/* sphinx-2.2.7-release/libre2/
|
||||
cd sphinx-2.2.7-release
|
||||
./configure --with-libstemmer --with-re2 --prefix=/usr/local/sphinx
|
||||
make
|
||||
make install
|
Loading…
Reference in New Issue
Block a user