Look in config.log and see the actual error message.

Instead of ./configure LIBS, you may want to create a
configureextra/LINUXslackware9 file to provide a permanent solution for
everyone.

However, I just updated Owl to Slackware 9.1 from 9 and it works
perfectly... So I'm pretty sure it's something unique to your configuration.

./configure --prefix=/usr --sysconfdir=/usr/share --no-recursion --enable-i1
8n

$ locate pcap.h
/usr/include/pcap.h

$ locate libpcap
/usr/doc/libpcap-0.7.2
/usr/doc/libpcap-0.7.2/TODO
...
/usr/doc/libpcap-0.7.2/CREDITS
/usr/lib/libpcap.a


And in config.log:

configure:8233: checking for pcap
configure:8235: result:
configure:8307: checking pcap.h usability
configure:8320:
gcc -c -g -O2 -I/usr/local/include -Wshadow -Wpointer-arith -Wmissing-protot
ypes -Wmissing-decl
arations -Wnested-externs  -fPIC  -DLINUX -I/usr/local/include conftest.c
>&5
configure:8323: $? = 0
configure:8326: test -s conftest.o
configure:8329: $? = 0
configure:8339: result: yes
configure:8343: checking pcap.h presence
configure:8354: gcc -E  -DLINUX -I/usr/local/include conftest.c
configure:8360: $? = 0
configure:8379: result: yes
configure:8415: checking for pcap.h
configure:8422: result: yes
configure:8436: checking for pcap_open_live in -lpcap
configure:8467: gcc -o
conftest -g -O2 -I/usr/local/include -Wshadow -Wpointer-arith -Wmissing-prot
otypes -Wmis
sing-declarations -Wnested-externs  -fPIC  -DLINUX -I/usr/local/include  -L/
usr/local/lib conftest.c -lpcap   -
lpcap >&5
configure:8470: $? = 0
configure:8473: test -s conftest
configure:8476: $? = 0
configure:8488: result: yes
configure:8499: checking for pcap_open_dead in -lpcap
configure:8530: gcc -o
conftest -g -O2 -I/usr/local/include -Wshadow -Wpointer-arith -Wmissing-prot
otypes -Wmis
sing-declarations -Wnested-externs  -fPIC  -DLINUX -I/usr/local/include  -L/
usr/local/lib conftest.c -lpcap  -l
pcap  -lpcap >&5
configure:8533: $? = 0


-----Burton


> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Alex
> Francu
> Sent: Thursday, December 11, 2003 9:11 AM
> To: [EMAIL PROTECTED]
> Subject: [Ntop] Slackware 9.1 pcap_open_live()
>
>
>
>
>       I'm trying to configure ntop-2.2.95 on a Slackware 9.1 and get the
> following error :
>
> ##################################################################
> ##########
> #################
>       Critical library/include tests...
>
>       checking for pcap...
>       checking pcap.h usability... yes
>       checking pcap.h presence... yes
>       checking for pcap.h... yes
>       checking for pcap_open_live in -lpcap... no
>       checking for pcap_open_dead in -lpcap... no
>
>       *******************************************************************
>
>       * 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
>       *
>       *>>> No way to proceed.
>       *
>       *???     1. Install libpcap
>       *???    and Rerun ./configure
>       *???  or 2. Use the --with-pcap-root= option
>       *
>       *******************************************************************
>
>       configure: error: Unable to continue... aborting ./configure
> ##################################################################
> ##########
> ####################
>
>       I've read the post on installing ntop on Solaris and already tried :
>
>       ./configure LIBS='-lnsl -lsocket'
>
>       but I have the same error
>
>       Also i've tried with :
>
>       ./configure --with-pcap-lib=/usr/lib
> --with-pcap-include=/usr/include
>
>       No luck
>
>       I have tcpdump-3.7.2 with libpcap-0.7.2 ( original
> Slackware 9.1 distro )
> installed
>
>       Any ideas?
>
>       Thanks
>       Alex
>
>
> _______________________________________________
> 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