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

Jacek Wielemborek d33tah at gmail.com
Mon May 18 14:17:59 UTC 2015


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 at lists.torproject.org) or try asking around on IRC
> #ooni irc.oftc.net.
> 
> ~ Arturo
> 
> 
> _______________________________________________
> tor-dev mailing list
> tor-dev at 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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.torproject.org/pipermail/tor-dev/attachments/20150518/64c5d78f/attachment.sig>


More information about the tor-dev mailing list