Re: [FC5] gcc help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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:
> 
> [[email protected] 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 

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux