Trying to install latest Monit - Failing to find client.h

Issue #345 resolved
justin hyland created an issue

I'm trying to install Monit v 5.15 or later, because I need to monitor an apache vhost with a self signed certificate. Yum only has the 5.14 rpm, so I'm trying to compile Monit from src.

So basically, I execute the following:

git clone https://bitbucket.org/tildeslash/monit.git
cd monit
yum -y install libtool bison flex
./bootstrap
./configure  --without-pam
 make

And eventually the make throws a fatal error:

src/monit.c:79:20: fatal error: client.h: No such file or directory
 #include "client.h"
                    ^
compilation terminated.
make[2]: *** [src/monit.o] Error 1
make[2]: Leaving directory `/root/monit'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/monit'
make: *** [all] Error 2

This is a fresh clone of the repo, so am I missing something?

Thanks

Comments (8)

  1. justin hyland reporter

    Where can I checkout the latest stable version of Monit? The main thing im looking for is the ability to accept self signed certs (for a dev environment).

    The repo only has the master branch, no previous versions or any other branches

  2. Log in to comment