在 mac osx 上安装 sphinx 时出现问题 - 甚至无法执行 ./configure 命令
我尝试在 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您似乎下载的是二进制版本,而不是源代码。您应该检查子目录
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.您应该从 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.