[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



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

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
tor-dev mailing list
tor-dev@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev