sphinx构建在CentOS上的位置 [英] Location of sphinx-build on CentOS

查看:176
本文介绍了sphinx构建在CentOS上的位置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个全新的CentOS 6框,并想安装sphinx,以便编译由readthedocs.org生成的文档,即rst文件。

I have a brand new CentOS 6 box and wanted to install sphinx, in order to compile documents as generated by readthedocs.org i.e. rst files.

ubuntu框运行

make html

并会调用

sphinx-build

命令并编译文档。

我下载了最新版本的sphinx,安装为:

I downloaded the latest version of sphinx and installed it as such:

sudo wget http://sphinxsearch.com/files/sphinx-2.1.9-1.rhel6.x86_64.rpm
sudo localinstall sphinx-2.1.9-1.rhel6.x86_64.rpm 

一切似乎都很好,但 sphinx-build 无处可找。

Everything seems to be fine but sphinx-build is nowhere to be found.

任何指针都超过

推荐答案

您正在混合两个不同的工具,名为Sphinx:全文搜索服务器( http://sphinxsearch.com/ )和documentaton生成器( http://sphinx-doc.org/ )。您需要后一个工具,以便使用 sphinx-build 编译文档。

You are mixing up two different tools named Sphinx: the full text search server (http://sphinxsearch.com/) and the documentaton generator (http://sphinx-doc.org/). You need the latter tool in order to compile documents usingsphinx-build.

这篇关于sphinx构建在CentOS上的位置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆