[check_postgres] compile help on check_postgres

Greg Sabino Mullane greg at endpoint.com
Mon Feb 1 22:33:21 UTC 2010


On Mon, Feb 01, 2010 at 02:09:08PM -0800, Matt Hodson wrote:
>    thanks! FYI pg version 8.2.13. more inline...

>    i hardcoded it like so:
>    $PSQL = '/usr/local/geospiza/bin/psql';

Yeah, that's the general solution if it's not in your path. You could 
also set /usr/local/geospiza/bin to your PATH of course, or symlink 
psql to a more standard location (e.g. /usr/local/bin)

>          Warning: prerequisite Test::More 0.61 not found. We have 0.47.
>    cpan> install Test::More
>    cpan> install Time::HiRes
>    then re-ran 'make test' and got Perl-DBD-Pg errors (again, mine is a
>    non standard install path) so i did:
>    % sudo yum perl-DBD-Pg

I presume you meant yum install? :) Can you tell us what versions you have 
of DBD::Pg? Either:
yum info libdbi-dbd-pgsql
perl -MDBD::Pg -e 'print $DBD::Pg::VERSION'


-- 
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/20100201/0adf9686/attachment.bin 


More information about the Check_postgres mailing list