W dniu 08.01.2015 o 12:11, Arturo Filastò pisze:
On 1/8/15 1:21 AM, Jacek Wielemborek wrote:
Hello,
Below is the log. Am I missing some package or something?
[ snip ]
pcap_ex.c:18:23: fatal error: pcap-int.h: No such file or directory
# include <pcap-int.h>
^
compilation terminated.
error: command 'gcc' failed with exit status 1
[ snip ]
[1:18:05][~]$ yum provides pcap-int.h Loaded plugins: auto-update-debuginfo, langpacks (cut) No matches found
From the looks of it you are missing the libpcap-dev package. I believe in fedora it is called libpcap-devel.
If you still encounter other issues you should reach us on the ooni-dev mailing list (ooni-dev@lists.torproject.org) or try asking around on IRC #ooni irc.oftc.net.
~ Arturo
tor-dev mailing list tor-dev@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev
I do have libpcap-devel installed, it's just this pcap-int.h header that is both missing and not to be found in any Fedora package:
$ rpm -qa | grep pcap-dev libpcap-devel-1.6.2-1.fc21.x86_64
Note the following tickets:
https://bugzilla.redhat.com/show_bug.cgi?id=449387 https://code.google.com/p/pypcap/issues/detail?id=45
It looks like this wasn't included on purpose - pypcap is using libpcap's private interface. Note that according to Google Code, this package had no releases or SVN updates since 2010.