NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
Re: A tough critter: Net::Pcap on cygwin (Score:1)
Sorry to have broken Cygwin, but I'm not a Win32/Cygwin programmer and therefore rely on Jean-Louis Morel and generaly on user feedback. I may be the one to blame for this release because I didn't ask Jean-Louis to test it on Cygwin and ActivePerl as I didn't change Win32-related code, and therefore assumed it would work. Can you try version 0.09 or 0.08 and tell me if these work for you? Feel free to fill a bug report in Net::Pcap RT queue [cpan.org].
Note that the "elaborate detection routines" are unfortunately needed because the Pcap library didn't provide any version information before 0.8 or something. Part of this detection code comes from XML::LibXML Makefile.PL because it's the one everybody advice to use, and the other part is here to detect the functions actually available in the Pcap library of the host system. Why doing all this? Because the old BSD versions of the Pcap library (the one in FreeBSD and Darwin for example) lack many functions present in the newer versions. And of course, each new version provides new functions, but there are not the same under Unix and Win32, and vary from version to version. Oh, and the Unix version is underdocumented compared to the Win32 version. Hence all this probing stuff.
Close the world. txEn eht nepO
Reply to This