[check_postgres] Failing make test

Greg Sabino Mullane greg at endpoint.com
Wed May 26 20:34:20 UTC 2010


>    I’m struggling with getting the install of check_postgres.pl.
>    Seeing this in my make test command
>    Can't exec "pg_ctl": No such file or directory at t/CP_Testing.pm line

The tests are very comprehensive. The only way to really exercise 
check_postgres is with a live database, so the test suite tries to 
create one. If you don't have a standard Postgres install (initdb, 
pg_ctl, and psql), then the tests won't work. It's probably okay 
to just do a 'make install'. If check_postgres does not work on 
your system, you'll find out pretty quick.

Is this a Debian system by chance? Debian has a nasty habit of 
not putting a pg_ctl binary in a common path, but relying on 
their homegrown tools to do things. If that's the case, you might 
be able to "locate" pg_ctl and copy it to /usr/local/bin/ and 
have 'make test' work.

-- 
Greg Sabino Mullane greg at endpoint.com
End Point Corporation
PGP Key: 0x14964AC8
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 163 bytes
Desc: not available
Url : https://mail.endcrypt.com/pipermail/check_postgres/attachments/20100526/e4176c32/attachment.bin 


More information about the Check_postgres mailing list