From: Kevin Z. <kev...@gm...> - 2017-02-20 17:03:16
|
Hi Doug, On 02/20/17 08:15, Doug Niven wrote: > Hi Folks, > > Thanks to another list member, I’ve successfully used the following > steps listed below to build a fresh copy of sshguard on MacOS Sierra > machines. > > However, I’m now getting the following error at the ‘sudo make’ step, > in both a VM with a fresh OS install as well as other up-to-date > Sierra machines: > > sed -e 's|@libexecdir[@]|/usr/local/libexec|g' -e > 's|@sysconfdir[@]|/usr/local/etc|g' -e > 's|@sshguardversion[@]|2.0.0|g' ./sshguard.in > sshguard make[1]: *** > No rule to make target `doc/sshguard-setup.7', needed by `all-am'. > Stop. make: *** [all-recursive] Error 1 > > I realize that SSHGuard 2 isn’t officially ready for prime time but > figured I’d ask if this is something that can be fixed. Thanks for pointing this out. As the INSTALL.rst notes, if you're building from the source repository (and not a source distribution tarball) you need to have py-docutils installed to build the man pages. There's some Automake logic that hides the man page build rules if rst2man is not available. We hid those so that end users without docutils should never run into a build error. The proper fix might be to unconditionally keep the rule in the Makefile, but rely on the fact that `make dist` will include the prebuilt man page with the correct timestamp. Best, Kevin -- Kevin Zheng kev...@gm... | ke...@be... | PGP: 0xC22E1090 |