The most likely problem is that --with-pcap-lib and --with-pcap-include
aren't set correctly.  Look in config.log and find the pcap_open_live test -
see what the error messages are.

Thoughts...

1. do a locate or find and show where the files are (pcap.h and libpcap.so)

2. Set LDFLAGS/CPPFLAGS correctly to point at both the library -L and to
include it -l in the list

3. Set the --with-pcap-lib and --with-pcap-include

I *think* last time I had Solaris booted, I had to use something like this

./configure --prefix=/usr/local --with-pcap-root=/usr/local

(remember --with-pcap-root=xxxx -> --with-pcap-lib=xxxxx/lib
+ --with-pcap-include=xxxxx/include)

-----Burton



-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Chris
Josephes
Sent: Monday, July 14, 2003 10:11 AM
To: [EMAIL PROTECTED]
Subject: [Ntop] Configure failure, Solaris 8.


The configure process fails on Solaris 8, during the test for
pcap_open_live.  I'm using ntop 2.2, and libpcap build on 2003/07/07.

>From checking the archives I tried some different options to correct this.

1. GNU gcc and ld are being used.

2. LDFLAGS, CFLAGS, and CPPFLAGS were set.

3. The options --with-pcap-root (or --with-pcap-inlude and
--with-pcap-lib) were set.

None of them worked.

* ERROR: pcap header or library routines are missing
*           (yes means it was found, no means it was not found)
*
*              pcap.h...yes
*              pcap_open_live() in -lpcap...no
*

Any ideas?  configure didn't run an earlier test of pcap_open_live, but it
did test for pcap_open_dead.


--------------------
Christopher Josephes
[EMAIL PROTECTED]

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

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

Reply via email to