根据你写的我还是装不上。。
In file included from /usr/include/php/20160303/main/php.h:414:0,
from /home/download/sphinx-339e123/sphinx.c:24:
/home/download/sphinx-339e123/sphinx.c: In function ‘zm_startup_sphinx’:
/home/download/sphinx-339e123/sphinx.c:1940:15: error: ‘SPH_RANK_PROXIMITY_BM25’ undeclared (first use in this function)
SPHINX_CONST(SPH_RANK_PROXIMITY_BM25);
^
/usr/include/php/20160303/Zend/zend_constants.h:42:105: note: in definition of macro ‘REGISTER_LONG_CONSTANT’
#define REGISTER_LONG_CONSTANT(name, lval, flags) zend_register_long_constant((name), sizeof(name)-1, (lval), (flags), module_nu
^
/home/download/sphinx-339e123/sphinx.c:1940:2: note: in expansion of macro ‘SPHINX_CONST’
SPHINX_CONST(SPH_RANK_PROXIMITY_BM25);
^
/home/download/sphinx-339e123/sphinx.c:1940:15: note: each undeclared identifier is reported only once for each function it appears in
SPHINX_CONST(SPH_RANK_PROXIMITY_BM25);
^
/usr/include/php/20160303/Zend/zend_constants.h:42:105: note: in definition of macro ‘REGISTER_LONG_CONSTANT’
#define REGISTER_LONG_CONSTANT(name, lval, flags) zend_register_long_constant((name), sizeof(name)-1, (lval), (flags), module_nu
^
/home/download/sphinx-339e123/sphinx.c:1940:2: note: in expansion of macro ‘SPHINX_CONST’
SPHINX_CONST(SPH_RANK_PROXIMITY_BM25);
^
/home/download/sphinx-339e123/sphinx.c:1941:15: error: ‘SPH_RANK_BM25’ undeclared (first use in this function)
SPHINX_CONST(SPH_RANK_BM25);
^
/usr/include/php/20160303/Zend/zend_constants.h:42:105: note: in definition of macro ‘REGISTER_LONG_CONSTANT’
#define REGISTER_LONG_CONSTANT(name, lval, flags) zend_register_long_constant((name), sizeof(name)-1, (lval), (flags), module_nu
^
/home/download/sphinx-339e123/sphinx.c:1941:2: note: in expansion of macro ‘SPHINX_CONST’
SPHINX_CONST(SPH_RANK_BM25);
^
Makefile:194: recipe for target 'sphinx.lo' failed
make: *** [sphinx.lo] Error 1