I want to install tinyproxy https://banu.com/tinyproxy/
when I cd
into the directory and run make
I get
checking for a2x... no
configure: error: Test for asciidoc failed. See the file 'INSTALL' for help.
then I want to install asciidoc I get
[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
how to deal with this? thanks
If asciidoc is not in your linux distribution or you are not root. you have to install it manually. download the asciidoc tarball from http://www.methods.co.nz/asciidoc/ and do the usual:
configure --prefix=${HOME} && make && make install
Then make sure that ${HOME}/bin is in your PATH, e.g. by running export PATH=${PATH}:${HOME}/bin
The configure script of tinyproxy will check if a2x is somewhere in your PATH. If it can't find it, you won't get it to compile.
If you don't care the docs of tinyproxy, just remove the docs
subdirectory from the SUBDIRS
variable in Makefile and then make
.
This will skip the doc generating target when calling make
, so there is no need to install a2x
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With