Asciidoctor error on gmake wireshark_rpm : RHEL 8 install with ruby gems asciidoctor [closed]
I have successfully run cmake with several options, including moving it to /usr/bin and setting suid etc that are standard for a RHEL install of wireshark. I did change the docs dir as well:
cmake -LH -DMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_DOCDIR=/usr/share/doc/wireshark4.2.4 -DDUMPCAP_INSTALL_OPTION=suid -DUSE_qt6=OFF wireshark source dir
cmake indicates that asciidoctor is found:
-- Found Asciidoctor: /usr/bin/asciidoctor (found suitable version "2.0.22", minimum required is "1.5")
Two vars seems suspect, but I'm not sure they matter:
// Path to Asciidoctor EPUB3 or AsciidoctorJ
ASCIIDOCTOR_EPUB_EXECUTABLE:FILEPATH=ASCIIDOCTOR_EPUB_EXECUTABLE-NOTFOUND
// Path to Asciidoctor PDF or AsciidoctorJ
ASCIIDOCTOR_PDF_EXECUTABLE:FILEPATH=ASCIIDOCTOR_PDF_EXECUTABLE-NOTFOUND
I believe this is because I had to do a ruby gem install of asciidoctor.
This is RHEL 8, so it has asciidoc. There was a page that said this would not work, so I uninstalled asciidoc, and then did a gem install of asciidoctor.
Verified that asciidoctor works when running manually.
I get the following error when running "gmake wireshark_rpm"
gmake wireshark_rpm
path to tar file/wireshark-4.2.4.tar.xz commit ID matches c966d79150b69fb96946d18598a17bedc81f2104.
Built target dist
Built target copy-dist
Create a rpm from the current git commit.
error: Failed build dependencies:
/usr/bin/asciidoctor is needed by wireshark-4.2.4-1.el8.x86_64
gmake[3]: *** [CMakeFiles/wireshark_rpm.dir/build.make:71: CMakeFiles/wireshark_rpm] Error 1
gmake[2]: *** [CMakeFiles/Makefile2:3895: CMakeFiles/wireshark_rpm.dir/all] Error 2
gmake[1]: *** [CMakeFiles/Makefile2:3902: CMakeFiles/wireshark_rpm.dir/rule] Error 2
gmake: *** [Makefile:514: wireshark_rpm] Error 2
Please help. I've done lots of searching at this point, and I simply can't find a solution, except to use yum to install from a repository I do not have access to or use chocolaty, which I cannot do. Do I need to patch the rubygems version of asciidoctor?
edit: Thinking this may be an rpm issue.. still researching...