From: Doug N. <dn...@uc...> - 2017-02-20 17:00:45
|
Ah, nevermind. I need to stick with the stable releases, and 1.7.1 seems to be building and working just fine. Cheers, Doug > On Feb 20, 2017, at 8:15 AM, Doug Niven <dn...@uc...> 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! > > Doug > > ______________ > > Steps: > > # To build: > sudo mkdir -p /usr/local/src/ > sudo mkdir -p /usr/local/etc/ > sudo chown admin /usr/local/src/ > cd /usr/local/src/ > git clone https://bitbucket.org/sshguard/sshguard.git /usr/local/src/ > sshguard > > cd /usr/local/src/ > sshguard > > sudo autoreconf -i > sudo ./configure --prefix=/usr/local > sudo make > sudo make install > > > > sudo cp /usr/local/src/sshguard/examples/sshguard.conf.sample /usr/local/etc/ > sudo cp /usr/local/src/sshguard/examples/whitelistfile.example /usr/local/etc/ > sudo mv /usr/local/etc/sshguard.conf.sample /usr/local/etc/sshguard.conf > > sudo mv /usr/local/etc/whitelistfile.example /usr/local/etc/whitelist > > sudo cp /usr/local/src/sshguard/examples/net.sshguard.plist /Library/LaunchDaemons/ > sudo touch /usr/local/etc/ > blacklist > > > sudo launchctl load -w /Library/LaunchDaemons/ > net.sshguard.plist > > > # To update in future: > cd /usr/local/src/ > sshguard > > git pull > > autoreconf > -i > make > clean > . > /configure --prefix=/usr/local > make > sudo make install |