[blfs-dev] remove pcre from wireshark dependencies [Was: ... r12437 ]

Fernando de Oliveira famobr at yahoo.com.br
Tue Dec 24 03:45:30 PST 2013


Em 24-12-2013 07:09, Igor Živković escreveu:
> On 12/24/2013 09:52 AM, Pierre Labastie wrote:
>> Le 24/12/2013 03:29, Fernando de Oliveira a écrit :
>>> Em 23-12-2013 22:30, Igor Živković escreveu:

>>>> According to their subversion repository history, it seems that PCRE was
>>>> never used on Linux. It was used in Windows 32-bit build only:
>>>>
>>>> http://anonsvn.wireshark.org/viewvc?view=revision&revision=45035
>>>>
>>>> What is being used though is GRegex, see:
>>>> https://developer.gnome.org/glib/2.37/glib-Perl-compatible-regular-expressions.html
>>>>

>>> I am convinced by you, now. Thanks for your time to explain to me.
>>>
>> Does it mean that the wording should be:
>> 'Required : GLib (with PCRE extension, to build the tty-mode front-end only)'?
> 
> No, GLib requires PCRE. The only choice with GLib is whether bundled or 
> system-installed version will be used.

This is something important I did not know, thanks.

Before your post and due to Pierre's reply, I decided to do a last
investigation. Not sure if it concludes pcre should or not be
"Optional". All applications installed by wireshark-1.10.5 are linked to
pcre directly. No idea of what would happen if glib were installed with
bundled pcre:

{{{

{
for i in /usr/bin/capinfos /usr/bin/dftest /usr/bin/dumpcap
/usr/bin/editcap \
           /usr/bin/mergecap /usr/bin/randpkt /usr/bin/rawshark \
           /usr/bin/reordercap /usr/bin/text2pcap /usr/bin/tshark \
           /usr/bin/wireshark
do echo $i
ldd $i | grep -i pcre
done; unset i
} 2>&1 | tee
~/sshfs/blfs/wireshark-1.10.5-dependencey-on-pcre-2013.12.24.log

/usr/bin/capinfos
	libpcre.so.1 => /lib/libpcre.so.1 (0xb7295000)
/usr/bin/dftest
	libpcre.so.1 => /lib/libpcre.so.1 (0xb46b7000)
/usr/bin/dumpcap
	libpcre.so.1 => /lib/libpcre.so.1 (0xb73c0000)
/usr/bin/editcap
	libpcre.so.1 => /lib/libpcre.so.1 (0xb726b000)
/usr/bin/mergecap
	libpcre.so.1 => /lib/libpcre.so.1 (0xb7277000)
/usr/bin/randpkt
	libpcre.so.1 => /lib/libpcre.so.1 (0xb7255000)
/usr/bin/rawshark
	libpcre.so.1 => /lib/libpcre.so.1 (0xb45e0000)
/usr/bin/reordercap
	libpcre.so.1 => /lib/libpcre.so.1 (0xb72bf000)
/usr/bin/text2pcap
	libpcre.so.1 => /lib/libpcre.so.1 (0xb73cc000)
/usr/bin/tshark
	libpcre.so.1 => /lib/libpcre.so.1 (0xb4588000)
/usr/bin/wireshark
	libpcre.so.1 => /lib/libpcre.so.1 (0xb3e78000)

}}}


-- 
[]s,
Fernando



More information about the blfs-dev mailing list