Mark,
I have just committed a new check into the ntop configure so that it can detect the presence of all the pcap_XXX functions. In particular your build fails because ntop needs pcap_findalldevs that's not present in your system. Please install by hand (RH 8 is probably unsupported) the latest libpcap from source (www.tcpdump.org) and try again.


Cheers, Luca

Mark Gibbons wrote:

Hi Luca

Thanks for the help.

What version does it have to be - the latest rpm I can find for redhat 8.0 is 
libpcap-0.6.2-17.8.0.2

Will this do?

Thanks

Mark

-----Original Message-----
From: Luca Deri [mailto:[EMAIL PROTECTED]
Sent: 15 November 2004 3:06 To: [EMAIL PROTECTED]
Subject: Re: [Ntop-dev] Make Fail (also)



-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1

Mark,
you need to install a newer libcap, then compile ntop.

Cheers, Luca

On 15 nov 2004, at 14:57, Mark Gibbons wrote:



Hello

I too have a make fail. Completely fresh pull from cvs "cvs checkout ntop" in ntop subsdir so full path is /ntop/ntop/

Redhat 8.0

Any help would be appreciated.

Mark


gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -Imyrrd -DLINUX -I/usr/local/include
-g -O2 -I/usr/local/include -Wshadow -Wpointer-arith
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fPIC -g
-O2 -I/usr/local/include -Wshadow -Wpointer-arith -Wmissing-prototypes
-Wmissing-declarations -Wnested-externs -fPIC -c iface.c -MT iface.lo
-MD -MP -MF .deps/iface.TPlo -fPIC -DPIC -o .libs/iface.lo
cc1: warning: changing search order for system directory
"/usr/local/include"
cc1: warning: as it has already been specified as a non-system
directory
mv -f .libs/iface.lo iface.o
(cd . && ln -s iface.o iface.lo)
source='initialize.c' object='initialize.lo' libtool=yes \
depfile='.deps/initialize.Plo' tmpdepfile='.deps/initialize.TPlo' \
depmode=gcc3 /bin/sh ./depcomp \
/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I.
-Imyrrd -DLINUX -I/usr/local/include -g -O2 -I/usr/local/include
-Wshadow -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations
-Wnested-externs -fPIC -g -O2 -I/usr/local/include -Wshadow
-Wpointer-arith -Wmissing-prototypes -Wmissing-declarations
-Wnested-externs
-fPIC -c -o initialize.lo `test -f 'initialize.c' || echo
'./'`initialize.c
rm -f .libs/initialize.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -Imyrrd -DLINUX -I/usr/local/include
-g -O2 -I/usr/local/include -Wshadow -Wpointer-arith
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fPIC -g
-O2 -I/usr/local/include -Wshadow -Wpointer-arith -Wmissing-prototypes
-Wmissing-declarations -Wnested-externs -fPIC -c initialize.c -MT
initialize.lo -MD -MP -MF .deps/initialize.TPlo -fPIC -DPIC -o
.libs/initialize.lo
cc1: warning: changing search order for system directory
"/usr/local/include"
cc1: warning: as it has already been specified as a non-system
directory
initialize.c: In function `initDevices':
initialize.c:1433: `pcap_if_t' undeclared (first use in this function)
initialize.c:1433: (Each undeclared identifier is reported only once
initialize.c:1433: for each function it appears in.)
initialize.c:1433: `devpointer' undeclared (first use in this function)
make[2]: *** [initialize.lo] Error 1
make[2]: Leaving directory `/ntop/ntop'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/ntop/ntop'
make: *** [all] Error 2
[EMAIL PROTECTED] ntop]#


_______________________________________________
Ntop-dev mailing list
[EMAIL PROTECTED]
http://listgateway.unipi.it/mailman/listinfo/ntop-dev




- ------- Luca Deri <[EMAIL PROTECTED]>, http://luca.ntop.org All programmers are optimists, Frederick P. Brooks, Jr. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin)

iD8DBQFBmMXVmMhDxnkh3zQRAnn0AJ4pOaYyIi5wmxw6okqAKBVgAFyuSwCggd9E
KcLDQPBS0h+jmt96UYZ4gNI=
=FDr2
-----END PGP SIGNATURE-----

_______________________________________________
Ntop-dev mailing list
[EMAIL PROTECTED]
http://listgateway.unipi.it/mailman/listinfo/ntop-dev




--
Luca Deri <[EMAIL PROTECTED]>     http://luca.ntop.org/
Hacker: someone who loves to program and enjoys being
clever about it - Richard Stallman

_______________________________________________
Ntop-dev mailing list
[EMAIL PROTECTED]
http://listgateway.unipi.it/mailman/listinfo/ntop-dev

Reply via email to