在 mac osx 上安装 sphinx 时出现问题 - 甚至无法执行 ./configure 命令

发布于 2024-11-16 21:48:03 字数 1012 浏览 6 评论 0原文

我尝试在 Mac (OSX 10.6.7) 上安装 sphinx,但在第一个安装步骤中,我遇到了问题。

根据安装文档,http://sphinxsearch.com/docs/current.html#installation,应该执行以下步骤

$ ./configure
$ make
$ install

当我在终端中输入 ./configure 时,我收到以下错误消息:

$ ./configure 
> -bash: ./configure: No such file or directory

所以我查看了文件夹“sphinx-2.0.1-beta-osx10.6-i386”并看到没有诸如configure之类的文件。另外,

$ ls -a
> .         api         doc         sphinx-min.conf.in
  ..        bin         example.sql     sphinx.conf.in
  COPYING       contrib         log
  INSTALL       data            sphinx-min.conf

当我尝试其他文件(例如 sphinx-min.conf)时,我得到

$ ./sphinx-min.conf 
$ -bash: ./sphinx-min.conf: Permission denied

sudo ./sphinx-min.conf 也不起作用

$ sudo ./sphinx-min.conf 
$ sudo: ./sphinx-min.conf: command not found

有什么想法吗?

I tried to install sphinx on my Mac (OSX 10.6.7) but at the first installation step, I run into a problem.

According to the installation doku, http://sphinxsearch.com/docs/current.html#installation, one should do the following steps

$ ./configure
$ make
$ install

When I enter ./configure in my terminal, I get the following error message:

$ ./configure 
> -bash: ./configure: No such file or directory

So I looked in the folder 'sphinx-2.0.1-beta-osx10.6-i386' and saw that there's no such file such as configure. Also

$ ls -a
> .         api         doc         sphinx-min.conf.in
  ..        bin         example.sql     sphinx.conf.in
  COPYING       contrib         log
  INSTALL       data            sphinx-min.conf

When I tried other files such as sphinx-min.conf, I get

$ ./sphinx-min.conf 
$ -bash: ./sphinx-min.conf: Permission denied

Also the sudo ./sphinx-min.conf doesn't work

$ sudo ./sphinx-min.conf 
$ sudo: ./sphinx-min.conf: command not found

Any ideas?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

樱娆 2024-11-23 21:48:03

您似乎下载的是二进制版本,而不是源代码。您应该检查子目录 bin 中的二进制文件。

您还应该阅读文件INSTALL,该文件可能包含与您下载的发行版相关的安装说明。

It seems possible that you have downloaded a binary version, rather than the source code. You should check for binaries in the subdirectory bin.

You should also read the file INSTALL, which probably has installation instructions that go with the distribution you have downloaded.

诗笺 2024-11-23 21:48:03

您应该从 http://sphinxsearch.com/downloads/release/ 即使它有欺骗性的 linux-penguin 图标。解压压缩包后,您可以按照 http://pat.github.com/ 的安装步骤操作ts/en/installing_sphinx.html 说。

You should download Source tarball (tar.gz) from http://sphinxsearch.com/downloads/release/ even it has the deceptive linux-penguin icon. After decompression the tarball you can follow the installation steps as http://pat.github.com/ts/en/installing_sphinx.html says.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文