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

I've had a look through the archives and the config.log and there's either
nothing relavent or which leads me to a solution for this. 

All paths seems to be going to /usr/local/lib or /usr/local/include and
everything's using the GNU tools.

The only thing that I did get suggested to check was this which I beleive
shows that the library supports the routine that it's failing on?:

-bash-2.05b$ /usr/local/bin/nm /usr/local/lib/libpcap.a | grep live
00000248 T pcap_open_live
-bash-2.05b$ /usr/ccs/bin/nm /usr/local/lib/libpcap.a | grep live
[42]    |       584|    2024|FUNC |GLOB |0    |1      |pcap_open_live

Any help or pointers what to check would be greatly appreciated as I'd like
to get this working as it looks a great product and I'm very limited on
platforms that I can put this on (plus this is my nagios box so it would be
handy!).

Regards

John Boocock


**********************************************************************************
This email and any files transmitted with it are confidential, and may be subject to 
legal privilege, and are intended solely for the use of the individual or entity to 
whom they are addressed.  
If you have received this email in error or think you may have done so, you may not 
peruse, use, disseminate, distribute or copy this message. Please notify the sender 
immediately and delete the original e-mail from your system.

Computer viruses can be transmitted by e-mail. Recipients should check this e-mail for 
the presence of viruses. The Capita Group and its subsidiaries accept no liability for 
any damage caused by any virus transmitted by this e-mail.
***********************************************************************************

Reply via email to