macos 如何为 Mac Os Lion 安装 Sphinx?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/8977967/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-10-21 08:47:35  来源:igfitidea点击:

How can i install Sphinx for Mac Os Lion?

macososx-lionsphinx

提问by ExiRe

I want to install latest stable version of Sphinx (sphinxsearch.com) on Mac OS X Lion. What is a right way to do that?

我想在 Mac OS X Lion 上安装最新稳定版本的 Sphinx ( sphinxsearch.com)。这样做的正确方法是什么?

采纳答案by Johny

Here is short guide, http://pat.github.com/ts/en/installing_sphinx.htmlits regarding thinking_sphinx, ruby gem for workign with rails, but it covers also installing sphinx server.

这是简短的指南,http://pat.github.com/ts/en/installing_sphinx.html其关于 thinking_sphinx,ruby gem for workign with rails,但它也涵盖了安装 sphinx 服务器。

回答by Logan Bailey

I just checked and it's on brew, so you can just run if you have HomeBrew: brew install sphinx.

我刚刚检查了一下,它在 brew 上,所以如果你有 HomeBrew: ,你就可以运行 brew install sphinx

回答by James Boutcher

What wasn't obvious from those instructions was that the main executables would be found in /usr/local/bin/searchd and /usr/local/bin/indexer... I was a bit puzzled after install when I couldn't find anything sphinxin /usr/local/bin.

从这些说明中不明显的是,主要的可执行文件会在 /usr/local/bin/searchd 和 /usr/local/bin/indexer 中找到...安装后我有点困惑,找不到/usr/local/bin 中的任何狮身人面像

回答by luluValley

You can try the easy Install.

您可以尝试简单的安装。

-Open your terminal. -Execute the following command: sudo easy_install sphinx

- 打开你的终端。- 执行以下命令:sudo easy_install sphinx

Then it works.

然后它起作用了。