Sphinx2.2.9如何安装?

kkfov706 发布于 2015/07/17 17:29
阅读 1K+
收藏 0

网上搜索出来的都是0.9.8或这0.9.9的

我按照他们的方式 make install的时候报:

root@ubuntu :/home/push/Downloads/sphinx-2.2.9# make install
Making install in libstemmer_c
make[1]: Entering directory `/home/push/Downloads/sphinx-2.2.9/libstemmer_c'
make[2]: Entering directory `/home/push/Downloads/sphinx-2.2.9/libstemmer_c'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/push/Downloads/sphinx-2.2.9/libstemmer_c'
make[1]: Leaving directory `/home/push/Downloads/sphinx-2.2.9/libstemmer_c'
Making install in src
make[1]: Entering directory `/home/push/Downloads/sphinx-2.2.9/src'
/bin/sh svnxrev.sh ..
make  install-am
make[2]: Entering directory `/home/push/Downloads/sphinx-2.2.9/src'
source='sphinx.cpp' object='sphinx.o' libtool=no \
DEPDIR=.deps depmode=none /bin/bash ../config/depcomp \
g++ -DHAVE_CONFIG_H -I. -I../config    -DSYSCONFDIR="\"/usr/local/sphinx/etc\"" -DDATADIR="\"/usr/local/sphinx/var/data\"" -I/usr/local/include -pthread -I/usr/include/mysql -DBIG_JOINS=1 -fno-strict-aliasing -DTAOCRYPT_DISABLE_X86ASM -g    -I/usr/include/mysql -DBIG_JOINS=1 -fno-strict-aliasing -DTAOCRYPT_DISABLE_X86ASM -g     -fno-rtti -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -c -o sphinx.o sphinx.cpp
../config/depcomp: line 669: exec: g++: not found
make[2]: *** [sphinx.o] Error 127
make[2]: Leaving directory `/home/push/Downloads/sphinx-2.2.9/src'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/home/push/Downloads/sphinx-2.2.9/src'
make: *** [install-recursive] Error 1

请问这是神马个状况 ?

加载中
0
游走的鱼

 ./configure

make && make install

http://sphinxsearch.com/docs/current.html#compiling-from-source

0
星知

"../config/depcomp: line 669: exec: g++: not found"

g++没有安装。


0
mickelfeng
mickelfeng
apt-get install build-essential  gcc-c++ 
返回顶部
顶部