>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 10 Jun 2009 16:45:58 -0400
> From: inetjunkmail <inetjunkm...@gmail.com>
> To: ntop@unipi.it
> Subject: [Ntop] 3.3.10 make error on RHEL5.3
> Message-ID:
>        <24b0f8c40906101345k121b9a97tc5ff5786d4169...@mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> I'm getting an error that evdns.h (referenced in ntop.h) is not found.  I
> don't see that file in my ntop package.  Saw someone with a similar error
> but didn't understand fix.  Can anyone assist?
> ---------------------------------------------------
> cd . && /bin/sh ./missing --run echo
>
> rm -f stamp-h1
> touch config.h.in
> cd . && /bin/sh ./config.status config.h
> config.status: creating config.h
> config.status: config.h is unchanged
> make  all-recursive
> make[1]: Entering directory `/usr/src/ntop-3.3.10'
> Making all in .
> make[2]: Entering directory `/usr/src/ntop-3.3.10'
> if /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
> -I.
> -I. -I/usr/local/include -I/usr/src/ntop-3.3.10/lua-5.1.4/src  -D_REENTRANT
> -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement
> -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
> -I/usr/include/gdbm
> -I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE
> -I/usr/local/rrdtool-1.3.7//include  -DLINUX -I/usr/local/include
> -I/opt/local/include  -g -O2 -I/usr/local/include -I/opt/local/include
> -Wshadow -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations
> -Wnested-externs  -fPIC -DPIC -I/usr/src/ntop-3.3.10/GeoIP-1.4.6/libGeoIP/
> -MT address.lo -MD -MP -MF ".deps/address.Tpo" -c -o address.lo address.c;
> \
>        then mv -f ".deps/address.Tpo" ".deps/address.Plo"; else rm -f
> ".deps/address.Tpo"; exit 1; fi
> mkdir .libs
>  gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I/usr/local/include
> -I/usr/src/ntop-3.3.10/lua-5.1.4/src -D_REENTRANT -D_GNU_SOURCE
> -fno-strict-aliasing -pipe -Wdeclaration-after-statement
> -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
> -I/usr/include/gdbm -I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE
> -I/usr/local/rrdtool-1.3.7//include -DLINUX -I/usr/local/include
> -I/opt/local/include -g -O2 -I/usr/local/include -I/opt/local/include
> -Wshadow -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations
> -Wnested-externs -fPIC -DPIC -I/usr/src/ntop-3.3.10/GeoIP-1.4.6/libGeoIP/
> -MT address.lo -MD -MP -MF .deps/address.Tpo -c address.c  -fPIC -DPIC -o
> .libs/address.o
> In file included from address.c:21:
> ntop.h:417:19: error: evdns.h: No such file or directory
> address.c: In function 'dns_response_callback':
> address.c:123: error: 'DNS_ERR_NONE' undeclared (first use in this
> function)
> address.c:123: error: (Each undeclared identifier is reported only once
> address.c:123: error: for each function it appears in.)
> address.c:129: error: 'DNS_IPv6_AAAA' undeclared (first use in this
> function)
> address.c:142: warning: assignment discards qualifiers from pointer target
> type
> address.c:150: error: 'DNS_IPv4_A' undeclared (first use in this function)
> address.c:164: error: 'DNS_PTR' undeclared (first use in this function)
> address.c: In function 'queueAddress':
> address.c:243: warning: nested extern declaration of
> 'evdns_resolve_reverse'
> address.c:243: error: 'DNS_ERR_NONE' undeclared (first use in this
> function)
> address.c:249: warning: nested extern declaration of
> 'evdns_resolve_reverse_ipv6'
> make[2]: *** [address.lo] Error 1
> make[2]: Leaving directory `/usr/src/ntop-3.3.10'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/src/ntop-3.3.10'
> make: *** [all] Error 2
> ----------------------------------------------------------------------
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://listgateway.unipi.it/pipermail/ntop/attachments/20090610/9dbeb98e/attachment-0001.htm
> >
>
> ------------------------------
>
> Message: 2
> Date: Wed, 10 Jun 2009 22:33:26 +0100
> From: Graeme Fowler <gra...@graemef.net>
> To: ntop@unipi.it
> Subject: Re: [Ntop] 3.3.10 make error on RHEL5.3
> Message-ID: <1244669607.3793.4.ca...@ernie.internal.graemef.net>
> Content-Type: text/plain
>
> On Wed, 2009-06-10 at 16:45 -0400, inetjunkmail wrote:
> > I'm getting an error that evdns.h (referenced in ntop.h) is not found.
> > I don't see that file in my ntop package.  Saw someone with a similar
> > error but didn't understand fix.  Can anyone assist?
>
> sudo yum -y install libevent-devel
>
> That is all :)
>
>
>
> ------------------------------
>

It's already installed; see below.

[r...@ntop ntop-3.3.10]# yum list | grep libevent
libevent.i386                        1.1a-3.2.1             installed
libevent.x86_64                      1.1a-3.2.1             installed
libevent-devel.i386                  1.1a-3.2.1             installed
libevent-devel.x86_64                1.1a-3.2.1             installed
[r...@ntop ntop-3.3.10]# updatedb
[r...@ntop ntop-3.3.10]# locate evdns.h
[r...@ntop ntop-3.3.10]
_______________________________________________
Ntop mailing list
Ntop@unipi.it
http://listgateway.unipi.it/mailman/listinfo/ntop

Reply via email to