Hi Samuel,
I followed your instructions, but nothing.
I built and install in directory /usr/src the:
patched libpcap + libnl + libdect
The headers + pcap.h of patched libpcap and of libnl are installed in
directory:
/usr/src and also /usr/local/include
I do:
cd /usr/src/wireshark-1.6.7
sudo ./autogen.sh
I tried all the following directory:
-sudo ./configure –with-pcap=/usr/local
-sudo ./configure –with-pcap=/usr/local/include
-sudo ./configure –with-pcap=/usr/local/include/pcap
-sudo ./configure –with-pcap=/usr/local/include/pcap/pcap.h
-sudo ./configure –with-pcap=/usr/local/lib
-sudo ./configure –with-pcap=/usr/src/libpcap
but nothing, I get always the following error:
........
checking for connect... yes
checking whether to use libpcap for packet capture... yes
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_live in -lpcap with -lcfg -lodm... no
checking for pcap_open_live in -lpcap with -lpfring... no
configure: error: Can't link with library libpcap.
If instead I run ONLY “./configure” is OK, but then if I run “sudo wireshark”
can not find the
interface dect.
There are only interfaces: "any" - "lo" - "usb0".
There is something that does not work (sorry for bad english).
Some ideas?
(Pci card installed)
With best regards,
Umberto
----Messaggio originale----
Da: chiccus2003(a)libero.it
Data: 08/05/2012 11.45
A: <samuel(a)sieb.net>et>, <linux-dect(a)lists.osmocom.org>
Ogg: R: Re: How to build Wireshark-1.6.7 against patched libpcap
Hi Samuel,
thank you for your help.
I will try to follow your information.
With best regards,
Umberto
>----Messaggio originale----
>Da: samuel(a)sieb.net
>Data: 06/05/2012 6.13
>A: <linux-dect(a)lists.osmocom.org>
>Ogg: Re: How to build Wireshark-1.6.7 against patched libpcap
>
>chiccus2003(a)libero.it wrote:
>>
>> The patched libpcap + libnl +libdect are built and installed in
directory:
>> umberto@umberto-desktop:/usr/src/tools
>>
>They're installed there, or they're installed in /usr/local? Make sure
you
know
exactly where the library and the headers were
installed.
I do:
cd wireshark-1.6.7$ sudo ./configure --with-pcap=/usr/local/lib
If you've installed them using the defaults, try --with-pcap=/usr/local
instead.