On Thu, 2004-05-27 at 06:04, Boocock, John (CSS) wrote: > Hi there, I'm having problems compiling ntop-3.0 on Sparc Sun Solaris 2.7 > (e250 with gcc 2.95.2 / gnu binutils 2.14 / gnu make 3.78.1) and I can't for > the life of me get it working, plus I'm no developer so my knowledge of C is > poor so sorry about that... > > libpcap-0.8.1 which other apps seem to have been happy with (done with the > basic ./configure, make, etc.). but my config seems to fail on the > following: > > Critical library/include tests... > > checking for pcap... > checking pcap.h usability... yes > checking pcap.h presence... yes > checking for pcap.h... yes > checking net/bpf.h usability... no > checking net/bpf.h presence... no > checking for net/bpf.h... no > checking pcap-bpf.h usability... yes > checking pcap-bpf.h presence... yes > checking for pcap-bpf.h... yes > checking for pcap_open_live in -lpcap... no > checking for pcap_open_dead in -lpcap... no > checking for pcap_lib_version in -lpcap... no > checking for pcap_setnonblock in -lpcap... no > > ******************************************************************* > * > * ERROR: pcap header, bpf or library routines are missing > * (yes means it was found, no means it was not found) > * > * pcap.h...yes > * net/bpf.h...no > * pcap-bpf.h...yes > * pcap_open_live() in -lpcap...no > * > * (One of the bpf files is required, but either will do) > * > *>>> No way to proceed. > * > *??? 1. Install libpcap > *??? and Rerun ./configure > *??? or 2. Use the --with-pcap-root= option > * > *******************************************************************
This sounds like some missing compile flags. We never built a SOLARIS7 configureextra file so you should probably either 1) copy the file ./configureextra/SOLARIS8 to SOLARIS7 (and check with Burton about the file naming it something with version but I forget. 2) Just pull the flags out of the SOLARIS8 file and use them when you invoke ./configure -- Mike Tremaine [EMAIL PROTECTED] http://www.stellarcore.net _______________________________________________ Ntop mailing list [EMAIL PROTECTED] http://listgateway.unipi.it/mailman/listinfo/ntop
