[FC5] gcc help

Alexander Dalloz ad+lists at uni-x.org
Fri Apr 14 21:34:56 UTC 2006


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 at 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


-- 
Alexander Dalloz | Enger, Germany | GPG http://pgp.mit.edu 0xB366A773
legal statement: http://www.uni-x.org/legal.html
Fedora Core 2 GNU/Linux on Athlon with kernel 2.6.11-1.35_FC2smp 
Serendipity 23:34:30 up 32 days, 22 users, load average: 0.25, 0.22,
0.19 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20060414/444e5501/attachment-0001.sig>


More information about the fedora-list mailing list