Subject: | Newer releases of libpcap apparently not detected on i586 |
Using perl v5.14.2:
perl-Net-Pcap v0.16 for openSUSE's latest release 12.1 doesn't build on
i586 architecture.
The unpatched v0.16 release does build on older openSUSE releases.
This patch changes the libpcap detection logic and allows it to build
with openSUSE 12.1 (and hopefully newer):
==========================================
--- Makefile.PL.orig 2011-12-16 07:09:06.919216001 +0100
+++ Makefile.PL 2011-12-16 07:09:15.081216001 +0100
@@ -22,7 +22,6 @@
cygwin_pcap_headers();
}
else {
- $options{CCFLAGS} = '-Wall -Wwrite-strings' if $Config{ccname} eq
'gcc' and $] >= 5.006;
$options{LIBS} = '-lpcap';
}
===============================================
You can find the latest openSUSE package (and patches) at:
https://build.opensuse.org/package/show?package=perl-Net-Pcap&project=devel%3Alanguages%3Aperl