[tor-dev] ooniprobe depending on a badly written lib (Re: FTBFS for ooniprobe on Fedora 21)

Arturo Filastò art at torproject.org
Mon May 18 15:08:52 UTC 2015


On May 18, 2015 at 4:19:09 PM, Jacek Wielemborek (d33tah at gmail.com) wrote:

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. 


Hi Jacek,

From where did you get pypcap?

The version on pypi (installable with pip install pypap) should be my fork of it: https://github.com/hellais/pypcap that includes a workaround for that problem:

https://github.com/hellais/pypcap/blob/master/pcap_ex.c#L17

Try installing that version of it and if it fails please open a ticket on:

https://github.com/hellais/pypcap/issues

~ Arturo


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.torproject.org/pipermail/tor-dev/attachments/20150518/b451dfbc/attachment.html>


More information about the tor-dev mailing list