digint / btrbk

Tool for creating snapshots and remote backups of btrfs subvolumes
https://digint.ch/btrbk/
GNU General Public License v3.0
1.6k stars 117 forks source link

asciidoctor not listed as a prerequisite #513

Closed Arthur-D closed 1 year ago

Arthur-D commented 1 year ago

Hi, I am on openSUSE Tumbleweed, and tried to install btrbk-0.32.5 with sudo make install as per the instructions. That failed with the end of the output here:

make[1]: Entering directory '/home/arthur/Programs/Btrbk/btrbk-0.32.5/doc' SOURCE_DATE_EPOCH=1666483200 asciidoctor -d manpage -b manpage -o btrbk.1 btrbk.1.asciidoc /bin/sh: line 1: asciidoctor: command not found make[1]: [Makefile:53: btrbk.1] Error 127 make[1]: Leaving directory '/home/arthur/Programs/Btrbk/btrbk-0.32.5/doc' make: [Makefile:106: man] Error 2

Searching for asciidoctor in the package manager, I found the package ruby3.1-rubygem-asciidoctor, and after installing that I could rerun sudo make install, this time with success. Should be an easy fix to list it as a prerequisite, however I don't know if it would be that specific name in all distributions or not.

digint commented 1 year ago

however I don't know if it would be that specific name in all distributions or not.

That's exactly the problem why it's not straight forward, every linux distro has slightly different names for that.

Arthur-D commented 1 year ago

Makes sense, but at least mentioning you need asciidoctor if you want a clean full installation with the documentation would probably be good. Thanks for all your hard work!

digint commented 1 year ago

mention asciidoctor in install docs: 1477fe5181b1eeed2a30a69fd3a1ffe1c1d16bd8