我要安装tinyproxy https://banu.com/tinyproxy/
当我 cd
进入目录并运行 make
我明白了
checking for a2x... no
configure: error: Test for asciidoc failed. See the file 'INSTALL' for help.
然后我要安装asciidoc 我明白了
[root@dd tinyproxy-1.8.3]yum install asciidoc
Loaded plugins: auto-update-debuginfo, langpacks, presto, refresh-packagekit
Setting up Install Process
No package asciidoc available.
Error: Nothing to do
如何处理? 谢谢
最佳答案
如果 asciidoc 不在你的 linux 发行版中或者你不是 root。你必须手动安装它。从 http://www.methods.co.nz/asciidoc/ 下载 asciidoc tarball并照常做:
configure --prefix=${HOME} && make && make install
然后确保 ${HOME}/bin 在您的 PATH 中,例如通过运行 导出 PATH=${PATH}:${HOME}/bin
tinyproxy 的配置脚本将检查 a2x 是否在您的 PATH 中。如果找不到它,您将无法编译它。
关于linux - 安装 tinyproxy 时测试 asciidoc 失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15701286/