1

我有以下问题。

我尝试在我的 Mac OS X Lion 上安装 Sphinx,但它因命令“make”而失败。“./configure”看起来运行良好,我收到消息“感谢您选择 Sphinx!”。在我想运行命令'Make'之后它出错了。

对于'./configre'我也试过'./configure --with-mysql=/usr/local/zend/mysql' 因为我认为错误的问题来自我不使用mac的mysql但是我使用zendServer。

MacBook-Pro-van-nick:sphinxsearch nick$ make
Making all in src
/bin/sh svnxrev.sh ..
make  all-am
g++ -DHAVE_CONFIG_H -I. -I../config  -DSYSCONFDIR="\"/usr/local/etc\"" -DDATADIR="\"/usr/local/var/data\"" -I/usr/local/include -I/usr/local/zend/mysql/include  -g -Os -arch i386 -fno-common   -D_P1003_1B_VISIBLE -DSIGNAL_WITH_VIO_CLOSE -DSIGNALS_DONT_BREAK_READ -DIGNORE_SIGHUP_SIGQUIT  -DDONT_DECLARE_CXA_PURE_VIRTUAL   -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -MT sphinx.o -MD -MP -MF .deps/sphinx.Tpo -c -o sphinx.o sphinx.cpp
In file included from sphinx.cpp:16:
sphinx.h:64:19: error: mysql.h: No such file or directory

// More errro's here of course as a consequence from the one above (I guess)

提前致谢。

亲切的问候,

缺口

4

0 回答 0