【发布时间】:2013-02-07 10:43:16
【问题描述】:
我尝试使用/.configure 进行配置
收到以下错误
谁能告诉我如何解决这个问题??我在 MAMP/Library 中找不到 mysql 文件和包含文件夹
任何帮助..
configuring Sphinx
------------------
checking for CFLAGS needed for pthreads... none
checking for LIBS needed for pthreads... -lpthread
checking for pthreads... found
checking whether to compile with MySQL support... yes
checking for mysql_config... not found
checking MySQL include files... configure: error: missing include files.
******************************************************************************
ERROR: cannot find MySQL include files.
Check that you do have MySQL include files installed.
The package name is typically 'mysql-devel'.
If include files are installed on your system, but you are still getting
this message, you should do one of the following:
1) either specify includes location explicitly, using --with-mysql-includes;
2) or specify MySQL installation root location explicitly, using --with-mysql;
3) or make sure that the path to 'mysql_config' program is listed in
your PATH environment variable.
To disable MySQL support, use --without-mysql option.
******************************************************************************
非常感谢,
【问题讨论】:
-
我正在尝试使用 fink.. 但无法获取 mysql :(
标签: sphinx