Alexander Dalloz wrote:
Am Fr, den 14.04.2006 schrieb M.Lewis um 23:17:
I'm trying to setup mrtg to monitor my postfix statistics using the
postfix-stats-get.c found on
http://www.packetmischief.ca/network/monitoring/postfix/
When I do 'gcc -DLINUX -ldb -o postfix-stats-get postfix-stats-get.c' I
get the following errors:
[root@moe bin]# gcc -DLINUX -ldb -o postfix-stats-get postfix-stats-get.c
postfix-stats-get.c:17:20: error: db_185.h: No such file or directory
postfix-stats-get.c: In function ‘main’:
It seems that I'm apparently missing at least the file db_185.h and
perhaps something else as well. Knowing less than nothing about C, what
do I need to do to resolve this?
Thanks for any tips / assistance!
M
yum install db4-devel
Alexander
Thanks again Alexander. You're a wealth of good information!
Thanks,
M
--
Long computations that yield zero are probably all for naught.
16:35:01 up 4 days, 1:38, 9 users, load average: 0.02, 0.13, 0.16
Linux Registered User #241685 http://counter.li.org