Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nginx开发从入门到精通¶ 缘起¶ #31

Closed
whatacold opened this issue Mar 4, 2013 · 3 comments
Closed

Nginx开发从入门到精通¶ 缘起¶ #31

whatacold opened this issue Mar 4, 2013 · 3 comments

Comments

@whatacold
Copy link

advice:
感谢提供这样一个开源教程,能否提供一个此书的编译说明?
reason:
我把源码clone到本地之后,但是编译不起来。
我安装了python-sphinx包,但是初次接触,报有以下错误,不知如何处理:
sphinx-build -b latex -d build/doctrees source build/latex
Making output directory...
Running Sphinx v0.6.6

Extension error:
Could not import extension number_ref (exception: No module named nodes)
make: *** [latexpdf] 错误 1

网上也没有找到相关资料,要是这里有个说明就太好了。
感谢。

@jinglong
Copy link
Member

jinglong commented Mar 4, 2013

你好,建议你安装python2.7及以上版本,Docutils 0.9及以上版本,sphinx 1.1.3及以上版本。
编译命令: make html 结果在build/html/目录

@jinglong jinglong closed this as completed Mar 8, 2013
@whatacold
Copy link
Author

请问你们都是使用哪个linux发行版进行编译?我这里使用fedora12, 16都没有编译成功 :(

@whatacold
Copy link
Author

fedora16下面已经可以了,使用pip-python install --upgrade sphinx更新了下sphinx就ok了。

原来是要使用pip来进行安装和更新的。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants