linux - 安装 tinyproxy 时测试 asciidoc 失败

标签 linux

我要安装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/

相关文章:

linux - 给定列表中最新编辑的文件 SHELL

javascript - X11 xorg Electron App 无法全屏打开

c - 通过内核函数获取linux文件系统信息

linux - 如何检测getty respawn?

linux - 基于简单 shell/bash 的 sftp 脚本将文件上传到目标服务器的根目录

linux - JVM cacerts 导入是否需要 tomcat 重启?

linux - 从/dev/kmsg 进行内核调试

linux - 在 UNIX 中删除 CSV 文件中字段之间的空格

arrays - Bash:将 ls 保存在一个数组中 -> 只接收小写字母

Mysql从管道导入