我想安装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如何处理这个问题?谢谢
发布于 2013-09-26 02:17:24
如果您的linux发行版中没有asciidoc,或者您不是root用户。您必须手动安装它。从http://www.methods.co.nz/asciidoc/下载asciidoc tarball并执行通常的操作:
configure --prefix=${HOME} && make && make install然后确保${HOME}路径在您的路径中,例如,通过运行/bin{PATH=$}:${HOME}/bin
tinyproxy的配置脚本将检查a2x是否在您的路径中的某个位置。如果它找不到它,你就不会编译它。
发布于 2017-06-30 22:09:54
如果您不关心tinyproxy的文档,只需从Makefile的SUBDIRS变量中删除docs子目录,然后删除make即可。
这将在调用make时跳过生成单据的目标,因此无需安装a2x。
发布于 2013-09-04 05:03:38
我正在运行ubuntu 13,所以apt-get install asciidoc为我工作,如果"yum install asciidoc“显示"No package asciidoc available”,你可能需要检查你的yum存储库。
同时,请查看asciidoc的官方网站(请务必查看前提条件) http://www.methods.co.nz/asciidoc/INSTALL.html
https://stackoverflow.com/questions/15701286
复制相似问题